From c8d34dd81ef144bb15183c60929be216fd759e5e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Apr 2023 01:11:43 +0000 Subject: [PATCH 01/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.3 --- workflows_execution/README.md | 28 +++++++++---------- workflows_execution/RELEASES.md | 8 +++++- workflows_execution/USAGE.md | 26 ++++++++--------- workflows_execution/gen.yaml | 6 ++-- workflows_execution/pylintrc | 12 ++++---- workflows_execution/setup.py | 2 +- .../epilot/models/shared/dynamicduedate.py | 10 +++---- .../src/epilot/models/shared/itemtype_enum.py | 4 +-- .../models/shared/searchsorting_enum.py | 12 ++++---- .../epilot/models/shared/searchstepsreq.py | 6 ++-- .../epilot/models/shared/steprequirement.py | 2 +- .../epilot/models/shared/stepstatus_enum.py | 10 +++---- .../src/epilot/models/shared/steptype_enum.py | 4 +-- .../epilot/models/shared/triggertype_enum.py | 4 +-- .../models/shared/updateentityattributes.py | 6 ++-- .../models/shared/workflowstatus_enum.py | 6 ++-- workflows_execution/src/epilot/sdk.py | 8 ++---- workflows_execution/src/epilot/workflows.py | 1 - 18 files changed, 78 insertions(+), 77 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index f221fef36..0ae29ad03 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -23,29 +23,29 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - "deserunt", - "porro", - "nulla", + "provident", + "distinctio", + "quibusdam", ], contexts=[ shared.WorkflowContext( - id="vero", - schema="perspiciatis", - title="Internal Group Orchestrator", + id="nulla", + schema="corrupti", + title="Dr.", ), shared.WorkflowContext( - id="facilis", - schema="eum", - title="District Paradigm Agent", + id="vel", + schema="error", + title="Miss", ), shared.WorkflowContext( - id="inventore", - schema="sapiente", - title="Future Markets Architect", + id="suscipit", + schema="iure", + title="Mrs.", ), ], trigger="AUTOMATIC", - workflow_id="vel", + workflow_id="ipsa", ) res = s.workflows.create_execution(req) @@ -56,7 +56,7 @@ if res.workflow_execution is not None: -## SDK Available Operations +## Available Resources and Operations ### workflows diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 8aa3a6c72..ad038f0e5 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -34,4 +34,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy + +## 2023-04-01 01:11:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 9334d18ac..7c621b244 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -12,29 +12,29 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - "deserunt", - "porro", - "nulla", + "provident", + "distinctio", + "quibusdam", ], contexts=[ shared.WorkflowContext( - id="vero", - schema="perspiciatis", - title="Internal Group Orchestrator", + id="nulla", + schema="corrupti", + title="Dr.", ), shared.WorkflowContext( - id="facilis", - schema="eum", - title="District Paradigm Agent", + id="vel", + schema="error", + title="Miss", ), shared.WorkflowContext( - id="inventore", - schema="sapiente", - title="Future Markets Architect", + id="suscipit", + schema="iure", + title="Mrs.", ), ], trigger="AUTOMATIC", - workflow_id="vel", + workflow_id="ipsa", ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 9a0c61350..783e637a1 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.19.2 - generationVersion: 2.16.5 + speakeasyVersion: 1.19.3 + generationVersion: 2.16.7 generation: telemetryEnabled: false sdkClassName: epilot sdkFlattening: true singleTagPerOp: false python: - version: 1.2.2 + version: 1.2.3 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc index 79b8008d0..1a0ea35b7 100755 --- a/workflows_execution/pylintrc +++ b/workflows_execution/pylintrc @@ -124,12 +124,7 @@ attr-naming-style=snake_case #attr-rgx= # Bad variable names which should always be refused, separated by a comma. -bad-names=foo, - bar, - baz, - toto, - tutu, - tata +bad-names= # Bad variable names regexes, separated by a comma. If names match any regex, # they will always be refused @@ -439,7 +434,10 @@ disable=raw-checker-failed, trailing-newlines, too-many-public-methods, too-many-locals, - too-many-lines + too-many-lines, + using-constant-test, + too-many-statements, + cyclic-import, # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 363f28101..4a61b3154 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.2.2", + version="1.2.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py index 6ad90d1e2..aaf8ba2ee 100755 --- a/workflows_execution/src/epilot/models/shared/dynamicduedate.py +++ b/workflows_execution/src/epilot/models/shared/dynamicduedate.py @@ -8,13 +8,13 @@ from typing import Optional class DynamicDueDateActionTypeConditionEnum(str, Enum): - WORKFLOW_STARTED = "WORKFLOW_STARTED" - STEP_CLOSED = "STEP_CLOSED" + WORKFLOW_STARTED = 'WORKFLOW_STARTED' + STEP_CLOSED = 'STEP_CLOSED' class DynamicDueDateTimePeriodEnum(str, Enum): - DAYS = "days" - WEEKS = "weeks" - MONTHS = "months" + DAYS = 'days' + WEEKS = 'weeks' + MONTHS = 'months' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/workflows_execution/src/epilot/models/shared/itemtype_enum.py b/workflows_execution/src/epilot/models/shared/itemtype_enum.py index 0449374b7..e4f4e9f4b 100755 --- a/workflows_execution/src/epilot/models/shared/itemtype_enum.py +++ b/workflows_execution/src/epilot/models/shared/itemtype_enum.py @@ -4,5 +4,5 @@ from enum import Enum class ItemTypeEnum(str, Enum): - STEP = "STEP" - SECTION = "SECTION" + STEP = 'STEP' + SECTION = 'SECTION' diff --git a/workflows_execution/src/epilot/models/shared/searchsorting_enum.py b/workflows_execution/src/epilot/models/shared/searchsorting_enum.py index 449751c5e..645200cf2 100755 --- a/workflows_execution/src/epilot/models/shared/searchsorting_enum.py +++ b/workflows_execution/src/epilot/models/shared/searchsorting_enum.py @@ -4,9 +4,9 @@ from enum import Enum class SearchSortingEnum(str, Enum): - A_Z = "A_Z" - Z_A = "Z_A" - DUE_DATE_ASC = "DUE_DATE_ASC" - DUE_DATE_DESC = "DUE_DATE_DESC" - TRIGGER_DATE_ASC = "TRIGGER_DATE_ASC" - TRIGGER_DATE_DESC = "TRIGGER_DATE_DESC" + A_Z = 'A_Z' + Z_A = 'Z_A' + DUE_DATE_ASC = 'DUE_DATE_ASC' + DUE_DATE_DESC = 'DUE_DATE_DESC' + TRIGGER_DATE_ASC = 'TRIGGER_DATE_ASC' + TRIGGER_DATE_DESC = 'TRIGGER_DATE_DESC' diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index cc9ba11cf..913769bde 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -10,9 +10,9 @@ from typing import Optional class SearchStepsReqStatusEnum(str, Enum): - OPEN = "OPEN" - COMPLETE = "COMPLETE" - NEXT_OPEN_ITEM_IN_WORKFLOW = "NEXT_OPEN_ITEM_IN_WORKFLOW" + OPEN = 'OPEN' + COMPLETE = 'COMPLETE' + NEXT_OPEN_ITEM_IN_WORKFLOW = 'NEXT_OPEN_ITEM_IN_WORKFLOW' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index 38b4a6cf4..9d3dac9a4 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -8,7 +8,7 @@ from epilot import utils class StepRequirementConditionEnum(str, Enum): - CLOSED = "CLOSED" + CLOSED = 'CLOSED' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/workflows_execution/src/epilot/models/shared/stepstatus_enum.py b/workflows_execution/src/epilot/models/shared/stepstatus_enum.py index cfeb770b7..2c81021d9 100755 --- a/workflows_execution/src/epilot/models/shared/stepstatus_enum.py +++ b/workflows_execution/src/epilot/models/shared/stepstatus_enum.py @@ -4,8 +4,8 @@ from enum import Enum class StepStatusEnum(str, Enum): - UNASSIGNED = "UNASSIGNED" - ASSIGNED = "ASSIGNED" - COMPLETED = "COMPLETED" - SKIPPED = "SKIPPED" - IN_PROGRESS = "IN_PROGRESS" + UNASSIGNED = 'UNASSIGNED' + ASSIGNED = 'ASSIGNED' + COMPLETED = 'COMPLETED' + SKIPPED = 'SKIPPED' + IN_PROGRESS = 'IN_PROGRESS' diff --git a/workflows_execution/src/epilot/models/shared/steptype_enum.py b/workflows_execution/src/epilot/models/shared/steptype_enum.py index bd26773ba..79c54fe8e 100755 --- a/workflows_execution/src/epilot/models/shared/steptype_enum.py +++ b/workflows_execution/src/epilot/models/shared/steptype_enum.py @@ -4,5 +4,5 @@ from enum import Enum class StepTypeEnum(str, Enum): - MANUAL = "MANUAL" - AUTOMATION = "AUTOMATION" + MANUAL = 'MANUAL' + AUTOMATION = 'AUTOMATION' diff --git a/workflows_execution/src/epilot/models/shared/triggertype_enum.py b/workflows_execution/src/epilot/models/shared/triggertype_enum.py index 63012ad59..c2ada0920 100755 --- a/workflows_execution/src/epilot/models/shared/triggertype_enum.py +++ b/workflows_execution/src/epilot/models/shared/triggertype_enum.py @@ -4,5 +4,5 @@ from enum import Enum class TriggerTypeEnum(str, Enum): - MANUAL = "MANUAL" - AUTOMATIC = "AUTOMATIC" + MANUAL = 'MANUAL' + AUTOMATIC = 'AUTOMATIC' diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py index 663f84202..c48a8e248 100755 --- a/workflows_execution/src/epilot/models/shared/updateentityattributes.py +++ b/workflows_execution/src/epilot/models/shared/updateentityattributes.py @@ -7,9 +7,9 @@ from epilot import utils class UpdateEntityAttributesSourceEnum(str, Enum): - WORKFLOW_STATUS = "workflow_status" - CURRENT_SECTION = "current_section" - CURRENT_STEP = "current_step" + WORKFLOW_STATUS = 'workflow_status' + CURRENT_SECTION = 'current_section' + CURRENT_STEP = 'current_step' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/workflows_execution/src/epilot/models/shared/workflowstatus_enum.py b/workflows_execution/src/epilot/models/shared/workflowstatus_enum.py index a25bec637..71cb8c85a 100755 --- a/workflows_execution/src/epilot/models/shared/workflowstatus_enum.py +++ b/workflows_execution/src/epilot/models/shared/workflowstatus_enum.py @@ -4,6 +4,6 @@ from enum import Enum class WorkflowStatusEnum(str, Enum): - STARTED = "STARTED" - DONE = "DONE" - CLOSED = "CLOSED" + STARTED = 'STARTED' + DONE = 'DONE' + CLOSED = 'CLOSED' diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index c50ace839..67596d3d4 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -11,9 +11,7 @@ """Contains the list of servers available to the SDK""" class Epilot: - r"""Service for Workflow Executions which covers executions of processes defined in an Organization - - """ + r"""Service for Workflow Executions which covers executions of processes defined in an Organization""" workflows: Workflows r"""Interact with workflow executions - start / close / retrieve one or all / search / delete""" @@ -21,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.2.2" - _gen_version: str = "2.16.5" + _sdk_version: str = "1.2.3" + _gen_version: str = "2.16.7" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index a8b011b60..7c18c1314 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -143,7 +143,6 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu Shows all Closing Reasons defined at the moment of starting the Workflow Execution. The Closing Reasons shown in the execution are just snapshots from the state of the Definition when the instance was created. - """ base_url = self._server_url From 64be934af6e8ad19499b5023ecfbc0b3d04add39 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Apr 2023 01:06:39 +0000 Subject: [PATCH 02/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.6 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index ad038f0e5..4844a43f4 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -40,4 +40,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy + +## 2023-04-06 01:06:25 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 783e637a1..906b84a87 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.19.3 - generationVersion: 2.16.7 + speakeasyVersion: 1.19.6 + generationVersion: 2.17.8 generation: telemetryEnabled: false sdkClassName: epilot sdkFlattening: true singleTagPerOp: false python: - version: 1.2.3 + version: 1.3.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 4a61b3154..01027ffd5 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.2.3", + version="1.3.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 67596d3d4..0858322a0 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.2.3" - _gen_version: str = "2.16.7" + _sdk_version: str = "1.3.0" + _gen_version: str = "2.17.8" def __init__(self, security: shared.Security = None, From 632eae4f7c72fa991e0fb590c6a726488c7c33c7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Apr 2023 01:08:27 +0000 Subject: [PATCH 03/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.7 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 4844a43f4..e70a8ac57 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -46,4 +46,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy + +## 2023-04-12 01:08:16 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 906b84a87..ca0e8febd 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.19.6 - generationVersion: 2.17.8 + speakeasyVersion: 1.19.7 + generationVersion: 2.17.9 generation: telemetryEnabled: false sdkClassName: epilot - sdkFlattening: true + sdkFlattening: false singleTagPerOp: false python: - version: 1.3.0 + version: 1.3.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 01027ffd5..3754afbef 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.3.0", + version="1.3.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 0858322a0..0e936e6d3 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.3.0" - _gen_version: str = "2.17.8" + _sdk_version: str = "1.3.1" + _gen_version: str = "2.17.9" def __init__(self, security: shared.Security = None, From e1a4a40002dee2dae56fa71ccbc5ebf0f521e90e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Apr 2023 01:09:27 +0000 Subject: [PATCH 04/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.0 --- workflows_execution/README.md | 16 +-- workflows_execution/RELEASES.md | 8 +- workflows_execution/USAGE.md | 16 +-- workflows_execution/gen.yaml | 6 +- workflows_execution/pylintrc | 1 + workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 +- workflows_execution/src/epilot/utils/utils.py | 127 ++++++++++-------- 8 files changed, 100 insertions(+), 80 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 0ae29ad03..b8a19a945 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -29,23 +29,23 @@ req = shared.WorkflowExecutionCreateReq( ], contexts=[ shared.WorkflowContext( - id="nulla", - schema="corrupti", - title="Dr.", + id="d8d69a67-4e0f-4467-8c87-96ed151a05df", + schema="quo", + title="Mr.", ), shared.WorkflowContext( - id="vel", - schema="error", + id="ddf7cc78-ca1b-4a92-8fc8-16742cb73920", + schema="ad", title="Miss", ), shared.WorkflowContext( - id="suscipit", + id="29396fea-7596-4eb1-8faa-a2352c595590", schema="iure", - title="Mrs.", + title="Miss", ), ], trigger="AUTOMATIC", - workflow_id="ipsa", + workflow_id="sapiente", ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index e70a8ac57..87f80d308 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -52,4 +52,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy + +## 2023-04-14 01:09:15 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 7c621b244..83d228ff9 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -18,23 +18,23 @@ req = shared.WorkflowExecutionCreateReq( ], contexts=[ shared.WorkflowContext( - id="nulla", - schema="corrupti", - title="Dr.", + id="d8d69a67-4e0f-4467-8c87-96ed151a05df", + schema="quo", + title="Mr.", ), shared.WorkflowContext( - id="vel", - schema="error", + id="ddf7cc78-ca1b-4a92-8fc8-16742cb73920", + schema="ad", title="Miss", ), shared.WorkflowContext( - id="suscipit", + id="29396fea-7596-4eb1-8faa-a2352c595590", schema="iure", - title="Mrs.", + title="Miss", ), ], trigger="AUTOMATIC", - workflow_id="ipsa", + workflow_id="sapiente", ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index ca0e8febd..7dee1388e 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.19.7 - generationVersion: 2.17.9 + speakeasyVersion: 1.20.0 + generationVersion: 2.18.0 generation: telemetryEnabled: false sdkClassName: epilot sdkFlattening: false singleTagPerOp: false python: - version: 1.3.1 + version: 1.4.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc index 1a0ea35b7..1ce47d88d 100755 --- a/workflows_execution/pylintrc +++ b/workflows_execution/pylintrc @@ -438,6 +438,7 @@ disable=raw-checker-failed, using-constant-test, too-many-statements, cyclic-import, + too-many-nested-blocks # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 3754afbef..66efda73a 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.3.1", + version="1.4.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 0e936e6d3..03834b2a5 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.3.1" - _gen_version: str = "2.17.9" + _sdk_version: str = "1.4.0" + _gen_version: str = "2.18.0" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 9d4fba324..986a86937 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -152,62 +152,71 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass if param_metadata is None: continue - if param_metadata.get('style', 'simple') == 'simple': - param = getattr( - path_params, field.name) if path_params is not None else None - param = _populate_from_globals( - field.name, param, 'pathParam', gbls) + param = getattr( + path_params, field.name) if path_params is not None else None + param = _populate_from_globals( + field.name, param, 'pathParam', gbls) - if param is None: - continue - - if isinstance(param, list): - pp_vals: list[str] = [] - for pp_val in param: - if pp_val is None: - continue - pp_vals.append(_val_to_string(pp_val)) - path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif isinstance(param, dict): - pp_vals: list[str] = [] - for pp_key in param: - if param[pp_key] is None: - continue - if param_metadata.get('explode'): - pp_vals.append( - f"{pp_key}={_val_to_string(param[pp_key])}") - else: - pp_vals.append( - f"{pp_key},{_val_to_string(param[pp_key])}") - path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif not isinstance(param, (str, int, float, complex, bool)): - pp_vals: list[str] = [] - param_fields: Tuple[Field, ...] = fields(param) - for param_field in param_fields: - param_value_metadata = param_field.metadata.get( - 'path_param') - if not param_value_metadata: - continue - - parm_name = param_value_metadata.get( - 'field_name', field.name) + if param is None: + continue - param_field_val = getattr(param, param_field.name) - if param_field_val is None: - continue - if param_metadata.get('explode'): - pp_vals.append( - f"{parm_name}={_val_to_string(param_field_val)}") - else: - pp_vals.append( - f"{parm_name},{_val_to_string(param_field_val)}") - path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - else: + f_name = param_metadata.get("field_name", field.name) + serialization = param_metadata.get('serialization', '') + if serialization != '': + serialized_params = _get_serialized_params( + param_metadata, f_name, param) + for key, value in serialized_params.items(): path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) + '{' + key + '}', value, 1) + else: + if param_metadata.get('style', 'simple') == 'simple': + if isinstance(param, list): + pp_vals: list[str] = [] + for pp_val in param: + if pp_val is None: + continue + pp_vals.append(_val_to_string(pp_val)) + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) + elif isinstance(param, dict): + pp_vals: list[str] = [] + for pp_key in param: + if param[pp_key] is None: + continue + if param_metadata.get('explode'): + pp_vals.append( + f"{pp_key}={_val_to_string(param[pp_key])}") + else: + pp_vals.append( + f"{pp_key},{_val_to_string(param[pp_key])}") + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) + elif not isinstance(param, (str, int, float, complex, bool)): + pp_vals: list[str] = [] + param_fields: Tuple[Field, ...] = fields(param) + for param_field in param_fields: + param_value_metadata = param_field.metadata.get( + 'path_param') + if not param_value_metadata: + continue + + parm_name = param_value_metadata.get( + 'field_name', field.name) + + param_field_val = getattr(param, param_field.name) + if param_field_val is None: + continue + if param_metadata.get('explode'): + pp_vals.append( + f"{parm_name}={_val_to_string(param_field_val)}") + else: + pp_vals.append( + f"{parm_name},{_val_to_string(param_field_val)}") + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) + else: + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) return server_url.removesuffix("/") + path @@ -246,8 +255,12 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ f_name = metadata.get("field_name") serialization = metadata.get('serialization', '') if serialization != '': - params = params | _get_serialized_query_params( - metadata, f_name, value) + serialized_parms = _get_serialized_params(metadata, f_name, value) + for key, value in serialized_parms.items(): + if key in params: + params[key].extend(value) + else: + params[key] = [value] else: style = metadata.get('style', 'form') if style == 'deepObject': @@ -282,8 +295,8 @@ def get_headers(headers_params: dataclass) -> dict[str, str]: return headers -def _get_serialized_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - params: dict[str, list[str]] = {} +def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[str, str]: + params: dict[str, str] = {} serialization = metadata.get('serialization', '') if serialization == 'json': From 44f75659d643a95104eb90cdd7087fdf610dfb17 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Apr 2023 01:08:40 +0000 Subject: [PATCH 05/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 7 +++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 87f80d308..3ff794df5 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -58,4 +58,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy + +## 2023-04-18 01:08:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 7dee1388e..45efcf76f 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,15 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.20.0 - generationVersion: 2.18.0 + speakeasyVersion: 1.20.1 + generationVersion: 2.18.1 generation: telemetryEnabled: false sdkClassName: epilot - sdkFlattening: false singleTagPerOp: false python: - version: 1.4.0 + version: 1.4.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 66efda73a..30ebd90f4 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.4.0", + version="1.4.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 03834b2a5..0d8ed7979 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.4.0" - _gen_version: str = "2.18.0" + _sdk_version: str = "1.4.1" + _gen_version: str = "2.18.1" def __init__(self, security: shared.Security = None, From 10ec6e18304b0e5cf52f84ddff173dfe727022b7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Apr 2023 01:11:02 +0000 Subject: [PATCH 06/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 3ff794df5..9b3299570 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -64,4 +64,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-19 01:10:51 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 45efcf76f..7e533d067 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.20.1 - generationVersion: 2.18.1 + speakeasyVersion: 1.20.2 + generationVersion: 2.18.2 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.4.1 + version: 1.4.2 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 30ebd90f4..d3aaafefd 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.4.1", + version="1.4.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 0d8ed7979..0c233004a 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.4.1" - _gen_version: str = "2.18.1" + _sdk_version: str = "1.4.2" + _gen_version: str = "2.18.2" def __init__(self, security: shared.Security = None, From 86c00ef12839b895fea16759fde145138be1e5a0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 21 Apr 2023 01:08:16 +0000 Subject: [PATCH 07/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.21.4 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 9b3299570..88c29b162 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -70,4 +70,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy + +## 2023-04-21 01:08:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 7e533d067..0df1310d4 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.20.2 - generationVersion: 2.18.2 + speakeasyVersion: 1.21.4 + generationVersion: 2.19.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.4.2 + version: 1.5.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index d3aaafefd..dcc7a06f8 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.4.2", + version="1.5.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 0c233004a..fd6a9523a 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.4.2" - _gen_version: str = "2.18.2" + _sdk_version: str = "1.5.0" + _gen_version: str = "2.19.1" def __init__(self, security: shared.Security = None, From 49daca75a599f698771d44fa9db3b6be3b6816ce Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Apr 2023 01:09:59 +0000 Subject: [PATCH 08/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.22.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 88c29b162..0cfe5e07b 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -76,4 +76,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-22 01:09:46 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 0df1310d4..4e64ca3cb 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.21.4 - generationVersion: 2.19.1 + speakeasyVersion: 1.22.1 + generationVersion: 2.20.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.5.0 + version: 1.6.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index dcc7a06f8..9e751d101 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.5.0", + version="1.6.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index fd6a9523a..588817882 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.5.0" - _gen_version: str = "2.19.1" + _sdk_version: str = "1.6.0" + _gen_version: str = "2.20.1" def __init__(self, security: shared.Security = None, From 6ecf8ed0ac4f0a9a83294d700c70f13945e90e02 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Apr 2023 01:10:10 +0000 Subject: [PATCH 09/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.23.1 --- workflows_execution/README.md | 28 +- workflows_execution/RELEASES.md | 8 +- workflows_execution/USAGE.md | 4 +- workflows_execution/docs/epilot/README.md | 9 + workflows_execution/docs/workflows/README.md | 438 +++++++++++++++++++ workflows_execution/files.gen | 2 + workflows_execution/gen.yaml | 6 +- workflows_execution/setup.py | 4 +- workflows_execution/src/epilot/sdk.py | 4 +- 9 files changed, 479 insertions(+), 24 deletions(-) create mode 100755 workflows_execution/docs/epilot/README.md create mode 100755 workflows_execution/docs/workflows/README.md diff --git a/workflows_execution/README.md b/workflows_execution/README.md index b8a19a945..7e7f6c91d 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -12,7 +12,7 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=workfl ```python import epilot -from epilot.models import operations, shared +from epilot.models import shared s = epilot.Epilot( security=shared.Security( @@ -47,7 +47,7 @@ req = shared.WorkflowExecutionCreateReq( trigger="AUTOMATIC", workflow_id="sapiente", ) - + res = s.workflows.create_execution(req) if res.workflow_execution is not None: @@ -59,19 +59,19 @@ if res.workflow_execution is not None: ## Available Resources and Operations -### workflows +### [workflows](docs/workflows/README.md) -* `create_execution` - createExecution -* `create_step` - createStep -* `delete_execution` - deleteExecution -* `delete_step` - deleteStep -* `get_closing_reason_execution` - getClosingReasonExecution -* `get_execution` - getExecution -* `get_executions` - getExecutions -* `search_executions` - searchExecutions -* `search_steps` - searchSteps -* `update_execution` - updateExecution -* `update_step` - updateStep +* [create_execution](docs/workflows/README.md#create_execution) - createExecution +* [create_step](docs/workflows/README.md#create_step) - createStep +* [delete_execution](docs/workflows/README.md#delete_execution) - deleteExecution +* [delete_step](docs/workflows/README.md#delete_step) - deleteStep +* [get_closing_reason_execution](docs/workflows/README.md#get_closing_reason_execution) - getClosingReasonExecution +* [get_execution](docs/workflows/README.md#get_execution) - getExecution +* [get_executions](docs/workflows/README.md#get_executions) - getExecutions +* [search_executions](docs/workflows/README.md#search_executions) - searchExecutions +* [search_steps](docs/workflows/README.md#search_steps) - searchSteps +* [update_execution](docs/workflows/README.md#update_execution) - updateExecution +* [update_step](docs/workflows/README.md#update_step) - updateStep ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 0cfe5e07b..e3d13c19e 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -82,4 +82,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-26 01:09:55 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 83d228ff9..01636e6fc 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -1,7 +1,7 @@ ```python import epilot -from epilot.models import operations, shared +from epilot.models import shared s = epilot.Epilot( security=shared.Security( @@ -36,7 +36,7 @@ req = shared.WorkflowExecutionCreateReq( trigger="AUTOMATIC", workflow_id="sapiente", ) - + res = s.workflows.create_execution(req) if res.workflow_execution is not None: diff --git a/workflows_execution/docs/epilot/README.md b/workflows_execution/docs/epilot/README.md new file mode 100755 index 000000000..6f3408074 --- /dev/null +++ b/workflows_execution/docs/epilot/README.md @@ -0,0 +1,9 @@ +# Epilot SDK + +## Overview + +Service for Workflow Executions which covers executions of processes defined in an Organization + + +### Available Operations + diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md new file mode 100755 index 000000000..da4c03d26 --- /dev/null +++ b/workflows_execution/docs/workflows/README.md @@ -0,0 +1,438 @@ +# workflows + +## Overview + +Interact with workflow executions - start / close / retrieve one or all / search / delete + +### Available Operations + +* [create_execution](#create_execution) - createExecution +* [create_step](#create_step) - createStep +* [delete_execution](#delete_execution) - deleteExecution +* [delete_step](#delete_step) - deleteStep +* [get_closing_reason_execution](#get_closing_reason_execution) - getClosingReasonExecution +* [get_execution](#get_execution) - getExecution +* [get_executions](#get_executions) - getExecutions +* [search_executions](#search_executions) - searchExecutions +* [search_steps](#search_steps) - searchSteps +* [update_execution](#update_execution) - updateExecution +* [update_step](#update_step) - updateStep + +## create_execution + +Create a Workflow Execution. Start a new workflow execution, based on a workflow definition (template). + +### Example Usage + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = shared.WorkflowExecutionCreateReq( + assigned_to=[ + "mollitia", + ], + contexts=[ + shared.WorkflowContext( + id="a2fa9467-7392-451a-a52c-3f5ad019da1f", + schema="voluptatibus", + title="Dr.", + ), + ], + trigger="MANUAL", + workflow_id="praesentium", +) + +res = s.workflows.create_execution(req) + +if res.workflow_execution is not None: + # handle response +``` + +## create_step + +Create a new step in current workflow execution. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.CreateStepRequest( + create_step_req=shared.CreateStepReq( + automation_config=shared.AutomationConfig( + execution_id="voluptatibus", + execution_status="ipsa", + flow_id="omnis", + ), + execution_type="MANUAL", + insertion_index=7392.64, + name="Sharon Kiehn", + section_id="dicta", + status="ASSIGNED", + ), + execution_id="dolore", +) + +res = s.workflows.create_step(req) + +if res.step is not None: + # handle response +``` + +## delete_execution + +Delete workflow execution by id. Workflow contexts will NOT be deleted. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.DeleteExecutionRequest( + execution_id="iusto", +) + +res = s.workflows.delete_execution(req) + +if res.status_code == 200: + # handle response +``` + +## delete_step + +Deletes a step from a workflow execution. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.DeleteStepRequest( + execution_id="dicta", + step_id="harum", +) + +res = s.workflows.delete_step(req) + +if res.status_code == 200: + # handle response +``` + +## get_closing_reason_execution + +Shows all Closing Reasons defined at the moment of starting the Workflow Execution. +The Closing Reasons shown in the execution are just snapshots +from the state of the Definition when the instance was created. + + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.GetClosingReasonExecutionRequest( + execution_id="enim", +) + +res = s.workflows.get_closing_reason_execution(req) + +if res.closing_reason_resp is not None: + # handle response +``` + +## get_execution + +Get a full workflow execution, included steps information, by execution id. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.GetExecutionRequest( + execution_id="accusamus", +) + +res = s.workflows.get_execution(req) + +if res.workflow_execution is not None: + # handle response +``` + +## get_executions + +Retrieve Workflow Executions. Optionally, you can filter them by context & schema. Please be aware, these executions are more light weight - steps are not loaded with all information. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.GetExecutionsRequest( + context="commodi", + schema="repudiandae", +) + +res = s.workflows.get_executions(req) + +if res.workflow_execution_slims is not None: + # handle response +``` + +## search_executions + +Search Workflow Executions by different filters. + +### Example Usage + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = shared.SearchExecutionsReq( + assigned_to="quae", + include_done_workflows=False, + name="Alison Mann", + pagination=shared.ExecutionPaginationDynamo( + creation_time="modi", + org_id="praesentium", + ), + sorting="DUE_DATE_DESC", + status="CLOSED", +) + +res = s.workflows.search_executions(req) + +if res.search_executions_resp is not None: + # handle response +``` + +## search_steps + +Search workflow execution steps by different filters. + +### Example Usage + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = shared.SearchStepsReq( + assigned_to=939.4, + execution_name="repudiandae", + include_done_workflows=False, + manually_created=False, + pagination=shared.SearchPagination( + from_=5759.47, + size=831.12, + ), + sorting="TRIGGER_DATE_DESC", + status="OPEN", + step_name="enim", +) + +res = s.workflows.search_steps(req) + +if res.search_steps_resp is not None: + # handle response +``` + +## update_execution + +Patches updates like assignees, status, closingReason for a single Workflow Execution. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.UpdateExecutionRequest( + workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( + assigned_to=[ + "est", + ], + closed_by="quibusdam", + closing_reason_description="explicabo", + contexts=[ + shared.WorkflowContext( + id="bd442698-02d5-402a-94bb-4f63c969e9a3", + schema="debitis", + title="Dr.", + ), + shared.WorkflowContext( + id="a77dfb14-cd66-4ae3-95ef-b9ba88f3a669", + schema="omnis", + title="Ms.", + ), + shared.WorkflowContext( + id="074ba446-9b6e-4214-9959-890afa563e25", + schema="quasi", + title="Ms.", + ), + ], + due_date="doloribus", + dynamic_due_date=shared.DynamicDueDate( + action_type_condition="STEP_CLOSED", + number_of_units=2603.41, + step_id="maxime", + time_period="weeks", + ), + selected_closing_reasons=[ + shared.ClosingReason( + id="711e5b7f-d2ed-4028-921c-ddc692601fb5", + title="Ms.", + ), + shared.ClosingReason( + id="6b0d5f0d-30c5-4fbb-a587-053202c73d5f", + title="Dr.", + ), + shared.ClosingReason( + id="9b90c289-09b3-4fe4-9a8d-9cbf48633323", + title="Dr.", + ), + ], + status="DONE", + ), + execution_id="cum", +) + +res = s.workflows.update_execution(req) + +if res.status_code == 200: + # handle response +``` + +## update_step + +Patches various changes to a workflow execution step. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.UpdateStepRequest( + update_step_req=shared.UpdateStepReq( + assigned_to=[ + "dignissimos", + "reiciendis", + ], + assigned_to_in_progress="amet", + automation_config=shared.AutomationConfig( + execution_id="dolorum", + execution_status="numquam", + flow_id="veritatis", + ), + due_date="ipsa", + dynamic_due_date=shared.DynamicDueDate( + action_type_condition="WORKFLOW_STARTED", + number_of_units=4344.17, + step_id="odio", + time_period="days", + ), + entity_ref_id="accusamus", + name="Jan Hodkiewicz", + position=shared.StepPositionAt( + index=5424.99, + section_id="sit", + ), + status="IN_PROGRESS", + user_ids=[ + 7438.35, + ], + ), + execution_id="dolorum", + step_id="iusto", +) + +res = s.workflows.update_step(req) + +if res.step is not None: + # handle response +``` diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 2416ebd66..797fd383b 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -56,4 +56,6 @@ src/epilot/models/shared/updatestepreq.py src/epilot/models/shared/steppositionat.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py +docs/epilot/README.md +docs/workflows/README.md USAGE.md \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 4e64ca3cb..1e4be591a 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.22.1 - generationVersion: 2.20.1 + speakeasyVersion: 1.23.1 + generationVersion: 2.21.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.6.0 + version: 1.7.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 9e751d101..93f2007a0 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,14 +10,14 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.6.0", + version="1.7.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi==2022.12.07", + "certifi==2022.12.7", "charset-normalizer==2.1.1", "dataclasses-json-speakeasy==0.5.8", "idna==3.3", diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 588817882..230203308 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.6.0" - _gen_version: str = "2.20.1" + _sdk_version: str = "1.7.0" + _gen_version: str = "2.21.1" def __init__(self, security: shared.Security = None, From e2b6a60b3835a86e8fa7e270321acf8380b00d80 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Apr 2023 01:11:14 +0000 Subject: [PATCH 10/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.25.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index e3d13c19e..9e3dd2208 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -88,4 +88,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-27 01:11:02 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 1e4be591a..4e0f90882 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.23.1 - generationVersion: 2.21.1 + speakeasyVersion: 1.25.1 + generationVersion: 2.22.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.7.0 + version: 1.8.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 93f2007a0..905427087 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.7.0", + version="1.8.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 230203308..c5d37d3d8 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.7.0" - _gen_version: str = "2.21.1" + _sdk_version: str = "1.8.0" + _gen_version: str = "2.22.0" def __init__(self, security: shared.Security = None, From 395e46169c3df2a02b02d2b4609017212a61308b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Apr 2023 01:10:40 +0000 Subject: [PATCH 11/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.2 --- workflows_execution/RELEASES.md | 8 ++- workflows_execution/gen.yaml | 6 +- workflows_execution/setup.py | 2 +- .../models/operations/createexecution.py | 15 ++-- .../epilot/models/operations/createstep.py | 21 ++++-- .../models/operations/deleteexecution.py | 15 ++-- .../epilot/models/operations/deletestep.py | 18 +++-- .../operations/getclosingreasonexecution.py | 18 +++-- .../epilot/models/operations/getexecution.py | 18 +++-- .../epilot/models/operations/getexecutions.py | 21 ++++-- .../models/operations/searchexecutions.py | 15 ++-- .../epilot/models/operations/searchsteps.py | 15 ++-- .../models/operations/updateexecution.py | 18 +++-- .../epilot/models/operations/updatestep.py | 24 ++++--- .../epilot/models/shared/automationconfig.py | 9 ++- .../src/epilot/models/shared/closingreason.py | 6 +- .../epilot/models/shared/closingreasonresp.py | 3 +- .../src/epilot/models/shared/createstepreq.py | 18 +++-- .../epilot/models/shared/dynamicduedate.py | 12 ++-- .../src/epilot/models/shared/ecpdetails.py | 3 +- .../src/epilot/models/shared/errorresp.py | 3 +- .../shared/executionpaginationdynamo.py | 6 +- .../epilot/models/shared/lastevaluatedkey.py | 6 +- .../models/shared/searchexecutionsreq.py | 18 +++-- .../models/shared/searchexecutionsresp.py | 6 +- .../epilot/models/shared/searchpagination.py | 6 +- .../epilot/models/shared/searchstepsreq.py | 24 ++++--- .../epilot/models/shared/searchstepsresp.py | 6 +- .../src/epilot/models/shared/section.py | 21 ++++-- .../epilot/models/shared/sectionsimplified.py | 15 ++-- .../src/epilot/models/shared/security.py | 3 +- .../src/epilot/models/shared/step.py | 63 ++++++++++------ .../src/epilot/models/shared/stepextended.py | 72 ++++++++++++------- .../src/epilot/models/shared/stepid.py | 6 +- .../epilot/models/shared/steppositionat.py | 6 +- .../epilot/models/shared/steprequirement.py | 9 ++- .../epilot/models/shared/stepsimplified.py | 27 ++++--- .../models/shared/updateentityattributes.py | 12 ++-- .../src/epilot/models/shared/updatestepreq.py | 30 +++++--- .../epilot/models/shared/workflowcontext.py | 9 ++- .../epilot/models/shared/workflowexecution.py | 63 ++++++++++------ .../shared/workflowexecutioncreatereq.py | 12 ++-- .../models/shared/workflowexecutionslim.py | 63 ++++++++++------ .../shared/workflowexecutionupdatereq.py | 24 ++++--- workflows_execution/src/epilot/sdk.py | 4 +- 45 files changed, 519 insertions(+), 260 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 9e3dd2208..6c72f544a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -94,4 +94,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy + +## 2023-04-28 01:10:28 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 4e0f90882..6077522c3 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.25.1 - generationVersion: 2.22.0 + speakeasyVersion: 1.26.2 + generationVersion: 2.23.2 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.8.0 + version: 1.9.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 905427087..713cbe68b 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.8.0", + version="1.9.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py index f6768584b..f53736fe8 100755 --- a/workflows_execution/src/epilot/models/operations/createexecution.py +++ b/workflows_execution/src/epilot/models/operations/createexecution.py @@ -11,11 +11,16 @@ @dataclasses.dataclass class CreateExecutionResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) - r"""Success - if the execution is created successfully""" + + r"""Success - if the execution is created successfully""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py index aa75f6faf..7c29c21f9 100755 --- a/workflows_execution/src/epilot/models/operations/createstep.py +++ b/workflows_execution/src/epilot/models/operations/createstep.py @@ -13,19 +13,26 @@ class CreateStepRequest: create_step_req: shared_createstepreq.CreateStepReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Workflow Execution Step payload""" + + r"""Workflow Execution Step payload""" execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" + + r"""Id of the execution""" @dataclasses.dataclass class CreateStepResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + step: Optional[shared_step.Step] = dataclasses.field(default=None) - r"""Success - if the step is created with success""" + + r"""Success - if the step is created with success""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py index cccd37ac2..217f951a1 100755 --- a/workflows_execution/src/epilot/models/operations/deleteexecution.py +++ b/workflows_execution/src/epilot/models/operations/deleteexecution.py @@ -11,15 +11,20 @@ class DeleteExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution to de deleted.""" + + r"""Id of the execution to de deleted.""" @dataclasses.dataclass class DeleteExecutionResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Failed to authenticate""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Failed to authenticate""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py index b13cd8cdb..bdbf179b9 100755 --- a/workflows_execution/src/epilot/models/operations/deletestep.py +++ b/workflows_execution/src/epilot/models/operations/deletestep.py @@ -11,17 +11,23 @@ class DeleteStepRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" + + r"""Id of the execution""" step_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'stepId', 'style': 'simple', 'explode': False }}) - r"""Short uuid (length 6) to identify the Workflow Execution Step.""" + + r"""Short uuid (length 6) to identify the Workflow Execution Step.""" @dataclasses.dataclass class DeleteStepResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Other errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py index dce2655f0..06d3ad58c 100755 --- a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py +++ b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py @@ -12,17 +12,23 @@ class GetClosingReasonExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" + + r"""Id of the execution""" @dataclasses.dataclass class GetClosingReasonExecutionResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + closing_reason_resp: Optional[shared_closingreasonresp.ClosingReasonResp] = dataclasses.field(default=None) - r"""returns all Closing Reasons for this Execution""" + + r"""returns all Closing Reasons for this Execution""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Internal Issues""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Internal Issues""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py index d0b7d40c1..cac606fef 100755 --- a/workflows_execution/src/epilot/models/operations/getexecution.py +++ b/workflows_execution/src/epilot/models/operations/getexecution.py @@ -12,17 +12,23 @@ class GetExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" + + r"""Id of the execution""" @dataclasses.dataclass class GetExecutionResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Other errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) - r"""Success - execution loaded with success. Empty response execution was not found.""" + + r"""Success - execution loaded with success. Empty response execution was not found.""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py index 051a1d89c..3affc6520 100755 --- a/workflows_execution/src/epilot/models/operations/getexecutions.py +++ b/workflows_execution/src/epilot/models/operations/getexecutions.py @@ -12,19 +12,26 @@ class GetExecutionsRequest: context: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'context', 'style': 'form', 'explode': True }}) - r"""Id of an Entity""" + + r"""Id of an Entity""" schema: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'schema', 'style': 'form', 'explode': True }}) - r"""Schema of an Entity""" + + r"""Schema of an Entity""" @dataclasses.dataclass class GetExecutionsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Other errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + workflow_execution_slims: Optional[list[shared_workflowexecutionslim.WorkflowExecutionSlim]] = dataclasses.field(default=None) - r"""Success - executions loaded with success. Empty array if org has no executions.""" + + r"""Success - executions loaded with success. Empty array if org has no executions.""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py index 8bd5e8879..c967d9180 100755 --- a/workflows_execution/src/epilot/models/operations/searchexecutions.py +++ b/workflows_execution/src/epilot/models/operations/searchexecutions.py @@ -11,11 +11,16 @@ @dataclasses.dataclass class SearchExecutionsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + search_executions_resp: Optional[shared_searchexecutionsresp.SearchExecutionsResp] = dataclasses.field(default=None) - r"""Success - filtered steps are returned""" + + r"""Success - filtered steps are returned""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py index 4794f0ddb..0fd6ba8c7 100755 --- a/workflows_execution/src/epilot/models/operations/searchsteps.py +++ b/workflows_execution/src/epilot/models/operations/searchsteps.py @@ -11,11 +11,16 @@ @dataclasses.dataclass class SearchStepsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + search_steps_resp: Optional[shared_searchstepsresp.SearchStepsResp] = dataclasses.field(default=None) - r"""Success - filtered steps are returned""" + + r"""Success - filtered steps are returned""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py index 3a9d55192..188180b5b 100755 --- a/workflows_execution/src/epilot/models/operations/updateexecution.py +++ b/workflows_execution/src/epilot/models/operations/updateexecution.py @@ -12,17 +12,23 @@ class UpdateExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" + + r"""Id of the execution""" workflow_execution_update_req: shared_workflowexecutionupdatereq.WorkflowExecutionUpdateReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Patch Updates for Workflow Execution payload.""" + + r"""Patch Updates for Workflow Execution payload.""" @dataclasses.dataclass class UpdateExecutionResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Other errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py index c8daf8ad6..8fc92eb93 100755 --- a/workflows_execution/src/epilot/models/operations/updatestep.py +++ b/workflows_execution/src/epilot/models/operations/updatestep.py @@ -13,21 +13,29 @@ class UpdateStepRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" + + r"""Id of the execution""" step_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'stepId', 'style': 'simple', 'explode': False }}) - r"""Short uuid (length 6) to identify the Workflow Execution Step.""" + + r"""Short uuid (length 6) to identify the Workflow Execution Step.""" update_step_req: shared_updatestepreq.UpdateStepReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Workflow Execution Step payload""" + + r"""Workflow Execution Step payload""" @dataclasses.dataclass class UpdateStepResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""Validation Errors""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + step: Optional[shared_step.Step] = dataclasses.field(default=None) - r"""Success - if the step is updated successfully""" + + r"""Success - if the step is updated successfully""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/automationconfig.py b/workflows_execution/src/epilot/models/shared/automationconfig.py index 949c2be35..a54160a95 100755 --- a/workflows_execution/src/epilot/models/shared/automationconfig.py +++ b/workflows_execution/src/epilot/models/shared/automationconfig.py @@ -13,9 +13,12 @@ class AutomationConfig: r"""Configuration for automation execution to run""" flow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flowId') }}) - r"""Id of the configured automation to run""" + + r"""Id of the configured automation to run""" execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) - r"""Id of the automation execution which ran""" + + r"""Id of the automation execution which ran""" execution_status: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus'), 'exclude': lambda f: f is None }}) - r"""Status of Automation Execution. Types can be found in Automation API""" + + r"""Status of Automation Execution. Types can be found in Automation API""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/closingreason.py b/workflows_execution/src/epilot/models/shared/closingreason.py index 83a9ffb16..a3cece122 100755 --- a/workflows_execution/src/epilot/models/shared/closingreason.py +++ b/workflows_execution/src/epilot/models/shared/closingreason.py @@ -10,6 +10,8 @@ @dataclasses.dataclass class ClosingReason: - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py index eb72dbf2f..46f63930a 100755 --- a/workflows_execution/src/epilot/models/shared/closingreasonresp.py +++ b/workflows_execution/src/epilot/models/shared/closingreasonresp.py @@ -13,5 +13,6 @@ class ClosingReasonResp: r"""returns all Closing Reasons for this Execution""" - reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) + reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index cefb68ec9..8cf0a2175 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -15,11 +15,17 @@ class CreateStepReq: r"""Workflow Execution Step payload""" - insertion_index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + insertion_index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex') }}) + + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + r"""Configuration for automation execution to run""" + execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + + section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py index aaf8ba2ee..d72ffd490 100755 --- a/workflows_execution/src/epilot/models/shared/dynamicduedate.py +++ b/workflows_execution/src/epilot/models/shared/dynamicduedate.py @@ -22,8 +22,12 @@ class DynamicDueDateTimePeriodEnum(str, Enum): class DynamicDueDate: r"""set a Duedate for a step then a specific""" - number_of_units: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('numberOfUnits') }}) - time_period: DynamicDueDateTimePeriodEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timePeriod') }}) - action_type_condition: Optional[DynamicDueDateActionTypeConditionEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actionTypeCondition'), 'exclude': lambda f: f is None }}) - step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) + number_of_units: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('numberOfUnits') }}) + + time_period: DynamicDueDateTimePeriodEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timePeriod') }}) + + action_type_condition: Optional[DynamicDueDateActionTypeConditionEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actionTypeCondition'), 'exclude': lambda f: f is None }}) + + step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/ecpdetails.py b/workflows_execution/src/epilot/models/shared/ecpdetails.py index 229b4e6f6..4d4bd0158 100755 --- a/workflows_execution/src/epilot/models/shared/ecpdetails.py +++ b/workflows_execution/src/epilot/models/shared/ecpdetails.py @@ -12,5 +12,6 @@ class ECPDetails: r"""Details regarding ECP for the workflow step""" - label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), 'exclude': lambda f: f is None }}) + label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py index 1adc87498..9beeb3061 100755 --- a/workflows_execution/src/epilot/models/shared/errorresp.py +++ b/workflows_execution/src/epilot/models/shared/errorresp.py @@ -12,5 +12,6 @@ class ErrorResp: r"""Other errors""" - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py index 1cd69ab3e..6a6da33f5 100755 --- a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py +++ b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py @@ -11,6 +11,8 @@ @dataclasses.dataclass class ExecutionPaginationDynamo: - creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) + + org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py index 9b3fb2ad3..04a4a8c1f 100755 --- a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py +++ b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py @@ -11,6 +11,8 @@ @dataclasses.dataclass class LastEvaluatedKey: - creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) + + org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py index 084992efd..5f05334f3 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py @@ -15,10 +15,16 @@ class SearchExecutionsReq: r"""Search steps request""" - assigned_to: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - pagination: Optional[shared_executionpaginationdynamo.ExecutionPaginationDynamo] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) - sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + + include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) + + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + + pagination: Optional[shared_executionpaginationdynamo.ExecutionPaginationDynamo] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) + + sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py index c0ac6b328..3b7f7f327 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py @@ -14,6 +14,8 @@ class SearchExecutionsResp: r"""Success - filtered steps are returned""" - executions: list[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) - last_evaluated_key: Optional[shared_lastevaluatedkey.LastEvaluatedKey] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastEvaluatedKey'), 'exclude': lambda f: f is None }}) + executions: list[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) + + last_evaluated_key: Optional[shared_lastevaluatedkey.LastEvaluatedKey] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastEvaluatedKey'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchpagination.py b/workflows_execution/src/epilot/models/shared/searchpagination.py index 2c8e5fb46..6dbfb423d 100755 --- a/workflows_execution/src/epilot/models/shared/searchpagination.py +++ b/workflows_execution/src/epilot/models/shared/searchpagination.py @@ -11,6 +11,8 @@ @dataclasses.dataclass class SearchPagination: - from_: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('from'), 'exclude': lambda f: f is None }}) - size: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('size'), 'exclude': lambda f: f is None }}) + from_: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('from'), 'exclude': lambda f: f is None }}) + + size: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('size'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index 913769bde..0d1efd7f7 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -20,12 +20,20 @@ class SearchStepsReqStatusEnum(str, Enum): class SearchStepsReq: r"""Search steps request""" - assigned_to: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - execution_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName'), 'exclude': lambda f: f is None }}) - include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) - manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - pagination: Optional[shared_searchpagination.SearchPagination] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) - sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) - status: Optional[SearchStepsReqStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - step_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepName'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + + execution_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName'), 'exclude': lambda f: f is None }}) + + include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) + + manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) + + pagination: Optional[shared_searchpagination.SearchPagination] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) + + sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) + + status: Optional[SearchStepsReqStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + step_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepName'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py index b2e2673d9..ec71b1ca1 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsresp.py @@ -13,6 +13,8 @@ class SearchStepsResp: r"""Success - filtered steps are returned""" - hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) - results: Optional[list[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) + + results: Optional[list[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index 6be4add95..48d5f924b 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -14,13 +14,20 @@ class Section: r"""A group of Steps that define the progress of the Workflow""" - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - r"""Name for this Section""" - steps: list[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + + r"""Name for this Section""" + steps: list[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) + + type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + + r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py index 86e25edef..9c9f5a9ff 100755 --- a/workflows_execution/src/epilot/models/shared/sectionsimplified.py +++ b/workflows_execution/src/epilot/models/shared/sectionsimplified.py @@ -14,10 +14,15 @@ class SectionSimplified: r"""A group of Steps that define the progress of the Workflow""" - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - r"""Name for this Section""" - steps: list[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + + r"""Name for this Section""" + steps: list[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) + + type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/security.py b/workflows_execution/src/epilot/models/shared/security.py index e41721b57..01b35706f 100755 --- a/workflows_execution/src/epilot/models/shared/security.py +++ b/workflows_execution/src/epilot/models/shared/security.py @@ -7,5 +7,6 @@ @dataclasses.dataclass class Security: - bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index 11e894440..e86913609 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -19,31 +19,52 @@ class Step: r"""Success - if the step is created with success""" - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) + + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + + type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) - r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" + + r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" - created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + + r"""Configuration for automation execution to run""" + created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) + + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + + due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" + + r"""set a Duedate for a step then a specific""" ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) - r"""Details regarding ECP for the workflow step""" + + r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - r"""enabled flag results from calculating the requirements""" - execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) - manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + r"""enabled flag results from calculating the requirements""" + execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) + + execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + + last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) + + manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) + + requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + + section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + + r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 8688ea47b..655e47eda 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -20,34 +20,58 @@ @dataclasses.dataclass class StepExtended: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) - execution_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName') }}) - execution_status: shared_workflowstatus_enum.WorkflowStatusEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus') }}) - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) + + execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) + + execution_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName') }}) + + execution_status: shared_workflowstatus_enum.WorkflowStatusEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus') }}) + + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + + type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) - r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" + + r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + + r"""Configuration for automation execution to run""" + contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + + created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) + + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + + due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" + + r"""set a Duedate for a step then a specific""" ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) - r"""Details regarding ECP for the workflow step""" + + r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - r"""enabled flag results from calculating the requirements""" - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) - manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + r"""enabled flag results from calculating the requirements""" + execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + + last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) + + manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) + + requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + + section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + + r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py index b934348d5..d1f58abc2 100755 --- a/workflows_execution/src/epilot/models/shared/stepid.py +++ b/workflows_execution/src/epilot/models/shared/stepid.py @@ -11,6 +11,8 @@ @dataclasses.dataclass class StepID: - entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) - id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) + + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py index 27732e7fa..a57d3518d 100755 --- a/workflows_execution/src/epilot/models/shared/steppositionat.py +++ b/workflows_execution/src/epilot/models/shared/steppositionat.py @@ -11,6 +11,8 @@ @dataclasses.dataclass class StepPositionAt: - index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index') }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index') }}) + + section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index 9d3dac9a4..c9599246a 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -16,7 +16,10 @@ class StepRequirementConditionEnum(str, Enum): class StepRequirement: r"""describe the requirement for step enablement""" - condition: StepRequirementConditionEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) - definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + condition: StepRequirementConditionEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) + + definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) + + type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py index 8dde16ddb..778c53c1e 100755 --- a/workflows_execution/src/epilot/models/shared/stepsimplified.py +++ b/workflows_execution/src/epilot/models/shared/stepsimplified.py @@ -15,14 +15,23 @@ @dataclasses.dataclass class StepSimplified: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) + + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + + type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) - r"""Details regarding ECP for the workflow step""" - enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + + r"""Details regarding ECP for the workflow step""" + enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + + execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + + requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py index c48a8e248..562d200eb 100755 --- a/workflows_execution/src/epilot/models/shared/updateentityattributes.py +++ b/workflows_execution/src/epilot/models/shared/updateentityattributes.py @@ -16,14 +16,18 @@ class UpdateEntityAttributesSourceEnum(str, Enum): @dataclasses.dataclass class UpdateEntityAttributesTarget: - entity_attribute: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityAttribute') }}) - entity_schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entitySchema') }}) + entity_attribute: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityAttribute') }}) + + entity_schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entitySchema') }}) + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class UpdateEntityAttributes: - source: UpdateEntityAttributesSourceEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) - target: UpdateEntityAttributesTarget = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('target') }}) + source: UpdateEntityAttributesSourceEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) + + target: UpdateEntityAttributesTarget = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('target') }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index aeaaf9296..952d59139 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -16,18 +16,28 @@ class UpdateStepReq: r"""Workflow Execution Step payload""" - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) - r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" + + r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + + r"""Configuration for automation execution to run""" + due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + r"""set a Duedate for a step then a specific""" + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + + position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + + r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowcontext.py b/workflows_execution/src/epilot/models/shared/workflowcontext.py index 9bec3b674..4183a5766 100755 --- a/workflows_execution/src/epilot/models/shared/workflowcontext.py +++ b/workflows_execution/src/epilot/models/shared/workflowcontext.py @@ -10,7 +10,10 @@ @dataclasses.dataclass class WorkflowContext: - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema') }}) - title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) + id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) + + schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema') }}) + + title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index 4fc9530e3..52b1c1944 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -19,32 +19,53 @@ class WorkflowExecution: r"""Success - if the execution is created successfully""" - flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) - configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + + closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) + + configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) + + contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - r"""Creation timestamp""" - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + + r"""Creation timestamp""" + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - r"""Due date for finishing the workflow""" + + r"""Due date for finishing the workflow""" dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" + + r"""set a Duedate for a step then a specific""" enable_ecp_workflow: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enableECPWorkflow'), 'exclude': lambda f: f is None }}) - r"""Indicates whether this workflow is available for End Customer Portal or not. By default it's not.""" - id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + + r"""Indicates whether this workflow is available for End Customer Portal or not. By default it's not.""" + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + last_modified_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastModifiedBy'), 'exclude': lambda f: f is None }}) - r"""Id of the user who closed workflow""" + + r"""Id of the user who closed workflow""" last_update_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdateTime'), 'exclude': lambda f: f is None }}) - r"""Last Update timestamp""" - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) + + r"""Last Update timestamp""" + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + + next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) + + org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + + selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + + update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) + version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) - r"""Version of the workflow execution""" + + r"""Version of the workflow execution""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py index 3624999ca..f98d02892 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py @@ -14,8 +14,12 @@ class WorkflowExecutionCreateReq: r"""Workflow Execution payload""" - workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + + contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + + trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index 70553962c..99a103079 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -18,32 +18,53 @@ @dataclasses.dataclass class WorkflowExecutionSlim: - flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) - configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) + + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + + closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) + + configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) + + contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - r"""Creation timestamp""" - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + + r"""Creation timestamp""" + definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - r"""Due date for finishing the workflow""" + + r"""Due date for finishing the workflow""" dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" + + r"""set a Duedate for a step then a specific""" enable_ecp_workflow: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enableECPWorkflow'), 'exclude': lambda f: f is None }}) - r"""Indicates whether this workflow is available for End Customer Portal or not. By default it's not.""" - id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + + r"""Indicates whether this workflow is available for End Customer Portal or not. By default it's not.""" + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + last_modified_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastModifiedBy'), 'exclude': lambda f: f is None }}) - r"""Id of the user who closed workflow""" + + r"""Id of the user who closed workflow""" last_update_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdateTime'), 'exclude': lambda f: f is None }}) - r"""Last Update timestamp""" - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) + + r"""Last Update timestamp""" + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + + next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) + + org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) + + selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + + update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) + version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) - r"""Version of the workflow execution""" + + r"""Version of the workflow execution""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index 42b7a5925..ee52eb17c 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -16,14 +16,22 @@ class WorkflowExecutionUpdateReq: r"""Patch Updates for Workflow Execution payload.""" - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + closed_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closedBy'), 'exclude': lambda f: f is None }}) - r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" - closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + + r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" + closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) + + contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + + due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) + dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + + r"""set a Duedate for a step then a specific""" + selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) + + status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index c5d37d3d8..85ed5af9f 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.8.0" - _gen_version: str = "2.22.0" + _sdk_version: str = "1.9.0" + _gen_version: str = "2.23.2" def __init__(self, security: shared.Security = None, From 95a299b1fc7f052d4b9f9db2e1758c5556e124ea Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 29 Apr 2023 01:09:25 +0000 Subject: [PATCH 12/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.4 --- workflows_execution/RELEASES.md | 8 ++++++- workflows_execution/gen.yaml | 6 ++--- workflows_execution/setup.py | 2 +- .../models/operations/createexecution.py | 5 ---- .../epilot/models/operations/createstep.py | 7 ------ .../models/operations/deleteexecution.py | 5 ---- .../epilot/models/operations/deletestep.py | 6 ----- .../operations/getclosingreasonexecution.py | 6 ----- .../epilot/models/operations/getexecution.py | 6 ----- .../epilot/models/operations/getexecutions.py | 7 ------ .../models/operations/searchexecutions.py | 5 ---- .../epilot/models/operations/searchsteps.py | 5 ---- .../models/operations/updateexecution.py | 6 ----- .../epilot/models/operations/updatestep.py | 8 ------- .../epilot/models/shared/automationconfig.py | 3 --- .../src/epilot/models/shared/closingreason.py | 2 -- .../epilot/models/shared/closingreasonresp.py | 1 - .../src/epilot/models/shared/createstepreq.py | 6 ----- .../epilot/models/shared/dynamicduedate.py | 4 ---- .../src/epilot/models/shared/ecpdetails.py | 1 - .../src/epilot/models/shared/errorresp.py | 1 - .../shared/executionpaginationdynamo.py | 2 -- .../epilot/models/shared/lastevaluatedkey.py | 2 -- .../models/shared/searchexecutionsreq.py | 6 ----- .../models/shared/searchexecutionsresp.py | 2 -- .../epilot/models/shared/searchpagination.py | 2 -- .../epilot/models/shared/searchstepsreq.py | 8 ------- .../epilot/models/shared/searchstepsresp.py | 2 -- .../src/epilot/models/shared/section.py | 7 ------ .../epilot/models/shared/sectionsimplified.py | 5 ---- .../src/epilot/models/shared/security.py | 1 - .../src/epilot/models/shared/step.py | 21 ---------------- .../src/epilot/models/shared/stepextended.py | 24 ------------------- .../src/epilot/models/shared/stepid.py | 2 -- .../epilot/models/shared/steppositionat.py | 2 -- .../epilot/models/shared/steprequirement.py | 3 --- .../epilot/models/shared/stepsimplified.py | 9 ------- .../models/shared/updateentityattributes.py | 4 ---- .../src/epilot/models/shared/updatestepreq.py | 10 -------- .../epilot/models/shared/workflowcontext.py | 3 --- .../epilot/models/shared/workflowexecution.py | 21 ---------------- .../shared/workflowexecutioncreatereq.py | 4 ---- .../models/shared/workflowexecutionslim.py | 21 ---------------- .../shared/workflowexecutionupdatereq.py | 8 ------- workflows_execution/src/epilot/sdk.py | 4 ++-- 45 files changed, 13 insertions(+), 260 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 6c72f544a..216203854 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -100,4 +100,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy + +## 2023-04-29 01:09:14 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 6077522c3..22b373243 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.26.2 - generationVersion: 2.23.2 + speakeasyVersion: 1.26.4 + generationVersion: 2.23.4 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.0 + version: 1.9.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 713cbe68b..a105258f7 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.9.0", + version="1.9.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py index f53736fe8..6b7d9092a 100755 --- a/workflows_execution/src/epilot/models/operations/createexecution.py +++ b/workflows_execution/src/epilot/models/operations/createexecution.py @@ -12,15 +12,10 @@ class CreateExecutionResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) - r"""Success - if the execution is created successfully""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py index 7c29c21f9..d5c806706 100755 --- a/workflows_execution/src/epilot/models/operations/createstep.py +++ b/workflows_execution/src/epilot/models/operations/createstep.py @@ -13,10 +13,8 @@ class CreateStepRequest: create_step_req: shared_createstepreq.CreateStepReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Workflow Execution Step payload""" execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" @@ -24,15 +22,10 @@ class CreateStepRequest: class CreateStepResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - step: Optional[shared_step.Step] = dataclasses.field(default=None) - r"""Success - if the step is created with success""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py index 217f951a1..7d334980e 100755 --- a/workflows_execution/src/epilot/models/operations/deleteexecution.py +++ b/workflows_execution/src/epilot/models/operations/deleteexecution.py @@ -11,7 +11,6 @@ class DeleteExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution to de deleted.""" @@ -19,12 +18,8 @@ class DeleteExecutionRequest: class DeleteExecutionResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Failed to authenticate""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py index bdbf179b9..e8752dba3 100755 --- a/workflows_execution/src/epilot/models/operations/deletestep.py +++ b/workflows_execution/src/epilot/models/operations/deletestep.py @@ -11,10 +11,8 @@ class DeleteStepRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" step_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'stepId', 'style': 'simple', 'explode': False }}) - r"""Short uuid (length 6) to identify the Workflow Execution Step.""" @@ -22,12 +20,8 @@ class DeleteStepRequest: class DeleteStepResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py index 06d3ad58c..2bc166b39 100755 --- a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py +++ b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py @@ -12,7 +12,6 @@ class GetClosingReasonExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" @@ -20,15 +19,10 @@ class GetClosingReasonExecutionRequest: class GetClosingReasonExecutionResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - closing_reason_resp: Optional[shared_closingreasonresp.ClosingReasonResp] = dataclasses.field(default=None) - r"""returns all Closing Reasons for this Execution""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Internal Issues""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py index cac606fef..801f84794 100755 --- a/workflows_execution/src/epilot/models/operations/getexecution.py +++ b/workflows_execution/src/epilot/models/operations/getexecution.py @@ -12,7 +12,6 @@ class GetExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" @@ -20,15 +19,10 @@ class GetExecutionRequest: class GetExecutionResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) - r"""Success - execution loaded with success. Empty response execution was not found.""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py index 3affc6520..b034e3aed 100755 --- a/workflows_execution/src/epilot/models/operations/getexecutions.py +++ b/workflows_execution/src/epilot/models/operations/getexecutions.py @@ -12,10 +12,8 @@ class GetExecutionsRequest: context: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'context', 'style': 'form', 'explode': True }}) - r"""Id of an Entity""" schema: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'schema', 'style': 'form', 'explode': True }}) - r"""Schema of an Entity""" @@ -23,15 +21,10 @@ class GetExecutionsRequest: class GetExecutionsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - workflow_execution_slims: Optional[list[shared_workflowexecutionslim.WorkflowExecutionSlim]] = dataclasses.field(default=None) - r"""Success - executions loaded with success. Empty array if org has no executions.""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py index c967d9180..ede4ed13b 100755 --- a/workflows_execution/src/epilot/models/operations/searchexecutions.py +++ b/workflows_execution/src/epilot/models/operations/searchexecutions.py @@ -12,15 +12,10 @@ class SearchExecutionsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - search_executions_resp: Optional[shared_searchexecutionsresp.SearchExecutionsResp] = dataclasses.field(default=None) - r"""Success - filtered steps are returned""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py index 0fd6ba8c7..cb8592934 100755 --- a/workflows_execution/src/epilot/models/operations/searchsteps.py +++ b/workflows_execution/src/epilot/models/operations/searchsteps.py @@ -12,15 +12,10 @@ class SearchStepsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - search_steps_resp: Optional[shared_searchstepsresp.SearchStepsResp] = dataclasses.field(default=None) - r"""Success - filtered steps are returned""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py index 188180b5b..fc4597b83 100755 --- a/workflows_execution/src/epilot/models/operations/updateexecution.py +++ b/workflows_execution/src/epilot/models/operations/updateexecution.py @@ -12,10 +12,8 @@ class UpdateExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" workflow_execution_update_req: shared_workflowexecutionupdatereq.WorkflowExecutionUpdateReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Patch Updates for Workflow Execution payload.""" @@ -23,12 +21,8 @@ class UpdateExecutionRequest: class UpdateExecutionResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py index 8fc92eb93..f0ea6fcd1 100755 --- a/workflows_execution/src/epilot/models/operations/updatestep.py +++ b/workflows_execution/src/epilot/models/operations/updatestep.py @@ -13,13 +13,10 @@ class UpdateStepRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) - r"""Id of the execution""" step_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'stepId', 'style': 'simple', 'explode': False }}) - r"""Short uuid (length 6) to identify the Workflow Execution Step.""" update_step_req: shared_updatestepreq.UpdateStepReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) - r"""Workflow Execution Step payload""" @@ -27,15 +24,10 @@ class UpdateStepRequest: class UpdateStepResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) - r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - step: Optional[shared_step.Step] = dataclasses.field(default=None) - r"""Success - if the step is updated successfully""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/automationconfig.py b/workflows_execution/src/epilot/models/shared/automationconfig.py index a54160a95..e1e378eac 100755 --- a/workflows_execution/src/epilot/models/shared/automationconfig.py +++ b/workflows_execution/src/epilot/models/shared/automationconfig.py @@ -13,12 +13,9 @@ class AutomationConfig: r"""Configuration for automation execution to run""" flow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flowId') }}) - r"""Id of the configured automation to run""" execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) - r"""Id of the automation execution which ran""" execution_status: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus'), 'exclude': lambda f: f is None }}) - r"""Status of Automation Execution. Types can be found in Automation API""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/closingreason.py b/workflows_execution/src/epilot/models/shared/closingreason.py index a3cece122..1662c6b48 100755 --- a/workflows_execution/src/epilot/models/shared/closingreason.py +++ b/workflows_execution/src/epilot/models/shared/closingreason.py @@ -11,7 +11,5 @@ class ClosingReason: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py index 46f63930a..4bbddb400 100755 --- a/workflows_execution/src/epilot/models/shared/closingreasonresp.py +++ b/workflows_execution/src/epilot/models/shared/closingreasonresp.py @@ -14,5 +14,4 @@ class ClosingReasonResp: r"""returns all Closing Reasons for this Execution""" reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index 8cf0a2175..2a52f1c54 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -16,16 +16,10 @@ class CreateStepReq: r"""Workflow Execution Step payload""" insertion_index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py index d72ffd490..c01e5fba2 100755 --- a/workflows_execution/src/epilot/models/shared/dynamicduedate.py +++ b/workflows_execution/src/epilot/models/shared/dynamicduedate.py @@ -23,11 +23,7 @@ class DynamicDueDate: r"""set a Duedate for a step then a specific""" number_of_units: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('numberOfUnits') }}) - time_period: DynamicDueDateTimePeriodEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timePeriod') }}) - action_type_condition: Optional[DynamicDueDateActionTypeConditionEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actionTypeCondition'), 'exclude': lambda f: f is None }}) - step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/ecpdetails.py b/workflows_execution/src/epilot/models/shared/ecpdetails.py index 4d4bd0158..34055ca55 100755 --- a/workflows_execution/src/epilot/models/shared/ecpdetails.py +++ b/workflows_execution/src/epilot/models/shared/ecpdetails.py @@ -13,5 +13,4 @@ class ECPDetails: r"""Details regarding ECP for the workflow step""" label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py index 9beeb3061..9e2f0caef 100755 --- a/workflows_execution/src/epilot/models/shared/errorresp.py +++ b/workflows_execution/src/epilot/models/shared/errorresp.py @@ -13,5 +13,4 @@ class ErrorResp: r"""Other errors""" message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py index 6a6da33f5..743c88ed0 100755 --- a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py +++ b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py @@ -12,7 +12,5 @@ class ExecutionPaginationDynamo: creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py index 04a4a8c1f..cd7619ff7 100755 --- a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py +++ b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py @@ -12,7 +12,5 @@ class LastEvaluatedKey: creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py index 5f05334f3..49baa4a41 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py @@ -16,15 +16,9 @@ class SearchExecutionsReq: r"""Search steps request""" assigned_to: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - pagination: Optional[shared_executionpaginationdynamo.ExecutionPaginationDynamo] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) - sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py index 3b7f7f327..ccb2a32f7 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py @@ -15,7 +15,5 @@ class SearchExecutionsResp: r"""Success - filtered steps are returned""" executions: list[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) - last_evaluated_key: Optional[shared_lastevaluatedkey.LastEvaluatedKey] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastEvaluatedKey'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchpagination.py b/workflows_execution/src/epilot/models/shared/searchpagination.py index 6dbfb423d..00d8962c4 100755 --- a/workflows_execution/src/epilot/models/shared/searchpagination.py +++ b/workflows_execution/src/epilot/models/shared/searchpagination.py @@ -12,7 +12,5 @@ class SearchPagination: from_: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('from'), 'exclude': lambda f: f is None }}) - size: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('size'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index 0d1efd7f7..05427034b 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -21,19 +21,11 @@ class SearchStepsReq: r"""Search steps request""" assigned_to: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - execution_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName'), 'exclude': lambda f: f is None }}) - include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) - manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - pagination: Optional[shared_searchpagination.SearchPagination] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) - sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) - status: Optional[SearchStepsReqStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - step_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepName'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py index ec71b1ca1..979123887 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsresp.py @@ -14,7 +14,5 @@ class SearchStepsResp: r"""Success - filtered steps are returned""" hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) - results: Optional[list[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index 48d5f924b..82332245e 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -15,19 +15,12 @@ class Section: r"""A group of Steps that define the progress of the Workflow""" id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - r"""Name for this Section""" steps: list[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py index 9c9f5a9ff..578894d9a 100755 --- a/workflows_execution/src/epilot/models/shared/sectionsimplified.py +++ b/workflows_execution/src/epilot/models/shared/sectionsimplified.py @@ -15,14 +15,9 @@ class SectionSimplified: r"""A group of Steps that define the progress of the Workflow""" id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - r"""Name for this Section""" steps: list[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/security.py b/workflows_execution/src/epilot/models/shared/security.py index 01b35706f..cc58cbf76 100755 --- a/workflows_execution/src/epilot/models/shared/security.py +++ b/workflows_execution/src/epilot/models/shared/security.py @@ -8,5 +8,4 @@ class Security: bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index e86913609..a4ad84b91 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -20,51 +20,30 @@ class Step: r"""Success - if the step is created with success""" entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) - r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) - r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - r"""enabled flag results from calculating the requirements""" execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) - manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 655e47eda..61f7c009c 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -21,57 +21,33 @@ class StepExtended: entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) - execution_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName') }}) - execution_status: shared_workflowstatus_enum.WorkflowStatusEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus') }}) - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) - r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) - r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - r"""enabled flag results from calculating the requirements""" execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) - manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py index d1f58abc2..134609c97 100755 --- a/workflows_execution/src/epilot/models/shared/stepid.py +++ b/workflows_execution/src/epilot/models/shared/stepid.py @@ -12,7 +12,5 @@ class StepID: entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) - id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py index a57d3518d..16c0f5b64 100755 --- a/workflows_execution/src/epilot/models/shared/steppositionat.py +++ b/workflows_execution/src/epilot/models/shared/steppositionat.py @@ -12,7 +12,5 @@ class StepPositionAt: index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index') }}) - section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index c9599246a..4adc6e12e 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -17,9 +17,6 @@ class StepRequirement: r"""describe the requirement for step enablement""" condition: StepRequirementConditionEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) - definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py index 778c53c1e..0d7b737eb 100755 --- a/workflows_execution/src/epilot/models/shared/stepsimplified.py +++ b/workflows_execution/src/epilot/models/shared/stepsimplified.py @@ -16,22 +16,13 @@ class StepSimplified: entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) - r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py index 562d200eb..e4e84e73f 100755 --- a/workflows_execution/src/epilot/models/shared/updateentityattributes.py +++ b/workflows_execution/src/epilot/models/shared/updateentityattributes.py @@ -17,9 +17,7 @@ class UpdateEntityAttributesSourceEnum(str, Enum): class UpdateEntityAttributesTarget: entity_attribute: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityAttribute') }}) - entity_schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entitySchema') }}) - @dataclass_json(undefined=Undefined.EXCLUDE) @@ -27,7 +25,5 @@ class UpdateEntityAttributesTarget: class UpdateEntityAttributes: source: UpdateEntityAttributesSourceEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) - target: UpdateEntityAttributesTarget = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('target') }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index 952d59139..4688edd3e 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -17,27 +17,17 @@ class UpdateStepReq: r"""Workflow Execution Step payload""" entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) - r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) - r"""Configuration for automation execution to run""" due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowcontext.py b/workflows_execution/src/epilot/models/shared/workflowcontext.py index 4183a5766..dbcfb094d 100755 --- a/workflows_execution/src/epilot/models/shared/workflowcontext.py +++ b/workflows_execution/src/epilot/models/shared/workflowcontext.py @@ -11,9 +11,6 @@ class WorkflowContext: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) - schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema') }}) - title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index 52b1c1944..6396b80ba 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -20,52 +20,31 @@ class WorkflowExecution: r"""Success - if the execution is created successfully""" flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) - configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - r"""Creation timestamp""" definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - r"""Due date for finishing the workflow""" dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" enable_ecp_workflow: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enableECPWorkflow'), 'exclude': lambda f: f is None }}) - r"""Indicates whether this workflow is available for End Customer Portal or not. By default it's not.""" id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - last_modified_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastModifiedBy'), 'exclude': lambda f: f is None }}) - r"""Id of the user who closed workflow""" last_update_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdateTime'), 'exclude': lambda f: f is None }}) - r"""Last Update timestamp""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) - version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) - r"""Version of the workflow execution""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py index f98d02892..43da8ab41 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py @@ -15,11 +15,7 @@ class WorkflowExecutionCreateReq: r"""Workflow Execution payload""" workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index 99a103079..f702db0f3 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -19,52 +19,31 @@ class WorkflowExecutionSlim: flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) - configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - r"""Creation timestamp""" definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - r"""Due date for finishing the workflow""" dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" enable_ecp_workflow: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enableECPWorkflow'), 'exclude': lambda f: f is None }}) - r"""Indicates whether this workflow is available for End Customer Portal or not. By default it's not.""" id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - last_modified_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastModifiedBy'), 'exclude': lambda f: f is None }}) - r"""Id of the user who closed workflow""" last_update_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdateTime'), 'exclude': lambda f: f is None }}) - r"""Last Update timestamp""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) - org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) - version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) - r"""Version of the workflow execution""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index ee52eb17c..270c9c24d 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -17,21 +17,13 @@ class WorkflowExecutionUpdateReq: r"""Patch Updates for Workflow Execution payload.""" assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - closed_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closedBy'), 'exclude': lambda f: f is None }}) - r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) - dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) - r"""set a Duedate for a step then a specific""" selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 85ed5af9f..f5251d8dc 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.0" - _gen_version: str = "2.23.2" + _sdk_version: str = "1.9.1" + _gen_version: str = "2.23.4" def __init__(self, security: shared.Security = None, From 06b13c42d82877a7ed69cacaf1448010bb3e1b99 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 2 May 2023 01:10:33 +0000 Subject: [PATCH 13/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.5 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 216203854..6de8efe85 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -106,4 +106,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy + +## 2023-05-02 01:10:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 22b373243..8af1dcff3 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.26.4 - generationVersion: 2.23.4 + speakeasyVersion: 1.26.5 + generationVersion: 2.23.6 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.1 + version: 1.9.2 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index a105258f7..e279da676 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.9.1", + version="1.9.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index f5251d8dc..216730c32 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.1" - _gen_version: str = "2.23.4" + _sdk_version: str = "1.9.2" + _gen_version: str = "2.23.6" def __init__(self, security: shared.Security = None, From d359dc326c92a287fb9b950c6f788b75b0405081 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 3 May 2023 01:10:39 +0000 Subject: [PATCH 14/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.27.0 --- workflows_execution/README.md | 28 ++-- workflows_execution/RELEASES.md | 8 +- workflows_execution/USAGE.md | 28 ++-- workflows_execution/docs/workflows/README.md | 142 +++++++++--------- workflows_execution/gen.yaml | 6 +- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 +- workflows_execution/src/epilot/utils/utils.py | 2 +- 8 files changed, 113 insertions(+), 107 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 7e7f6c91d..1d8f61127 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -23,29 +23,29 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - "provident", - "distinctio", - "quibusdam", + 'provident', + 'distinctio', + 'quibusdam', ], contexts=[ shared.WorkflowContext( - id="d8d69a67-4e0f-4467-8c87-96ed151a05df", - schema="quo", - title="Mr.", + id='d8d69a67-4e0f-4467-8c87-96ed151a05df', + schema='quo', + title='Mr.', ), shared.WorkflowContext( - id="ddf7cc78-ca1b-4a92-8fc8-16742cb73920", - schema="ad", - title="Miss", + id='ddf7cc78-ca1b-4a92-8fc8-16742cb73920', + schema='ad', + title='Miss', ), shared.WorkflowContext( - id="29396fea-7596-4eb1-8faa-a2352c595590", - schema="iure", - title="Miss", + id='29396fea-7596-4eb1-8faa-a2352c595590', + schema='iure', + title='Miss', ), ], - trigger="AUTOMATIC", - workflow_id="sapiente", + trigger=shared.TriggerTypeEnum.AUTOMATIC, + workflow_id='sapiente', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 6de8efe85..6f1246a94 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -112,4 +112,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy + +## 2023-05-03 01:10:28 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 01636e6fc..54167c787 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -12,29 +12,29 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - "provident", - "distinctio", - "quibusdam", + 'provident', + 'distinctio', + 'quibusdam', ], contexts=[ shared.WorkflowContext( - id="d8d69a67-4e0f-4467-8c87-96ed151a05df", - schema="quo", - title="Mr.", + id='d8d69a67-4e0f-4467-8c87-96ed151a05df', + schema='quo', + title='Mr.', ), shared.WorkflowContext( - id="ddf7cc78-ca1b-4a92-8fc8-16742cb73920", - schema="ad", - title="Miss", + id='ddf7cc78-ca1b-4a92-8fc8-16742cb73920', + schema='ad', + title='Miss', ), shared.WorkflowContext( - id="29396fea-7596-4eb1-8faa-a2352c595590", - schema="iure", - title="Miss", + id='29396fea-7596-4eb1-8faa-a2352c595590', + schema='iure', + title='Miss', ), ], - trigger="AUTOMATIC", - workflow_id="sapiente", + trigger=shared.TriggerTypeEnum.AUTOMATIC, + workflow_id='sapiente', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md index da4c03d26..25e37c713 100755 --- a/workflows_execution/docs/workflows/README.md +++ b/workflows_execution/docs/workflows/README.md @@ -37,17 +37,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - "mollitia", + 'mollitia', ], contexts=[ shared.WorkflowContext( - id="a2fa9467-7392-451a-a52c-3f5ad019da1f", - schema="voluptatibus", - title="Dr.", + id='a2fa9467-7392-451a-a52c-3f5ad019da1f', + schema='voluptatibus', + title='Dr.', ), ], - trigger="MANUAL", - workflow_id="praesentium", + trigger=shared.TriggerTypeEnum.MANUAL, + workflow_id='praesentium', ) res = s.workflows.create_execution(req) @@ -76,17 +76,17 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - execution_id="voluptatibus", - execution_status="ipsa", - flow_id="omnis", + execution_id='voluptatibus', + execution_status='ipsa', + flow_id='omnis', ), - execution_type="MANUAL", + execution_type=shared.StepTypeEnum.MANUAL, insertion_index=7392.64, - name="Sharon Kiehn", - section_id="dicta", - status="ASSIGNED", + name='Sharon Kiehn', + section_id='dicta', + status=shared.StepStatusEnum.ASSIGNED, ), - execution_id="dolore", + execution_id='dolore', ) res = s.workflows.create_step(req) @@ -113,7 +113,7 @@ s = epilot.Epilot( req = operations.DeleteExecutionRequest( - execution_id="iusto", + execution_id='iusto', ) res = s.workflows.delete_execution(req) @@ -140,8 +140,8 @@ s = epilot.Epilot( req = operations.DeleteStepRequest( - execution_id="dicta", - step_id="harum", + execution_id='dicta', + step_id='harum', ) res = s.workflows.delete_step(req) @@ -171,7 +171,7 @@ s = epilot.Epilot( req = operations.GetClosingReasonExecutionRequest( - execution_id="enim", + execution_id='enim', ) res = s.workflows.get_closing_reason_execution(req) @@ -198,7 +198,7 @@ s = epilot.Epilot( req = operations.GetExecutionRequest( - execution_id="accusamus", + execution_id='accusamus', ) res = s.workflows.get_execution(req) @@ -225,8 +225,8 @@ s = epilot.Epilot( req = operations.GetExecutionsRequest( - context="commodi", - schema="repudiandae", + context='commodi', + schema='repudiandae', ) res = s.workflows.get_executions(req) @@ -253,15 +253,15 @@ s = epilot.Epilot( req = shared.SearchExecutionsReq( - assigned_to="quae", + assigned_to='quae', include_done_workflows=False, - name="Alison Mann", + name='Alison Mann', pagination=shared.ExecutionPaginationDynamo( - creation_time="modi", - org_id="praesentium", + creation_time='modi', + org_id='praesentium', ), - sorting="DUE_DATE_DESC", - status="CLOSED", + sorting=shared.SearchSortingEnum.DUE_DATE_DESC, + status=shared.WorkflowStatusEnum.CLOSED, ) res = s.workflows.search_executions(req) @@ -289,16 +289,16 @@ s = epilot.Epilot( req = shared.SearchStepsReq( assigned_to=939.4, - execution_name="repudiandae", + execution_name='repudiandae', include_done_workflows=False, manually_created=False, pagination=shared.SearchPagination( from_=5759.47, size=831.12, ), - sorting="TRIGGER_DATE_DESC", - status="OPEN", - step_name="enim", + sorting=shared.SearchSortingEnum.TRIGGER_DATE_DESC, + status=shared.SearchStepsReqStatusEnum.OPEN, + step_name='enim', ) res = s.workflows.search_steps(req) @@ -327,51 +327,51 @@ s = epilot.Epilot( req = operations.UpdateExecutionRequest( workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( assigned_to=[ - "est", + 'est', ], - closed_by="quibusdam", - closing_reason_description="explicabo", + closed_by='quibusdam', + closing_reason_description='explicabo', contexts=[ shared.WorkflowContext( - id="bd442698-02d5-402a-94bb-4f63c969e9a3", - schema="debitis", - title="Dr.", + id='bd442698-02d5-402a-94bb-4f63c969e9a3', + schema='debitis', + title='Dr.', ), shared.WorkflowContext( - id="a77dfb14-cd66-4ae3-95ef-b9ba88f3a669", - schema="omnis", - title="Ms.", + id='a77dfb14-cd66-4ae3-95ef-b9ba88f3a669', + schema='omnis', + title='Ms.', ), shared.WorkflowContext( - id="074ba446-9b6e-4214-9959-890afa563e25", - schema="quasi", - title="Ms.", + id='074ba446-9b6e-4214-9959-890afa563e25', + schema='quasi', + title='Ms.', ), ], - due_date="doloribus", + due_date='doloribus', dynamic_due_date=shared.DynamicDueDate( - action_type_condition="STEP_CLOSED", + action_type_condition=shared.DynamicDueDateActionTypeConditionEnum.STEP_CLOSED, number_of_units=2603.41, - step_id="maxime", - time_period="weeks", + step_id='maxime', + time_period=shared.DynamicDueDateTimePeriodEnum.WEEKS, ), selected_closing_reasons=[ shared.ClosingReason( - id="711e5b7f-d2ed-4028-921c-ddc692601fb5", - title="Ms.", + id='711e5b7f-d2ed-4028-921c-ddc692601fb5', + title='Ms.', ), shared.ClosingReason( - id="6b0d5f0d-30c5-4fbb-a587-053202c73d5f", - title="Dr.", + id='6b0d5f0d-30c5-4fbb-a587-053202c73d5f', + title='Dr.', ), shared.ClosingReason( - id="9b90c289-09b3-4fe4-9a8d-9cbf48633323", - title="Dr.", + id='9b90c289-09b3-4fe4-9a8d-9cbf48633323', + title='Dr.', ), ], - status="DONE", + status=shared.WorkflowStatusEnum.DONE, ), - execution_id="cum", + execution_id='cum', ) res = s.workflows.update_execution(req) @@ -400,35 +400,35 @@ s = epilot.Epilot( req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ - "dignissimos", - "reiciendis", + 'dignissimos', + 'reiciendis', ], - assigned_to_in_progress="amet", + assigned_to_in_progress='amet', automation_config=shared.AutomationConfig( - execution_id="dolorum", - execution_status="numquam", - flow_id="veritatis", + execution_id='dolorum', + execution_status='numquam', + flow_id='veritatis', ), - due_date="ipsa", + due_date='ipsa', dynamic_due_date=shared.DynamicDueDate( - action_type_condition="WORKFLOW_STARTED", + action_type_condition=shared.DynamicDueDateActionTypeConditionEnum.WORKFLOW_STARTED, number_of_units=4344.17, - step_id="odio", - time_period="days", + step_id='odio', + time_period=shared.DynamicDueDateTimePeriodEnum.DAYS, ), - entity_ref_id="accusamus", - name="Jan Hodkiewicz", + entity_ref_id='accusamus', + name='Jan Hodkiewicz', position=shared.StepPositionAt( index=5424.99, - section_id="sit", + section_id='sit', ), - status="IN_PROGRESS", + status=shared.StepStatusEnum.IN_PROGRESS, user_ids=[ 7438.35, ], ), - execution_id="dolorum", - step_id="iusto", + execution_id='dolorum', + step_id='iusto', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 8af1dcff3..e97f3bb01 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.26.5 - generationVersion: 2.23.6 + speakeasyVersion: 1.27.0 + generationVersion: 2.24.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.2 + version: 1.10.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index e279da676..8ce225c5f 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.9.2", + version="1.10.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 216730c32..df8c932c9 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.2" - _gen_version: str = "2.23.6" + _sdk_version: str = "1.10.0" + _gen_version: str = "2.24.0" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 986a86937..63dce946b 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -731,7 +731,7 @@ def _val_to_string(val): if isinstance(val, datetime): return val.isoformat().replace('+00:00', 'Z') if isinstance(val, Enum): - return val.value + return str(val.value) return str(val) From 7cbc3326d0ea56ee2729446990c777b98e4543e0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 5 May 2023 01:04:12 +0000 Subject: [PATCH 15/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.0 --- workflows_execution/README.md | 1 - workflows_execution/RELEASES.md | 8 ++- workflows_execution/USAGE.md | 1 - workflows_execution/docs/workflows/README.md | 11 ---- workflows_execution/gen.yaml | 7 +-- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 +- workflows_execution/src/epilot/utils/utils.py | 53 ++++++++++++------- workflows_execution/src/epilot/workflows.py | 11 ++++ 9 files changed, 58 insertions(+), 40 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 1d8f61127..905f7b565 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -20,7 +20,6 @@ s = epilot.Epilot( ), ) - req = shared.WorkflowExecutionCreateReq( assigned_to=[ 'provident', diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 6f1246a94..4510bc3d4 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -118,4 +118,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-05 01:04:00 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 54167c787..6f29ac80a 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -9,7 +9,6 @@ s = epilot.Epilot( ), ) - req = shared.WorkflowExecutionCreateReq( assigned_to=[ 'provident', diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md index 25e37c713..397a8e797 100755 --- a/workflows_execution/docs/workflows/README.md +++ b/workflows_execution/docs/workflows/README.md @@ -34,7 +34,6 @@ s = epilot.Epilot( ), ) - req = shared.WorkflowExecutionCreateReq( assigned_to=[ 'mollitia', @@ -72,7 +71,6 @@ s = epilot.Epilot( ), ) - req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( @@ -111,7 +109,6 @@ s = epilot.Epilot( ), ) - req = operations.DeleteExecutionRequest( execution_id='iusto', ) @@ -138,7 +135,6 @@ s = epilot.Epilot( ), ) - req = operations.DeleteStepRequest( execution_id='dicta', step_id='harum', @@ -169,7 +165,6 @@ s = epilot.Epilot( ), ) - req = operations.GetClosingReasonExecutionRequest( execution_id='enim', ) @@ -196,7 +191,6 @@ s = epilot.Epilot( ), ) - req = operations.GetExecutionRequest( execution_id='accusamus', ) @@ -223,7 +217,6 @@ s = epilot.Epilot( ), ) - req = operations.GetExecutionsRequest( context='commodi', schema='repudiandae', @@ -251,7 +244,6 @@ s = epilot.Epilot( ), ) - req = shared.SearchExecutionsReq( assigned_to='quae', include_done_workflows=False, @@ -286,7 +278,6 @@ s = epilot.Epilot( ), ) - req = shared.SearchStepsReq( assigned_to=939.4, execution_name='repudiandae', @@ -323,7 +314,6 @@ s = epilot.Epilot( ), ) - req = operations.UpdateExecutionRequest( workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( assigned_to=[ @@ -396,7 +386,6 @@ s = epilot.Epilot( ), ) - req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index e97f3bb01..723fa9b4a 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,15 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.27.0 - generationVersion: 2.24.0 + speakeasyVersion: 1.29.0 + generationVersion: 2.26.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.10.0 + version: 1.11.0 author: epilot description: Python Client SDK for Epilot + maxMethodParams: 0 packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 8ce225c5f..990c81288 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.10.0", + version="1.11.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index df8c932c9..55d489aeb 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.10.0" - _gen_version: str = "2.24.0" + _sdk_version: str = "1.11.0" + _gen_version: str = "2.26.0" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 63dce946b..a8b0d8f14 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -141,7 +141,8 @@ def _parse_basic_auth_scheme(client: SecurityClient, scheme: dataclass): client.client.headers['Authorization'] = f'Basic {base64.b64encode(data).decode()}' -def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: +def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, + gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: path_param_fields: Tuple[Field, ...] = fields(clazz) for field in path_param_fields: request_metadata = field.metadata.get('request') @@ -233,7 +234,8 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: return url_with_params -def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[str, list[str]]: +def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ + str, list[str]]: params: dict[str, list[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) @@ -267,8 +269,11 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ params = params | _get_deep_object_query_params( metadata, f_name, value) elif style == 'form': - params = params | _get_form_query_params( - metadata, f_name, value) + params = params | _get_delimited_query_params( + metadata, f_name, value, ",") + elif style == 'pipeDelimited': + params = params | _get_delimited_query_params( + metadata, f_name, value, "|") else: raise Exception('not yet implemented') return params @@ -327,12 +332,15 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> if val is None: continue - if params.get(f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]') is None: - params[f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ + if params.get( + f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]') is None: + params[ + f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ ] params[ - f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'].append(_val_to_string(val)) + f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'].append( + _val_to_string(val)) else: params[ f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ @@ -368,25 +376,28 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_form_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name) +def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, array_delimiter: str) -> dict[ + str, list[str]]: + return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, array_delimiter) SERIALIZATION_METHOD_TO_CONTENT_TYPE = { - 'json': 'application/json', - 'form': 'application/x-www-form-urlencoded', + 'json': 'application/json', + 'form': 'application/x-www-form-urlencoded', 'multipart': 'multipart/form-data', - 'raw': 'application/octet-stream', - 'string': 'text/plain', + 'raw': 'application/octet-stream', + 'string': 'text/plain', } -def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[str, any, any]: +def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ + str, any, any]: if request is None: return None, None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): - return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], request) + return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], + request) request_val = getattr(request, request_field_name) @@ -401,7 +412,8 @@ def serialize_request_body(request: dataclass, request_field_name: str, serializ if request_metadata is None: raise Exception('invalid request type') - return serialize_content_type(request_field_name, request_metadata.get('media_type', 'application/octet-stream'), request_val) + return serialize_content_type(request_field_name, request_metadata.get('media_type', 'application/octet-stream'), + request_val) def serialize_content_type(field_name: str, media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: @@ -474,7 +486,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: + str, list[str]]: if existing is None: existing = [] @@ -514,7 +526,7 @@ def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: else: if metadata.get('style', 'form') == 'form': form = form | _populate_form( - field_name, metadata.get('explode', True), val, _get_form_field_name) + field_name, metadata.get('explode', True), val, _get_form_field_name, ",") else: raise Exception( f'Invalid form style for field {field.name}') @@ -536,7 +548,8 @@ def _get_form_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable) -> dict[str, list[str]]: +def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, array_delimiter: str) -> \ + dict[str, list[str]]: params: dict[str, list[str]] = {} if obj is None: @@ -591,7 +604,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [','.join([str(item) for item in items])] + params[field_name] = [array_delimiter.join([str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 7c18c1314..0b9437aab 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -22,6 +22,7 @@ def __init__(self, client: requests_http.Session, security_client: requests_http self._sdk_version = sdk_version self._gen_version = gen_version + def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operations.CreateExecutionResponse: r"""createExecution Create a Workflow Execution. Start a new workflow execution, based on a workflow definition (template). @@ -55,6 +56,7 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat return res + def create_step(self, request: operations.CreateStepRequest) -> operations.CreateStepResponse: r"""createStep Create a new step in current workflow execution. @@ -88,6 +90,7 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat return res + def delete_execution(self, request: operations.DeleteExecutionRequest) -> operations.DeleteExecutionResponse: r"""deleteExecution Delete workflow execution by id. Workflow contexts will NOT be deleted. @@ -113,6 +116,7 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat return res + def delete_step(self, request: operations.DeleteStepRequest) -> operations.DeleteStepResponse: r"""deleteStep Deletes a step from a workflow execution. @@ -138,6 +142,7 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet return res + def get_closing_reason_execution(self, request: operations.GetClosingReasonExecutionRequest) -> operations.GetClosingReasonExecutionResponse: r"""getClosingReasonExecution Shows all Closing Reasons defined at the moment of starting the Workflow Execution. @@ -167,6 +172,7 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu return res + def get_execution(self, request: operations.GetExecutionRequest) -> operations.GetExecutionResponse: r"""getExecution Get a full workflow execution, included steps information, by execution id. @@ -194,6 +200,7 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G return res + def get_executions(self, request: operations.GetExecutionsRequest) -> operations.GetExecutionsResponse: r"""getExecutions Retrieve Workflow Executions. Optionally, you can filter them by context & schema. Please be aware, these executions are more light weight - steps are not loaded with all information. @@ -222,6 +229,7 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations return res + def search_executions(self, request: shared.SearchExecutionsReq) -> operations.SearchExecutionsResponse: r"""searchExecutions Search Workflow Executions by different filters. @@ -255,6 +263,7 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S return res + def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchStepsResponse: r"""searchSteps Search workflow execution steps by different filters. @@ -288,6 +297,7 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps return res + def update_execution(self, request: operations.UpdateExecutionRequest) -> operations.UpdateExecutionResponse: r"""updateExecution Patches updates like assignees, status, closingReason for a single Workflow Execution. @@ -319,6 +329,7 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat return res + def update_step(self, request: operations.UpdateStepRequest) -> operations.UpdateStepResponse: r"""updateStep Patches various changes to a workflow execution step. From a8b493a2c88618a8f63572d68122e37ba21b2708 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 6 May 2023 01:04:40 +0000 Subject: [PATCH 16/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 4510bc3d4..afb460e44 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -124,4 +124,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-06 01:04:26 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 723fa9b4a..e86353bec 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.29.0 - generationVersion: 2.26.0 + speakeasyVersion: 1.29.1 + generationVersion: 2.26.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.0 + version: 1.11.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 990c81288..6cba7ab9c 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.11.0", + version="1.11.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 55d489aeb..41a9b64ee 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.0" - _gen_version: str = "2.26.0" + _sdk_version: str = "1.11.1" + _gen_version: str = "2.26.1" def __init__(self, security: shared.Security = None, From 7f371b5149599197e1fe34ad5f2869f4f6487050 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 10 May 2023 01:08:49 +0000 Subject: [PATCH 17/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index afb460e44..30b9b49a7 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -130,4 +130,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy + +## 2023-05-10 01:08:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index e86353bec..1e67bc4d6 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.29.1 - generationVersion: 2.26.1 + speakeasyVersion: 1.29.2 + generationVersion: 2.26.2 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.1 + version: 1.11.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 6cba7ab9c..08f359245 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.11.1", + version="1.11.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 41a9b64ee..773a8b305 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.1" - _gen_version: str = "2.26.1" + _sdk_version: str = "1.11.2" + _gen_version: str = "2.26.2" def __init__(self, security: shared.Security = None, From 023181649f6bb63b3832ef3153a58ce575cd5fb7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 11 May 2023 01:10:16 +0000 Subject: [PATCH 18/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 30b9b49a7..03c81a1dc 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -136,4 +136,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy + +## 2023-05-11 01:10:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 1e67bc4d6..f9b7c94c3 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.29.2 - generationVersion: 2.26.2 + speakeasyVersion: 1.30.0 + generationVersion: 2.26.3 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.2 + version: 1.11.3 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 08f359245..82c034c91 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.11.2", + version="1.11.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 773a8b305..07739a45e 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.2" - _gen_version: str = "2.26.2" + _sdk_version: str = "1.11.3" + _gen_version: str = "2.26.3" def __init__(self, security: shared.Security = None, From 2cc06771dab576b4e2536401c19bc19e0e64e9eb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 12 May 2023 01:10:21 +0000 Subject: [PATCH 19/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- workflows_execution/src/epilot/utils/utils.py | 16 ++++++++-------- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 03c81a1dc..f25ee8ec7 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -142,4 +142,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy + +## 2023-05-12 01:10:09 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index f9b7c94c3..fcdb80c38 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.30.0 - generationVersion: 2.26.3 + speakeasyVersion: 1.30.1 + generationVersion: 2.26.4 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.3 + version: 1.11.4 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 82c034c91..acccef5e3 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.11.3", + version="1.11.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 07739a45e..d0b3cdad9 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.3" - _gen_version: str = "2.26.3" + _sdk_version: str = "1.11.4" + _gen_version: str = "2.26.4" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index a8b0d8f14..98719fbf7 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -376,9 +376,9 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, array_delimiter: str) -> dict[ +def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ str, list[str]]: - return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, array_delimiter) + return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) SERIALIZATION_METHOD_TO_CONTENT_TYPE = { @@ -548,7 +548,7 @@ def _get_form_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, array_delimiter: str) -> \ +def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, delimiter: str) -> \ dict[str, list[str]]: params: dict[str, list[str]] = {} @@ -572,10 +572,10 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f params[obj_field_name] = [_val_to_string(val)] else: items.append( - f'{obj_field_name},{_val_to_string(val)}') + f'{obj_field_name}{delimiter}{_val_to_string(val)}') if len(items) > 0: - params[field_name] = [','.join(items)] + params[field_name] = [delimiter.join(items)] elif isinstance(obj, dict): items = [] for key, value in obj.items(): @@ -585,10 +585,10 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if explode: params[key] = _val_to_string(value) else: - items.append(f'{key},{_val_to_string(value)}') + items.append(f'{key}{delimiter}{_val_to_string(value)}') if len(items) > 0: - params[field_name] = [','.join(items)] + params[field_name] = [delimiter.join(items)] elif isinstance(obj, list): items = [] @@ -604,7 +604,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [array_delimiter.join([str(item) for item in items])] + params[field_name] = [delimiter.join([str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] From 9546979f01a6365e9d4f121beb8bc195803ea310 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 13 May 2023 01:07:39 +0000 Subject: [PATCH 20/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.31.1 --- workflows_execution/README.md | 2 +- workflows_execution/RELEASES.md | 8 ++++++- workflows_execution/USAGE.md | 2 +- workflows_execution/docs/workflows/README.md | 22 +++++++++---------- workflows_execution/gen.yaml | 6 ++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- workflows_execution/src/epilot/utils/utils.py | 2 +- 8 files changed, 27 insertions(+), 21 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 905f7b565..c1197555e 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -16,7 +16,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index f25ee8ec7..b59a50d6c 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -148,4 +148,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy + +## 2023-05-13 01:07:28 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 6f29ac80a..8004e98a0 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -5,7 +5,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md index 397a8e797..a669e087d 100755 --- a/workflows_execution/docs/workflows/README.md +++ b/workflows_execution/docs/workflows/README.md @@ -30,7 +30,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -67,7 +67,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -105,7 +105,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -131,7 +131,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -161,7 +161,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -187,7 +187,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -213,7 +213,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -240,7 +240,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -274,7 +274,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -310,7 +310,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -382,7 +382,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE", + bearer_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index fcdb80c38..def330ad6 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.30.1 - generationVersion: 2.26.4 + speakeasyVersion: 1.31.1 + generationVersion: 2.27.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.4 + version: 1.12.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index acccef5e3..29dfc33c3 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.11.4", + version="1.12.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index d0b3cdad9..a8acaae10 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.4" - _gen_version: str = "2.26.4" + _sdk_version: str = "1.12.0" + _gen_version: str = "2.27.0" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 98719fbf7..6b39ecf74 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -112,7 +112,7 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, client.client.headers[header_name] = value elif scheme_type == 'http': if sub_type == 'bearer': - client.client.headers[header_name] = value + client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}' else: raise Exception('not supported') else: From 280340e7b13d6a45801b67d75abcf485864f5647 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 16 May 2023 01:11:15 +0000 Subject: [PATCH 21/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.32.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index b59a50d6c..502aa827b 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -154,4 +154,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-16 01:10:58 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index def330ad6..6ce6da031 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.31.1 - generationVersion: 2.27.0 + speakeasyVersion: 1.32.0 + generationVersion: 2.28.0 generation: - telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false + telemetryEnabled: false python: - version: 1.12.0 + version: 1.13.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 29dfc33c3..15edaafd3 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.12.0", + version="1.13.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index a8acaae10..df99851fd 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.12.0" - _gen_version: str = "2.27.0" + _sdk_version: str = "1.13.0" + _gen_version: str = "2.28.0" def __init__(self, security: shared.Security = None, From 857b1432e72c9932dbe289c932a3e2c78ed874d3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 17 May 2023 01:12:46 +0000 Subject: [PATCH 22/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.33.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 502aa827b..483357441 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -160,4 +160,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-17 01:12:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 6ce6da031..626cd7035 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.32.0 - generationVersion: 2.28.0 + speakeasyVersion: 1.33.2 + generationVersion: 2.29.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.13.0 + version: 1.14.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 15edaafd3..9325701b4 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.13.0", + version="1.14.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index df99851fd..f039143d7 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.13.0" - _gen_version: str = "2.28.0" + _sdk_version: str = "1.14.0" + _gen_version: str = "2.29.0" def __init__(self, security: shared.Security = None, From 645e290d092302652702f844400f2de221e4be92 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 18 May 2023 01:10:42 +0000 Subject: [PATCH 23/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.34.0 --- workflows_execution/RELEASES.md | 8 ++++- workflows_execution/gen.yaml | 6 ++-- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 +-- workflows_execution/src/epilot/workflows.py | 37 ++++++++++++--------- 5 files changed, 34 insertions(+), 23 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 483357441..9a7b038fd 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -166,4 +166,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-18 01:10:28 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 626cd7035..ffa5a7dc6 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.33.2 - generationVersion: 2.29.0 + speakeasyVersion: 1.34.0 + generationVersion: 2.30.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.14.0 + version: 1.15.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 9325701b4..4bdb5f80d 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.14.0", + version="1.15.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index f039143d7..276746429 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.14.0" - _gen_version: str = "2.29.0" + _sdk_version: str = "1.15.0" + _gen_version: str = "2.30.0" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 0b9437aab..192fa6840 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -30,13 +30,13 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat base_url = self._server_url url = base_url.removesuffix('/') + '/v1/workflows/executions' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -64,13 +64,13 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat base_url = self._server_url url = utils.generate_url(operations.CreateStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps', request) - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "create_step_req", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -98,11 +98,12 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat base_url = self._server_url url = utils.generate_url(operations.DeleteExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('DELETE', url) + http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.DeleteExecutionResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -124,11 +125,12 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet base_url = self._server_url url = utils.generate_url(operations.DeleteStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('DELETE', url) + http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.DeleteStepResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -152,11 +154,12 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu base_url = self._server_url url = utils.generate_url(operations.GetClosingReasonExecutionRequest, base_url, '/v1/workflows/executions/{executionId}/closing-reasons', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetClosingReasonExecutionResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -180,11 +183,12 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G base_url = self._server_url url = utils.generate_url(operations.GetExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetExecutionResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -208,12 +212,13 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations base_url = self._server_url url = base_url.removesuffix('/') + '/v1/workflows/executions' - + headers = {} query_params = utils.get_query_params(operations.GetExecutionsRequest, request) + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url, params=query_params) + http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetExecutionsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -237,13 +242,13 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S base_url = self._server_url url = base_url.removesuffix('/') + '/v1/workflows/executions/search' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -271,13 +276,13 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps base_url = self._server_url url = base_url.removesuffix('/') + '/v1/workflows/executions/steps/search' - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -305,13 +310,13 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat base_url = self._server_url url = utils.generate_url(operations.UpdateExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "workflow_execution_update_req", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -337,13 +342,13 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat base_url = self._server_url url = utils.generate_url(operations.UpdateStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "update_step_req", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client From 012c68d0bb703b53ac1cebf5c42638afc9dc2ec4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 19 May 2023 01:11:24 +0000 Subject: [PATCH 24/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.35.0 --- workflows_execution/README.md | 2 +- workflows_execution/RELEASES.md | 8 +++++- workflows_execution/USAGE.md | 2 +- workflows_execution/docs/workflows/README.md | 26 +++++++++---------- workflows_execution/files.gen | 12 ++++----- workflows_execution/gen.yaml | 6 ++--- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 14 +++++----- .../src/epilot/models/shared/createstepreq.py | 8 +++--- .../epilot/models/shared/dynamicduedate.py | 8 +++--- .../shared/{itemtype_enum.py => itemtype.py} | 2 +- .../models/shared/searchexecutionsreq.py | 8 +++--- ...searchsorting_enum.py => searchsorting.py} | 2 +- .../epilot/models/shared/searchstepsreq.py | 8 +++--- .../src/epilot/models/shared/section.py | 4 +-- .../epilot/models/shared/sectionsimplified.py | 4 +-- .../src/epilot/models/shared/step.py | 12 ++++----- .../src/epilot/models/shared/stepextended.py | 16 ++++++------ .../epilot/models/shared/steprequirement.py | 8 +++--- .../epilot/models/shared/stepsimplified.py | 8 +++--- .../{stepstatus_enum.py => stepstatus.py} | 2 +- .../shared/{steptype_enum.py => steptype.py} | 2 +- .../{triggertype_enum.py => triggertype.py} | 2 +- .../models/shared/updateentityattributes.py | 4 +-- .../src/epilot/models/shared/updatestepreq.py | 4 +-- .../epilot/models/shared/workflowexecution.py | 8 +++--- .../shared/workflowexecutioncreatereq.py | 4 +-- .../models/shared/workflowexecutionslim.py | 8 +++--- .../shared/workflowexecutionupdatereq.py | 4 +-- ...rkflowstatus_enum.py => workflowstatus.py} | 2 +- workflows_execution/src/epilot/sdk.py | 4 +-- workflows_execution/src/epilot/workflows.py | 11 ++++++++ 32 files changed, 116 insertions(+), 99 deletions(-) rename workflows_execution/src/epilot/models/shared/{itemtype_enum.py => itemtype.py} (85%) rename workflows_execution/src/epilot/models/shared/{searchsorting_enum.py => searchsorting.py} (89%) rename workflows_execution/src/epilot/models/shared/{stepstatus_enum.py => stepstatus.py} (89%) rename workflows_execution/src/epilot/models/shared/{steptype_enum.py => steptype.py} (85%) rename workflows_execution/src/epilot/models/shared/{triggertype_enum.py => triggertype.py} (84%) rename workflows_execution/src/epilot/models/shared/{workflowstatus_enum.py => workflowstatus.py} (84%) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index c1197555e..4327a06ba 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -43,7 +43,7 @@ req = shared.WorkflowExecutionCreateReq( title='Miss', ), ], - trigger=shared.TriggerTypeEnum.AUTOMATIC, + trigger=shared.TriggerType.AUTOMATIC, workflow_id='sapiente', ) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 9a7b038fd..60d4ef622 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -172,4 +172,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-19 01:11:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 8004e98a0..19b25122c 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -32,7 +32,7 @@ req = shared.WorkflowExecutionCreateReq( title='Miss', ), ], - trigger=shared.TriggerTypeEnum.AUTOMATIC, + trigger=shared.TriggerType.AUTOMATIC, workflow_id='sapiente', ) diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md index a669e087d..8567563c6 100755 --- a/workflows_execution/docs/workflows/README.md +++ b/workflows_execution/docs/workflows/README.md @@ -45,7 +45,7 @@ req = shared.WorkflowExecutionCreateReq( title='Dr.', ), ], - trigger=shared.TriggerTypeEnum.MANUAL, + trigger=shared.TriggerType.MANUAL, workflow_id='praesentium', ) @@ -78,11 +78,11 @@ req = operations.CreateStepRequest( execution_status='ipsa', flow_id='omnis', ), - execution_type=shared.StepTypeEnum.MANUAL, + execution_type=shared.StepType.MANUAL, insertion_index=7392.64, name='Sharon Kiehn', section_id='dicta', - status=shared.StepStatusEnum.ASSIGNED, + status=shared.StepStatus.ASSIGNED, ), execution_id='dolore', ) @@ -252,8 +252,8 @@ req = shared.SearchExecutionsReq( creation_time='modi', org_id='praesentium', ), - sorting=shared.SearchSortingEnum.DUE_DATE_DESC, - status=shared.WorkflowStatusEnum.CLOSED, + sorting=shared.SearchSorting.DUE_DATE_DESC, + status=shared.WorkflowStatus.CLOSED, ) res = s.workflows.search_executions(req) @@ -287,8 +287,8 @@ req = shared.SearchStepsReq( from_=5759.47, size=831.12, ), - sorting=shared.SearchSortingEnum.TRIGGER_DATE_DESC, - status=shared.SearchStepsReqStatusEnum.OPEN, + sorting=shared.SearchSorting.TRIGGER_DATE_DESC, + status=shared.SearchStepsReqStatus.OPEN, step_name='enim', ) @@ -340,10 +340,10 @@ req = operations.UpdateExecutionRequest( ], due_date='doloribus', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeConditionEnum.STEP_CLOSED, + action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, number_of_units=2603.41, step_id='maxime', - time_period=shared.DynamicDueDateTimePeriodEnum.WEEKS, + time_period=shared.DynamicDueDateTimePeriod.WEEKS, ), selected_closing_reasons=[ shared.ClosingReason( @@ -359,7 +359,7 @@ req = operations.UpdateExecutionRequest( title='Dr.', ), ], - status=shared.WorkflowStatusEnum.DONE, + status=shared.WorkflowStatus.DONE, ), execution_id='cum', ) @@ -400,10 +400,10 @@ req = operations.UpdateStepRequest( ), due_date='ipsa', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeConditionEnum.WORKFLOW_STARTED, + action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, number_of_units=4344.17, step_id='odio', - time_period=shared.DynamicDueDateTimePeriodEnum.DAYS, + time_period=shared.DynamicDueDateTimePeriod.DAYS, ), entity_ref_id='accusamus', name='Jan Hodkiewicz', @@ -411,7 +411,7 @@ req = operations.UpdateStepRequest( index=5424.99, section_id='sit', ), - status=shared.StepStatusEnum.IN_PROGRESS, + status=shared.StepStatus.IN_PROGRESS, user_ids=[ 7438.35, ], diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 797fd383b..26b96434e 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -21,16 +21,16 @@ src/epilot/models/operations/updatestep.py src/epilot/models/operations/__init__.py src/epilot/models/shared/workflowexecution.py src/epilot/models/shared/updateentityattributes.py -src/epilot/models/shared/triggertype_enum.py -src/epilot/models/shared/workflowstatus_enum.py +src/epilot/models/shared/triggertype.py +src/epilot/models/shared/workflowstatus.py src/epilot/models/shared/closingreason.py src/epilot/models/shared/stepid.py src/epilot/models/shared/section.py -src/epilot/models/shared/itemtype_enum.py +src/epilot/models/shared/itemtype.py src/epilot/models/shared/step.py -src/epilot/models/shared/stepstatus_enum.py +src/epilot/models/shared/stepstatus.py src/epilot/models/shared/steprequirement.py -src/epilot/models/shared/steptype_enum.py +src/epilot/models/shared/steptype.py src/epilot/models/shared/ecpdetails.py src/epilot/models/shared/dynamicduedate.py src/epilot/models/shared/automationconfig.py @@ -45,7 +45,7 @@ src/epilot/models/shared/stepsimplified.py src/epilot/models/shared/searchexecutionsresp.py src/epilot/models/shared/lastevaluatedkey.py src/epilot/models/shared/searchexecutionsreq.py -src/epilot/models/shared/searchsorting_enum.py +src/epilot/models/shared/searchsorting.py src/epilot/models/shared/executionpaginationdynamo.py src/epilot/models/shared/searchstepsresp.py src/epilot/models/shared/stepextended.py diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index ffa5a7dc6..648ea535c 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.34.0 - generationVersion: 2.30.0 + speakeasyVersion: 1.35.0 + generationVersion: 2.31.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.15.0 + version: 1.16.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 4bdb5f80d..bc82f9b5f 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.15.0", + version="1.16.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py index edbda8e6a..d08fe3255 100755 --- a/workflows_execution/src/epilot/models/shared/__init__.py +++ b/workflows_execution/src/epilot/models/shared/__init__.py @@ -8,12 +8,12 @@ from .ecpdetails import * from .errorresp import * from .executionpaginationdynamo import * -from .itemtype_enum import * +from .itemtype import * from .lastevaluatedkey import * from .searchexecutionsreq import * from .searchexecutionsresp import * from .searchpagination import * -from .searchsorting_enum import * +from .searchsorting import * from .searchstepsreq import * from .searchstepsresp import * from .section import * @@ -25,9 +25,9 @@ from .steppositionat import * from .steprequirement import * from .stepsimplified import * -from .stepstatus_enum import * -from .steptype_enum import * -from .triggertype_enum import * +from .stepstatus import * +from .steptype import * +from .triggertype import * from .updateentityattributes import * from .updatestepreq import * from .workflowcontext import * @@ -35,6 +35,6 @@ from .workflowexecutioncreatereq import * from .workflowexecutionslim import * from .workflowexecutionupdatereq import * -from .workflowstatus_enum import * +from .workflowstatus import * -__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeConditionEnum","DynamicDueDateTimePeriodEnum","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemTypeEnum","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSortingEnum","SearchStepsReq","SearchStepsReqStatusEnum","SearchStepsResp","Section","SectionSimplified","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementConditionEnum","StepSimplified","StepStatusEnum","StepTypeEnum","TriggerTypeEnum","UpdateEntityAttributes","UpdateEntityAttributesSourceEnum","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionSlim","WorkflowExecutionUpdateReq","WorkflowStatusEnum"] +__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionSlim","WorkflowExecutionUpdateReq","WorkflowStatus"] diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index 2a52f1c54..ce75e2c72 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -3,8 +3,8 @@ from __future__ import annotations import dataclasses from ..shared import automationconfig as shared_automationconfig -from ..shared import stepstatus_enum as shared_stepstatus_enum -from ..shared import steptype_enum as shared_steptype_enum +from ..shared import stepstatus as shared_stepstatus +from ..shared import steptype as shared_steptype from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -19,7 +19,7 @@ class CreateStepReq: name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py index c01e5fba2..20ded4063 100755 --- a/workflows_execution/src/epilot/models/shared/dynamicduedate.py +++ b/workflows_execution/src/epilot/models/shared/dynamicduedate.py @@ -7,11 +7,11 @@ from epilot import utils from typing import Optional -class DynamicDueDateActionTypeConditionEnum(str, Enum): +class DynamicDueDateActionTypeCondition(str, Enum): WORKFLOW_STARTED = 'WORKFLOW_STARTED' STEP_CLOSED = 'STEP_CLOSED' -class DynamicDueDateTimePeriodEnum(str, Enum): +class DynamicDueDateTimePeriod(str, Enum): DAYS = 'days' WEEKS = 'weeks' MONTHS = 'months' @@ -23,7 +23,7 @@ class DynamicDueDate: r"""set a Duedate for a step then a specific""" number_of_units: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('numberOfUnits') }}) - time_period: DynamicDueDateTimePeriodEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timePeriod') }}) - action_type_condition: Optional[DynamicDueDateActionTypeConditionEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actionTypeCondition'), 'exclude': lambda f: f is None }}) + time_period: DynamicDueDateTimePeriod = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timePeriod') }}) + action_type_condition: Optional[DynamicDueDateActionTypeCondition] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actionTypeCondition'), 'exclude': lambda f: f is None }}) step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/itemtype_enum.py b/workflows_execution/src/epilot/models/shared/itemtype.py similarity index 85% rename from workflows_execution/src/epilot/models/shared/itemtype_enum.py rename to workflows_execution/src/epilot/models/shared/itemtype.py index e4f4e9f4b..9c9bb00b2 100755 --- a/workflows_execution/src/epilot/models/shared/itemtype_enum.py +++ b/workflows_execution/src/epilot/models/shared/itemtype.py @@ -3,6 +3,6 @@ from __future__ import annotations from enum import Enum -class ItemTypeEnum(str, Enum): +class ItemType(str, Enum): STEP = 'STEP' SECTION = 'SECTION' diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py index 49baa4a41..04baecfec 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py @@ -3,8 +3,8 @@ from __future__ import annotations import dataclasses from ..shared import executionpaginationdynamo as shared_executionpaginationdynamo -from ..shared import searchsorting_enum as shared_searchsorting_enum -from ..shared import workflowstatus_enum as shared_workflowstatus_enum +from ..shared import searchsorting as shared_searchsorting +from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -19,6 +19,6 @@ class SearchExecutionsReq: include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) pagination: Optional[shared_executionpaginationdynamo.ExecutionPaginationDynamo] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) - sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + sorting: Optional[shared_searchsorting.SearchSorting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) + status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/searchsorting_enum.py b/workflows_execution/src/epilot/models/shared/searchsorting.py similarity index 89% rename from workflows_execution/src/epilot/models/shared/searchsorting_enum.py rename to workflows_execution/src/epilot/models/shared/searchsorting.py index 645200cf2..fd323cf6b 100755 --- a/workflows_execution/src/epilot/models/shared/searchsorting_enum.py +++ b/workflows_execution/src/epilot/models/shared/searchsorting.py @@ -3,7 +3,7 @@ from __future__ import annotations from enum import Enum -class SearchSortingEnum(str, Enum): +class SearchSorting(str, Enum): A_Z = 'A_Z' Z_A = 'Z_A' DUE_DATE_ASC = 'DUE_DATE_ASC' diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index 05427034b..74b0967f7 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -3,13 +3,13 @@ from __future__ import annotations import dataclasses from ..shared import searchpagination as shared_searchpagination -from ..shared import searchsorting_enum as shared_searchsorting_enum +from ..shared import searchsorting as shared_searchsorting from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils from typing import Optional -class SearchStepsReqStatusEnum(str, Enum): +class SearchStepsReqStatus(str, Enum): OPEN = 'OPEN' COMPLETE = 'COMPLETE' NEXT_OPEN_ITEM_IN_WORKFLOW = 'NEXT_OPEN_ITEM_IN_WORKFLOW' @@ -25,7 +25,7 @@ class SearchStepsReq: include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) pagination: Optional[shared_searchpagination.SearchPagination] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) - sorting: Optional[shared_searchsorting_enum.SearchSortingEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) - status: Optional[SearchStepsReqStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + sorting: Optional[shared_searchsorting.SearchSorting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) + status: Optional[SearchStepsReqStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) step_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepName'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index 82332245e..e526613ad 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses -from ..shared import itemtype_enum as shared_itemtype_enum +from ..shared import itemtype as shared_itemtype from ..shared import step as shared_step from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -18,7 +18,7 @@ class Section: name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name for this Section""" steps: list[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py index 578894d9a..b9a5dfe41 100755 --- a/workflows_execution/src/epilot/models/shared/sectionsimplified.py +++ b/workflows_execution/src/epilot/models/shared/sectionsimplified.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses -from ..shared import itemtype_enum as shared_itemtype_enum +from ..shared import itemtype as shared_itemtype from ..shared import stepsimplified as shared_stepsimplified from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -18,6 +18,6 @@ class SectionSimplified: name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name for this Section""" steps: list[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index a4ad84b91..f0ed3ece8 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -5,10 +5,10 @@ from ..shared import automationconfig as shared_automationconfig from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import ecpdetails as shared_ecpdetails -from ..shared import itemtype_enum as shared_itemtype_enum +from ..shared import itemtype as shared_itemtype from ..shared import steprequirement as shared_steprequirement -from ..shared import stepstatus_enum as shared_stepstatus_enum -from ..shared import steptype_enum as shared_steptype_enum +from ..shared import stepstatus as shared_stepstatus +from ..shared import steptype as shared_steptype from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -22,7 +22,7 @@ class Step: entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" @@ -38,12 +38,12 @@ class Step: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""enabled flag results from calculating the requirements""" execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 61f7c009c..eaaf5fec0 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -5,12 +5,12 @@ from ..shared import automationconfig as shared_automationconfig from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import ecpdetails as shared_ecpdetails -from ..shared import itemtype_enum as shared_itemtype_enum +from ..shared import itemtype as shared_itemtype from ..shared import steprequirement as shared_steprequirement -from ..shared import stepstatus_enum as shared_stepstatus_enum -from ..shared import steptype_enum as shared_steptype_enum +from ..shared import stepstatus as shared_stepstatus +from ..shared import steptype as shared_steptype from ..shared import workflowcontext as shared_workflowcontext -from ..shared import workflowstatus_enum as shared_workflowstatus_enum +from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -23,10 +23,10 @@ class StepExtended: entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) execution_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName') }}) - execution_status: shared_workflowstatus_enum.WorkflowStatusEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus') }}) + execution_status: shared_workflowstatus.WorkflowStatus = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" @@ -42,12 +42,12 @@ class StepExtended: r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""enabled flag results from calculating the requirements""" - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index 4adc6e12e..a6be58bbf 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -2,12 +2,12 @@ from __future__ import annotations import dataclasses -from ..shared import itemtype_enum as shared_itemtype_enum +from ..shared import itemtype as shared_itemtype from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -class StepRequirementConditionEnum(str, Enum): +class StepRequirementCondition(str, Enum): CLOSED = 'CLOSED' @@ -16,7 +16,7 @@ class StepRequirementConditionEnum(str, Enum): class StepRequirement: r"""describe the requirement for step enablement""" - condition: StepRequirementConditionEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) + condition: StepRequirementCondition = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py index 0d7b737eb..fd400311b 100755 --- a/workflows_execution/src/epilot/models/shared/stepsimplified.py +++ b/workflows_execution/src/epilot/models/shared/stepsimplified.py @@ -3,9 +3,9 @@ from __future__ import annotations import dataclasses from ..shared import ecpdetails as shared_ecpdetails -from ..shared import itemtype_enum as shared_itemtype_enum +from ..shared import itemtype as shared_itemtype from ..shared import steprequirement as shared_steprequirement -from ..shared import steptype_enum as shared_steptype_enum +from ..shared import steptype as shared_steptype from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -18,11 +18,11 @@ class StepSimplified: entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - type: shared_itemtype_enum.ItemTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) - execution_type: Optional[shared_steptype_enum.StepTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/stepstatus_enum.py b/workflows_execution/src/epilot/models/shared/stepstatus.py similarity index 89% rename from workflows_execution/src/epilot/models/shared/stepstatus_enum.py rename to workflows_execution/src/epilot/models/shared/stepstatus.py index 2c81021d9..ca7d2d176 100755 --- a/workflows_execution/src/epilot/models/shared/stepstatus_enum.py +++ b/workflows_execution/src/epilot/models/shared/stepstatus.py @@ -3,7 +3,7 @@ from __future__ import annotations from enum import Enum -class StepStatusEnum(str, Enum): +class StepStatus(str, Enum): UNASSIGNED = 'UNASSIGNED' ASSIGNED = 'ASSIGNED' COMPLETED = 'COMPLETED' diff --git a/workflows_execution/src/epilot/models/shared/steptype_enum.py b/workflows_execution/src/epilot/models/shared/steptype.py similarity index 85% rename from workflows_execution/src/epilot/models/shared/steptype_enum.py rename to workflows_execution/src/epilot/models/shared/steptype.py index 79c54fe8e..178c7ab17 100755 --- a/workflows_execution/src/epilot/models/shared/steptype_enum.py +++ b/workflows_execution/src/epilot/models/shared/steptype.py @@ -3,6 +3,6 @@ from __future__ import annotations from enum import Enum -class StepTypeEnum(str, Enum): +class StepType(str, Enum): MANUAL = 'MANUAL' AUTOMATION = 'AUTOMATION' diff --git a/workflows_execution/src/epilot/models/shared/triggertype_enum.py b/workflows_execution/src/epilot/models/shared/triggertype.py similarity index 84% rename from workflows_execution/src/epilot/models/shared/triggertype_enum.py rename to workflows_execution/src/epilot/models/shared/triggertype.py index c2ada0920..772de02b3 100755 --- a/workflows_execution/src/epilot/models/shared/triggertype_enum.py +++ b/workflows_execution/src/epilot/models/shared/triggertype.py @@ -3,6 +3,6 @@ from __future__ import annotations from enum import Enum -class TriggerTypeEnum(str, Enum): +class TriggerType(str, Enum): MANUAL = 'MANUAL' AUTOMATIC = 'AUTOMATIC' diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py index e4e84e73f..604eb7049 100755 --- a/workflows_execution/src/epilot/models/shared/updateentityattributes.py +++ b/workflows_execution/src/epilot/models/shared/updateentityattributes.py @@ -6,7 +6,7 @@ from enum import Enum from epilot import utils -class UpdateEntityAttributesSourceEnum(str, Enum): +class UpdateEntityAttributesSource(str, Enum): WORKFLOW_STATUS = 'workflow_status' CURRENT_SECTION = 'current_section' CURRENT_STEP = 'current_step' @@ -24,6 +24,6 @@ class UpdateEntityAttributesTarget: @dataclasses.dataclass class UpdateEntityAttributes: - source: UpdateEntityAttributesSourceEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) + source: UpdateEntityAttributesSource = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) target: UpdateEntityAttributesTarget = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('target') }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index 4688edd3e..03f83ba89 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -5,7 +5,7 @@ from ..shared import automationconfig as shared_automationconfig from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import steppositionat as shared_steppositionat -from ..shared import stepstatus_enum as shared_stepstatus_enum +from ..shared import stepstatus as shared_stepstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -27,7 +27,7 @@ class UpdateStepReq: r"""set a Duedate for a step then a specific""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) - status: Optional[shared_stepstatus_enum.StepStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index 6396b80ba..78930e395 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -5,10 +5,10 @@ from ..shared import closingreason as shared_closingreason from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import stepid as shared_stepid -from ..shared import triggertype_enum as shared_triggertype_enum +from ..shared import triggertype as shared_triggertype from ..shared import updateentityattributes as shared_updateentityattributes from ..shared import workflowcontext as shared_workflowcontext -from ..shared import workflowstatus_enum as shared_workflowstatus_enum +from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -42,8 +42,8 @@ class WorkflowExecution: next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) r"""Version of the workflow execution""" diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py index 43da8ab41..c324d6ca8 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses -from ..shared import triggertype_enum as shared_triggertype_enum +from ..shared import triggertype as shared_triggertype from ..shared import workflowcontext as shared_workflowcontext from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -17,5 +17,5 @@ class WorkflowExecutionCreateReq: workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index f702db0f3..5ebc5c64a 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -5,10 +5,10 @@ from ..shared import closingreason as shared_closingreason from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import stepid as shared_stepid -from ..shared import triggertype_enum as shared_triggertype_enum +from ..shared import triggertype as shared_triggertype from ..shared import updateentityattributes as shared_updateentityattributes from ..shared import workflowcontext as shared_workflowcontext -from ..shared import workflowstatus_enum as shared_workflowstatus_enum +from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Any, Optional @@ -41,8 +41,8 @@ class WorkflowExecutionSlim: next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - trigger: Optional[shared_triggertype_enum.TriggerTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) + status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) r"""Version of the workflow execution""" diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index 270c9c24d..1d887dd66 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -5,7 +5,7 @@ from ..shared import closingreason as shared_closingreason from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import workflowcontext as shared_workflowcontext -from ..shared import workflowstatus_enum as shared_workflowstatus_enum +from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @@ -25,5 +25,5 @@ class WorkflowExecutionUpdateReq: dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) r"""set a Duedate for a step then a specific""" selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) - status: Optional[shared_workflowstatus_enum.WorkflowStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/workflows_execution/src/epilot/models/shared/workflowstatus_enum.py b/workflows_execution/src/epilot/models/shared/workflowstatus.py similarity index 84% rename from workflows_execution/src/epilot/models/shared/workflowstatus_enum.py rename to workflows_execution/src/epilot/models/shared/workflowstatus.py index 71cb8c85a..86b25f122 100755 --- a/workflows_execution/src/epilot/models/shared/workflowstatus_enum.py +++ b/workflows_execution/src/epilot/models/shared/workflowstatus.py @@ -3,7 +3,7 @@ from __future__ import annotations from enum import Enum -class WorkflowStatusEnum(str, Enum): +class WorkflowStatus(str, Enum): STARTED = 'STARTED' DONE = 'DONE' CLOSED = 'CLOSED' diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 276746429..f2911305d 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.15.0" - _gen_version: str = "2.30.0" + _sdk_version: str = "1.16.0" + _gen_version: str = "2.31.0" def __init__(self, security: shared.Security = None, diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 192fa6840..68dddbfd5 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -36,6 +36,7 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -70,6 +71,7 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -99,6 +101,7 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat url = utils.generate_url(operations.DeleteExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -126,6 +129,7 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet url = utils.generate_url(operations.DeleteStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -155,6 +159,7 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu url = utils.generate_url(operations.GetClosingReasonExecutionRequest, base_url, '/v1/workflows/executions/{executionId}/closing-reasons', request) headers = {} + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -184,6 +189,7 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G url = utils.generate_url(operations.GetExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -214,6 +220,7 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations url = base_url.removesuffix('/') + '/v1/workflows/executions' headers = {} query_params = utils.get_query_params(operations.GetExecutionsRequest, request) + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -248,6 +255,7 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -282,6 +290,7 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -316,6 +325,7 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -348,6 +358,7 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') + headers['Accept'] = 'application/json;q=1, application/json;q=0' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client From 851b797e0a988885672c1077a6f771d4d3db2755 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 23 May 2023 01:10:47 +0000 Subject: [PATCH 25/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.37.5 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 60d4ef622..435bf377a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -178,4 +178,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-23 01:10:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 648ea535c..c97f891f4 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.35.0 - generationVersion: 2.31.0 + speakeasyVersion: 1.37.5 + generationVersion: 2.32.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.16.0 + version: 1.17.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index bc82f9b5f..120ce5c73 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.16.0", + version="1.17.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index f2911305d..fe57cee9a 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.16.0" - _gen_version: str = "2.31.0" + _sdk_version: str = "1.17.0" + _gen_version: str = "2.32.2" def __init__(self, security: shared.Security = None, From a85a4862980b123783bc68e0fd99dcdd6dab6c0b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 27 May 2023 01:11:49 +0000 Subject: [PATCH 26/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.39.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 435bf377a..3bd15c5d3 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -184,4 +184,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy + +## 2023-05-27 01:11:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index c97f891f4..517bd9dd4 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.37.5 - generationVersion: 2.32.2 + speakeasyVersion: 1.39.0 + generationVersion: 2.32.7 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.17.0 + version: 1.17.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 120ce5c73..ca93377a1 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.17.0", + version="1.17.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index fe57cee9a..807bc65a8 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.17.0" - _gen_version: str = "2.32.2" + _sdk_version: str = "1.17.1" + _gen_version: str = "2.32.7" def __init__(self, security: shared.Security = None, From 59f66c9a3a7201bf7a1676ec26f80cfc89d6176c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 1 Jun 2023 01:47:58 +0000 Subject: [PATCH 27/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.40.2 --- workflows_execution/.gitignore | 5 +++++ workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/files.gen | 1 + workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 7 +++++-- workflows_execution/src/epilot/sdk.py | 4 ++-- 6 files changed, 23 insertions(+), 8 deletions(-) create mode 100755 workflows_execution/.gitignore diff --git a/workflows_execution/.gitignore b/workflows_execution/.gitignore new file mode 100755 index 000000000..9072ad43b --- /dev/null +++ b/workflows_execution/.gitignore @@ -0,0 +1,5 @@ +venv/ +src/*.egg-info/ +__pycache__/ +.pytest_cache/ +.python-version` \ No newline at end of file diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 3bd15c5d3..093064e1b 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -190,4 +190,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy + +## 2023-06-01 01:47:41 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 26b96434e..8ee7a0595 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -1,5 +1,6 @@ src/epilot/workflows.py src/epilot/sdk.py +.gitignore pylintrc setup.py src/epilot/__init__.py diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 517bd9dd4..a847b9cb7 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.39.0 - generationVersion: 2.32.7 + speakeasyVersion: 1.40.2 + generationVersion: 2.34.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.17.1 + version: 1.18.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index ca93377a1..5a0f461fe 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.17.1", + version="1.18.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, @@ -21,6 +21,7 @@ "charset-normalizer==2.1.1", "dataclasses-json-speakeasy==0.5.8", "idna==3.3", + "jsonpath-python==1.0.6 ", "marshmallow==3.17.1", "marshmallow-enum==1.5.1", "mypy-extensions==0.4.3", @@ -32,8 +33,10 @@ "typing-inspect==0.8.0", "typing_extensions==4.3.0", "urllib3==1.26.12", - "pylint==2.16.2", ], + extras_require={ + "dev":["pylint==2.16.2"] + }, package_dir={'': 'src'}, python_requires='>=3.9' ) diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 807bc65a8..135c6ae07 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.17.1" - _gen_version: str = "2.32.7" + _sdk_version: str = "1.18.0" + _gen_version: str = "2.34.2" def __init__(self, security: shared.Security = None, From 35f7694f9067ce88a7f30ea940816f2f9b76abc0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 2 Jun 2023 01:23:33 +0000 Subject: [PATCH 28/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.40.3 --- workflows_execution/RELEASES.md | 8 ++++++- workflows_execution/gen.yaml | 6 ++--- workflows_execution/setup.py | 34 +++++++++++++-------------- workflows_execution/src/epilot/sdk.py | 4 ++-- 4 files changed, 29 insertions(+), 23 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 093064e1b..7c82bc25a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -196,4 +196,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-02 01:23:19 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index a847b9cb7..5ce0ad5f7 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.40.2 - generationVersion: 2.34.2 + speakeasyVersion: 1.40.3 + generationVersion: 2.34.7 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.18.0 + version: 1.18.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 5a0f461fe..db604dfe1 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,29 +10,29 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.18.0", + version="1.18.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi==2022.12.7", - "charset-normalizer==2.1.1", - "dataclasses-json-speakeasy==0.5.8", - "idna==3.3", - "jsonpath-python==1.0.6 ", - "marshmallow==3.17.1", - "marshmallow-enum==1.5.1", - "mypy-extensions==0.4.3", - "packaging==21.3", - "pyparsing==3.0.9", - "python-dateutil==2.8.2", - "requests==2.28.1", - "six==1.16.0", - "typing-inspect==0.8.0", - "typing_extensions==4.3.0", - "urllib3==1.26.12", + "certifi>=2022.12.7", + "charset-normalizer>=2.1.1", + "dataclasses-json-speakeasy>=0.5.8", + "idna>=3.3", + "jsonpath-python>=1.0.6 ", + "marshmallow>=3.17.1", + "marshmallow-enum>=1.5.1", + "mypy-extensions>=0.4.3", + "packaging>=21.3", + "pyparsing>=3.0.9", + "python-dateutil>=2.8.2", + "requests>=2.28.1", + "six>=1.16.0", + "typing-inspect>=0.8.0", + "typing_extensions>=4.3.0", + "urllib3>=1.26.12", ], extras_require={ "dev":["pylint==2.16.2"] diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 135c6ae07..9ee026656 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -19,8 +19,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.18.0" - _gen_version: str = "2.34.2" + _sdk_version: str = "1.18.1" + _gen_version: str = "2.34.7" def __init__(self, security: shared.Security = None, From 1eeef48896454580f3d69a10583e07b2c7b93556 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 3 Jun 2023 01:24:47 +0000 Subject: [PATCH 29/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.43.0 --- workflows_execution/RELEASES.md | 8 +- workflows_execution/files.gen | 1 + workflows_execution/gen.yaml | 6 +- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/__init__.py | 1 + workflows_execution/src/epilot/sdk.py | 44 +++------ .../src/epilot/sdkconfiguration.py | 27 ++++++ workflows_execution/src/epilot/workflows.py | 96 +++++++++---------- 8 files changed, 96 insertions(+), 89 deletions(-) create mode 100755 workflows_execution/src/epilot/sdkconfiguration.py diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 7c82bc25a..cae8a668d 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -202,4 +202,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy + +## 2023-06-03 01:24:31 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 8ee7a0595..1c7dfa5cb 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -1,3 +1,4 @@ +src/epilot/sdkconfiguration.py src/epilot/workflows.py src/epilot/sdk.py .gitignore diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 5ce0ad5f7..10cd67a20 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.40.3 - generationVersion: 2.34.7 + speakeasyVersion: 1.43.0 + generationVersion: 2.35.3 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.18.1 + version: 1.19.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index db604dfe1..5ac70c685 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.18.1", + version="1.19.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/__init__.py b/workflows_execution/src/epilot/__init__.py index b9e232018..e6c0deeb6 100755 --- a/workflows_execution/src/epilot/__init__.py +++ b/workflows_execution/src/epilot/__init__.py @@ -1,3 +1,4 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" from .sdk import * +from .sdkconfiguration import * diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 9ee026656..a0e5d47cb 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -1,29 +1,21 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import requests as requests_http -from . import utils +from .sdkconfiguration import SDKConfiguration from .workflows import Workflows +from epilot import utils from epilot.models import shared -SERVERS = [ - "https://workflows-execution.sls.epilot.io", -] -"""Contains the list of servers available to the SDK""" - class Epilot: r"""Service for Workflow Executions which covers executions of processes defined in an Organization""" workflows: Workflows r"""Interact with workflow executions - start / close / retrieve one or all / search / delete""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str = SERVERS[0] - _language: str = "python" - _sdk_version: str = "1.18.1" - _gen_version: str = "2.34.7" + sdk_configuration: SDKConfiguration def __init__(self, security: shared.Security = None, + server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, client: requests_http.Session = None @@ -32,6 +24,8 @@ def __init__(self, :param security: The security details required for authentication :type security: shared.Security + :param server_idx: The index of the server to use for all operations + :type server_idx: int :param server_url: The server URL to use for all operations :type server_url: str :param url_params: Parameters to optionally template the server URL with @@ -39,31 +33,19 @@ def __init__(self, :param client: The requests.Session HTTP client to use for all operations :type client: requests_http.Session """ - self._client = requests_http.Session() + if client is None: + client = requests_http.Session() + security_client = utils.configure_security_client(client, security) if server_url is not None: if url_params is not None: - self._server_url = utils.template_url(server_url, url_params) - else: - self._server_url = server_url - - if client is not None: - self._client = client - - self._security_client = utils.configure_security_client(self._client, security) - + server_url = utils.template_url(server_url, url_params) + self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx) + self._init_sdks() def _init_sdks(self): - self.workflows = Workflows( - self._client, - self._security_client, - self._server_url, - self._language, - self._sdk_version, - self._gen_version - ) - + self.workflows = Workflows(self.sdk_configuration) \ No newline at end of file diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py new file mode 100755 index 000000000..b5a247b19 --- /dev/null +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests +from dataclasses import dataclass + +SERVERS = [ + 'https://workflows-execution.sls.epilot.io', +] +"""Contains the list of servers available to the SDK""" + +@dataclass +class SDKConfiguration: + client: requests.Session + security_client: requests.Session + server_url: str = '' + server_idx: int = 0 + language: str = 'python' + sdk_version: str = '1.19.0' + gen_version: str = '2.35.3' + + def get_server_details(self) -> tuple[str, dict[str, str]]: + if self.server_url: + return self.server_url.removesuffix('/'), {} + if self.server_idx is None: + self.server_idx = 0 + + return SERVERS[self.server_idx], {} diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 68dddbfd5..31379e7af 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -1,35 +1,25 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -import requests as requests_http -from . import utils +from .sdkconfiguration import SDKConfiguration +from epilot import utils from epilot.models import operations, shared from typing import Optional class Workflows: r"""Interact with workflow executions - start / close / retrieve one or all / search / delete""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str - _language: str - _sdk_version: str - _gen_version: str - - def __init__(self, client: requests_http.Session, security_client: requests_http.Session, server_url: str, language: str, sdk_version: str, gen_version: str) -> None: - self._client = client - self._security_client = security_client - self._server_url = server_url - self._language = language - self._sdk_version = sdk_version - self._gen_version = gen_version + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operations.CreateExecutionResponse: r"""createExecution Create a Workflow Execution. Start a new workflow execution, based on a workflow definition (template). """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v1/workflows/executions' + url = base_url + '/v1/workflows/executions' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -37,9 +27,9 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -62,7 +52,7 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat r"""createStep Create a new step in current workflow execution. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.CreateStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps', request) headers = {} @@ -72,9 +62,9 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -97,14 +87,14 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat r"""deleteExecution Delete workflow execution by id. Workflow contexts will NOT be deleted. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.DeleteExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -125,14 +115,14 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet r"""deleteStep Deletes a step from a workflow execution. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.DeleteStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -155,14 +145,14 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu The Closing Reasons shown in the execution are just snapshots from the state of the Definition when the instance was created. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetClosingReasonExecutionRequest, base_url, '/v1/workflows/executions/{executionId}/closing-reasons', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -185,14 +175,14 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G r"""getExecution Get a full workflow execution, included steps information, by execution id. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -215,15 +205,15 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations r"""getExecutions Retrieve Workflow Executions. Optionally, you can filter them by context & schema. Please be aware, these executions are more light weight - steps are not loaded with all information. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v1/workflows/executions' + url = base_url + '/v1/workflows/executions' headers = {} query_params = utils.get_query_params(operations.GetExecutionsRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, params=query_params, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -246,9 +236,9 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S r"""searchExecutions Search Workflow Executions by different filters. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v1/workflows/executions/search' + url = base_url + '/v1/workflows/executions/search' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -256,9 +246,9 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -281,9 +271,9 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps r"""searchSteps Search workflow execution steps by different filters. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - url = base_url.removesuffix('/') + '/v1/workflows/executions/steps/search' + url = base_url + '/v1/workflows/executions/steps/search' headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): @@ -291,9 +281,9 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('POST', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -316,7 +306,7 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat r"""updateExecution Patches updates like assignees, status, closingReason for a single Workflow Execution. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.UpdateExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} @@ -326,9 +316,9 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -349,7 +339,7 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat r"""updateStep Patches various changes to a workflow execution step. """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.UpdateStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) headers = {} @@ -359,9 +349,9 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') From 6cfcdc47f7533b44a48ff1ce61b709e502acc42a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 7 Jun 2023 01:25:24 +0000 Subject: [PATCH 30/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.44.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/docs/epilot/README.md | 2 +- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdk.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 5 +++-- 6 files changed, 16 insertions(+), 9 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index cae8a668d..c03d5b724 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -208,4 +208,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy + +## 2023-06-07 01:25:09 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/docs/epilot/README.md b/workflows_execution/docs/epilot/README.md index 6f3408074..b3dbf5c30 100755 --- a/workflows_execution/docs/epilot/README.md +++ b/workflows_execution/docs/epilot/README.md @@ -2,7 +2,7 @@ ## Overview -Service for Workflow Executions which covers executions of processes defined in an Organization +Workflows Executions: Service for Workflow Executions which covers executions of processes defined in an Organization ### Available Operations diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 10cd67a20..b1a22f97c 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.43.0 - generationVersion: 2.35.3 + speakeasyVersion: 1.44.2 + generationVersion: 2.35.9 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.19.0 + version: 1.19.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 5ac70c685..e7e19bf19 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.19.0", + version="1.19.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index a0e5d47cb..c63580990 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -7,7 +7,7 @@ from epilot.models import shared class Epilot: - r"""Service for Workflow Executions which covers executions of processes defined in an Organization""" + r"""Workflows Executions: Service for Workflow Executions which covers executions of processes defined in an Organization""" workflows: Workflows r"""Interact with workflow executions - start / close / retrieve one or all / search / delete""" diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index b5a247b19..15d31e1b9 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -3,6 +3,7 @@ import requests from dataclasses import dataclass + SERVERS = [ 'https://workflows-execution.sls.epilot.io', ] @@ -15,8 +16,8 @@ class SDKConfiguration: server_url: str = '' server_idx: int = 0 language: str = 'python' - sdk_version: str = '1.19.0' - gen_version: str = '2.35.3' + sdk_version: str = '1.19.1' + gen_version: str = '2.35.9' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 9c9057a0b84d9215aa4685e48043ffebe000e090 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 8 Jun 2023 01:22:11 +0000 Subject: [PATCH 31/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.0 --- workflows_execution/README.md | 2 +- workflows_execution/RELEASES.md | 8 ++++++- workflows_execution/USAGE.md | 2 +- workflows_execution/docs/workflows/README.md | 22 +++++++++---------- workflows_execution/gen.yaml | 6 ++--- workflows_execution/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 5 +++-- workflows_execution/src/epilot/workflows.py | 22 +++++++++---------- 8 files changed, 38 insertions(+), 31 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 4327a06ba..c84ceb290 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -16,7 +16,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index c03d5b724..fcc74b544 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -214,4 +214,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy + +## 2023-06-08 01:21:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 19b25122c..1cd58834e 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -5,7 +5,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md index 8567563c6..b153cda76 100755 --- a/workflows_execution/docs/workflows/README.md +++ b/workflows_execution/docs/workflows/README.md @@ -30,7 +30,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -67,7 +67,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -105,7 +105,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -131,7 +131,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -161,7 +161,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -187,7 +187,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -213,7 +213,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -240,7 +240,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -274,7 +274,7 @@ from epilot.models import shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -310,7 +310,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) @@ -382,7 +382,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - bearer_auth="YOUR_BEARER_TOKEN_HERE", + bearer_auth="", ), ) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index b1a22f97c..51f886e25 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.44.2 - generationVersion: 2.35.9 + speakeasyVersion: 1.45.0 + generationVersion: 2.37.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.19.1 + version: 1.20.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index e7e19bf19..a1a1ba3fb 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.19.1", + version="1.20.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 15d31e1b9..128b62513 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -16,8 +16,9 @@ class SDKConfiguration: server_url: str = '' server_idx: int = 0 language: str = 'python' - sdk_version: str = '1.19.1' - gen_version: str = '2.35.9' + openapi_doc_version: str = '1.0.0' + sdk_version: str = '1.20.0' + gen_version: str = '2.37.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 31379e7af..9f23c4afd 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -27,7 +27,7 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -62,7 +62,7 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -92,7 +92,7 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat url = utils.generate_url(operations.DeleteExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -120,7 +120,7 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet url = utils.generate_url(operations.DeleteStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -150,7 +150,7 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu url = utils.generate_url(operations.GetClosingReasonExecutionRequest, base_url, '/v1/workflows/executions/{executionId}/closing-reasons', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -180,7 +180,7 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G url = utils.generate_url(operations.GetExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -211,7 +211,7 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations headers = {} query_params = utils.get_query_params(operations.GetExecutionsRequest, request) headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -246,7 +246,7 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -281,7 +281,7 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -316,7 +316,7 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -349,7 +349,7 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json;q=1, application/json;q=0' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client From 746bb73a2905493b09f901879f3761f500a2dbdb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 9 Jun 2023 01:24:08 +0000 Subject: [PATCH 32/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index fcc74b544..f4abc1206 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -220,4 +220,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy + +## 2023-06-09 01:23:53 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 51f886e25..548de4b9c 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.45.0 - generationVersion: 2.37.0 + speakeasyVersion: 1.45.2 + generationVersion: 2.37.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.20.0 + version: 1.20.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index a1a1ba3fb..0be19c5c0 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.20.0", + version="1.20.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 128b62513..30b488890 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.20.0' - gen_version: str = '2.37.0' + sdk_version: str = '1.20.1' + gen_version: str = '2.37.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 9308dc260da382a8dc301a0b7808257601429e0b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 10 Jun 2023 01:17:03 +0000 Subject: [PATCH 33/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.0 --- workflows_execution/README.md | 24 +- workflows_execution/RELEASES.md | 8 +- .../operations/createexecutionresponse.md | 12 + .../models/operations/createsteprequest.md | 9 + .../models/operations/createstepresponse.md | 12 + .../operations/deleteexecutionrequest.md | 8 + .../operations/deleteexecutionresponse.md | 11 + .../models/operations/deletesteprequest.md | 9 + .../models/operations/deletestepresponse.md | 11 + .../getclosingreasonexecutionrequest.md | 8 + .../getclosingreasonexecutionresponse.md | 12 + .../models/operations/getexecutionrequest.md | 8 + .../models/operations/getexecutionresponse.md | 12 + .../models/operations/getexecutionsrequest.md | 9 + .../operations/getexecutionsresponse.md | 12 + .../operations/searchexecutionsresponse.md | 12 + .../models/operations/searchstepsresponse.md | 12 + .../operations/updateexecutionrequest.md | 9 + .../operations/updateexecutionresponse.md | 11 + .../models/operations/updatesteprequest.md | 10 + .../models/operations/updatestepresponse.md | 12 + .../docs/models/shared/automationconfig.md | 12 + .../docs/models/shared/closingreason.md | 9 + .../docs/models/shared/closingreasonresp.md | 10 + .../docs/models/shared/createstepreq.md | 15 + .../docs/models/shared/dynamicduedate.md | 13 + .../dynamicduedateactiontypecondition.md | 9 + .../models/shared/dynamicduedatetimeperiod.md | 10 + .../docs/models/shared/ecpdetails.md | 10 + .../docs/models/shared/errorresp.md | 10 + .../shared/executionpaginationdynamo.md | 9 + .../docs/models/shared/itemtype.md | 9 + .../docs/models/shared/lastevaluatedkey.md | 9 + .../docs/models/shared/searchexecutionsreq.md | 15 + .../models/shared/searchexecutionsresp.md | 11 + .../docs/models/shared/searchpagination.md | 9 + .../docs/models/shared/searchsorting.md | 13 + .../docs/models/shared/searchstepsreq.md | 17 + .../models/shared/searchstepsreqstatus.md | 10 + .../docs/models/shared/searchstepsresp.md | 11 + .../docs/models/shared/section.md | 16 + .../docs/models/shared/sectionsimplified.md | 14 + .../docs/models/shared/security.md | 8 + .../docs/models/shared/step.md | 30 + .../docs/models/shared/stepextended.md | 31 + .../docs/models/shared/stepid.md | 9 + .../docs/models/shared/steppositionat.md | 9 + .../docs/models/shared/steprequirement.md | 12 + .../models/shared/steprequirementcondition.md | 8 + .../docs/models/shared/stepsimplified.md | 16 + .../docs/models/shared/stepstatus.md | 12 + .../docs/models/shared/steptype.md | 9 + .../docs/models/shared/triggertype.md | 9 + .../models/shared/updateentityattributes.md | 9 + .../shared/updateentityattributessource.md | 10 + .../shared/updateentityattributestarget.md | 9 + .../docs/models/shared/updatestepreq.md | 19 + .../docs/models/shared/workflowcontext.md | 10 + .../docs/models/shared/workflowexecution.md | 30 + .../shared/workflowexecutioncreatereq.md | 13 + .../models/shared/workflowexecutionslim.md | 28 + .../shared/workflowexecutionupdatereq.md | 17 + .../docs/models/shared/workflowstatus.md | 10 + .../docs/{ => sdks}/epilot/README.md | 0 .../docs/sdks/workflows/README.md | 559 ++++++++++++++++++ workflows_execution/docs/workflows/README.md | 427 ------------- workflows_execution/files.gen | 67 ++- workflows_execution/gen.yaml | 6 +- workflows_execution/setup.py | 2 +- .../models/operations/createexecution.py | 5 +- .../epilot/models/operations/createstep.py | 9 +- .../models/operations/deleteexecution.py | 9 +- .../epilot/models/operations/deletestep.py | 9 +- .../operations/getclosingreasonexecution.py | 9 +- .../epilot/models/operations/getexecution.py | 9 +- .../epilot/models/operations/getexecutions.py | 9 +- .../models/operations/searchexecutions.py | 5 +- .../epilot/models/operations/searchsteps.py | 5 +- .../models/operations/updateexecution.py | 9 +- .../epilot/models/operations/updatestep.py | 9 +- .../epilot/models/shared/automationconfig.py | 5 +- .../src/epilot/models/shared/closingreason.py | 5 +- .../epilot/models/shared/closingreasonresp.py | 5 +- .../src/epilot/models/shared/createstepreq.py | 5 +- .../epilot/models/shared/dynamicduedate.py | 5 +- .../src/epilot/models/shared/ecpdetails.py | 5 +- .../src/epilot/models/shared/errorresp.py | 5 +- .../shared/executionpaginationdynamo.py | 5 +- .../epilot/models/shared/lastevaluatedkey.py | 5 +- .../models/shared/searchexecutionsreq.py | 5 +- .../models/shared/searchexecutionsresp.py | 5 +- .../epilot/models/shared/searchpagination.py | 5 +- .../epilot/models/shared/searchstepsreq.py | 5 +- .../epilot/models/shared/searchstepsresp.py | 5 +- .../src/epilot/models/shared/section.py | 5 +- .../epilot/models/shared/sectionsimplified.py | 5 +- .../src/epilot/models/shared/security.py | 5 +- .../src/epilot/models/shared/step.py | 5 +- .../src/epilot/models/shared/stepextended.py | 5 +- .../src/epilot/models/shared/stepid.py | 5 +- .../epilot/models/shared/steppositionat.py | 5 +- .../epilot/models/shared/steprequirement.py | 5 +- .../epilot/models/shared/stepsimplified.py | 5 +- .../models/shared/updateentityattributes.py | 9 +- .../src/epilot/models/shared/updatestepreq.py | 5 +- .../epilot/models/shared/workflowcontext.py | 5 +- .../epilot/models/shared/workflowexecution.py | 5 +- .../shared/workflowexecutioncreatereq.py | 5 +- .../models/shared/workflowexecutionslim.py | 5 +- .../shared/workflowexecutionupdatereq.py | 5 +- .../src/epilot/sdkconfiguration.py | 4 +- 111 files changed, 1546 insertions(+), 540 deletions(-) create mode 100755 workflows_execution/docs/models/operations/createexecutionresponse.md create mode 100755 workflows_execution/docs/models/operations/createsteprequest.md create mode 100755 workflows_execution/docs/models/operations/createstepresponse.md create mode 100755 workflows_execution/docs/models/operations/deleteexecutionrequest.md create mode 100755 workflows_execution/docs/models/operations/deleteexecutionresponse.md create mode 100755 workflows_execution/docs/models/operations/deletesteprequest.md create mode 100755 workflows_execution/docs/models/operations/deletestepresponse.md create mode 100755 workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md create mode 100755 workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md create mode 100755 workflows_execution/docs/models/operations/getexecutionrequest.md create mode 100755 workflows_execution/docs/models/operations/getexecutionresponse.md create mode 100755 workflows_execution/docs/models/operations/getexecutionsrequest.md create mode 100755 workflows_execution/docs/models/operations/getexecutionsresponse.md create mode 100755 workflows_execution/docs/models/operations/searchexecutionsresponse.md create mode 100755 workflows_execution/docs/models/operations/searchstepsresponse.md create mode 100755 workflows_execution/docs/models/operations/updateexecutionrequest.md create mode 100755 workflows_execution/docs/models/operations/updateexecutionresponse.md create mode 100755 workflows_execution/docs/models/operations/updatesteprequest.md create mode 100755 workflows_execution/docs/models/operations/updatestepresponse.md create mode 100755 workflows_execution/docs/models/shared/automationconfig.md create mode 100755 workflows_execution/docs/models/shared/closingreason.md create mode 100755 workflows_execution/docs/models/shared/closingreasonresp.md create mode 100755 workflows_execution/docs/models/shared/createstepreq.md create mode 100755 workflows_execution/docs/models/shared/dynamicduedate.md create mode 100755 workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md create mode 100755 workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md create mode 100755 workflows_execution/docs/models/shared/ecpdetails.md create mode 100755 workflows_execution/docs/models/shared/errorresp.md create mode 100755 workflows_execution/docs/models/shared/executionpaginationdynamo.md create mode 100755 workflows_execution/docs/models/shared/itemtype.md create mode 100755 workflows_execution/docs/models/shared/lastevaluatedkey.md create mode 100755 workflows_execution/docs/models/shared/searchexecutionsreq.md create mode 100755 workflows_execution/docs/models/shared/searchexecutionsresp.md create mode 100755 workflows_execution/docs/models/shared/searchpagination.md create mode 100755 workflows_execution/docs/models/shared/searchsorting.md create mode 100755 workflows_execution/docs/models/shared/searchstepsreq.md create mode 100755 workflows_execution/docs/models/shared/searchstepsreqstatus.md create mode 100755 workflows_execution/docs/models/shared/searchstepsresp.md create mode 100755 workflows_execution/docs/models/shared/section.md create mode 100755 workflows_execution/docs/models/shared/sectionsimplified.md create mode 100755 workflows_execution/docs/models/shared/security.md create mode 100755 workflows_execution/docs/models/shared/step.md create mode 100755 workflows_execution/docs/models/shared/stepextended.md create mode 100755 workflows_execution/docs/models/shared/stepid.md create mode 100755 workflows_execution/docs/models/shared/steppositionat.md create mode 100755 workflows_execution/docs/models/shared/steprequirement.md create mode 100755 workflows_execution/docs/models/shared/steprequirementcondition.md create mode 100755 workflows_execution/docs/models/shared/stepsimplified.md create mode 100755 workflows_execution/docs/models/shared/stepstatus.md create mode 100755 workflows_execution/docs/models/shared/steptype.md create mode 100755 workflows_execution/docs/models/shared/triggertype.md create mode 100755 workflows_execution/docs/models/shared/updateentityattributes.md create mode 100755 workflows_execution/docs/models/shared/updateentityattributessource.md create mode 100755 workflows_execution/docs/models/shared/updateentityattributestarget.md create mode 100755 workflows_execution/docs/models/shared/updatestepreq.md create mode 100755 workflows_execution/docs/models/shared/workflowcontext.md create mode 100755 workflows_execution/docs/models/shared/workflowexecution.md create mode 100755 workflows_execution/docs/models/shared/workflowexecutioncreatereq.md create mode 100755 workflows_execution/docs/models/shared/workflowexecutionslim.md create mode 100755 workflows_execution/docs/models/shared/workflowexecutionupdatereq.md create mode 100755 workflows_execution/docs/models/shared/workflowstatus.md rename workflows_execution/docs/{ => sdks}/epilot/README.md (100%) create mode 100755 workflows_execution/docs/sdks/workflows/README.md delete mode 100755 workflows_execution/docs/workflows/README.md diff --git a/workflows_execution/README.md b/workflows_execution/README.md index c84ceb290..d8ef5f49d 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -58,19 +58,19 @@ if res.workflow_execution is not None: ## Available Resources and Operations -### [workflows](docs/workflows/README.md) +### [workflows](docs/sdks/workflows/README.md) -* [create_execution](docs/workflows/README.md#create_execution) - createExecution -* [create_step](docs/workflows/README.md#create_step) - createStep -* [delete_execution](docs/workflows/README.md#delete_execution) - deleteExecution -* [delete_step](docs/workflows/README.md#delete_step) - deleteStep -* [get_closing_reason_execution](docs/workflows/README.md#get_closing_reason_execution) - getClosingReasonExecution -* [get_execution](docs/workflows/README.md#get_execution) - getExecution -* [get_executions](docs/workflows/README.md#get_executions) - getExecutions -* [search_executions](docs/workflows/README.md#search_executions) - searchExecutions -* [search_steps](docs/workflows/README.md#search_steps) - searchSteps -* [update_execution](docs/workflows/README.md#update_execution) - updateExecution -* [update_step](docs/workflows/README.md#update_step) - updateStep +* [create_execution](docs/sdks/workflows/README.md#create_execution) - createExecution +* [create_step](docs/sdks/workflows/README.md#create_step) - createStep +* [delete_execution](docs/sdks/workflows/README.md#delete_execution) - deleteExecution +* [delete_step](docs/sdks/workflows/README.md#delete_step) - deleteStep +* [get_closing_reason_execution](docs/sdks/workflows/README.md#get_closing_reason_execution) - getClosingReasonExecution +* [get_execution](docs/sdks/workflows/README.md#get_execution) - getExecution +* [get_executions](docs/sdks/workflows/README.md#get_executions) - getExecutions +* [search_executions](docs/sdks/workflows/README.md#search_executions) - searchExecutions +* [search_steps](docs/sdks/workflows/README.md#search_steps) - searchSteps +* [update_execution](docs/sdks/workflows/README.md#update_execution) - updateExecution +* [update_step](docs/sdks/workflows/README.md#update_step) - updateStep ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index f4abc1206..68389ec01 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -226,4 +226,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-10 01:16:46 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createexecutionresponse.md b/workflows_execution/docs/models/operations/createexecutionresponse.md new file mode 100755 index 000000000..3a2cc63fd --- /dev/null +++ b/workflows_execution/docs/models/operations/createexecutionresponse.md @@ -0,0 +1,12 @@ +# CreateExecutionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - if the execution is created successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createsteprequest.md b/workflows_execution/docs/models/operations/createsteprequest.md new file mode 100755 index 000000000..000e6db96 --- /dev/null +++ b/workflows_execution/docs/models/operations/createsteprequest.md @@ -0,0 +1,9 @@ +# CreateStepRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `create_step_req` | [shared.CreateStepReq](../../models/shared/createstepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createstepresponse.md b/workflows_execution/docs/models/operations/createstepresponse.md new file mode 100755 index 000000000..5a2ab2611 --- /dev/null +++ b/workflows_execution/docs/models/operations/createstepresponse.md @@ -0,0 +1,12 @@ +# CreateStepResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is created with success | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionrequest.md b/workflows_execution/docs/models/operations/deleteexecutionrequest.md new file mode 100755 index 000000000..d634c0546 --- /dev/null +++ b/workflows_execution/docs/models/operations/deleteexecutionrequest.md @@ -0,0 +1,8 @@ +# DeleteExecutionRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution to de deleted. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionresponse.md b/workflows_execution/docs/models/operations/deleteexecutionresponse.md new file mode 100755 index 000000000..00760f2de --- /dev/null +++ b/workflows_execution/docs/models/operations/deleteexecutionresponse.md @@ -0,0 +1,11 @@ +# DeleteExecutionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Failed to authenticate | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletesteprequest.md b/workflows_execution/docs/models/operations/deletesteprequest.md new file mode 100755 index 000000000..27d21b658 --- /dev/null +++ b/workflows_execution/docs/models/operations/deletesteprequest.md @@ -0,0 +1,9 @@ +# DeleteStepRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | +| `step_id` | *str* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletestepresponse.md b/workflows_execution/docs/models/operations/deletestepresponse.md new file mode 100755 index 000000000..b2069d246 --- /dev/null +++ b/workflows_execution/docs/models/operations/deletestepresponse.md @@ -0,0 +1,11 @@ +# DeleteStepResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md new file mode 100755 index 000000000..b15a5a046 --- /dev/null +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md @@ -0,0 +1,8 @@ +# GetClosingReasonExecutionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md new file mode 100755 index 000000000..105eb717e --- /dev/null +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md @@ -0,0 +1,12 @@ +# GetClosingReasonExecutionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `closing_reason_resp` | [Optional[shared.ClosingReasonResp]](../../models/shared/closingreasonresp.md) | :heavy_minus_sign: | returns all Closing Reasons for this Execution | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Issues | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionrequest.md b/workflows_execution/docs/models/operations/getexecutionrequest.md new file mode 100755 index 000000000..3250d15a4 --- /dev/null +++ b/workflows_execution/docs/models/operations/getexecutionrequest.md @@ -0,0 +1,8 @@ +# GetExecutionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionresponse.md b/workflows_execution/docs/models/operations/getexecutionresponse.md new file mode 100755 index 000000000..bb57c1968 --- /dev/null +++ b/workflows_execution/docs/models/operations/getexecutionresponse.md @@ -0,0 +1,12 @@ +# GetExecutionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - execution loaded with success. Empty response execution was not found. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionsrequest.md b/workflows_execution/docs/models/operations/getexecutionsrequest.md new file mode 100755 index 000000000..86945a200 --- /dev/null +++ b/workflows_execution/docs/models/operations/getexecutionsrequest.md @@ -0,0 +1,9 @@ +# GetExecutionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `context` | *Optional[str]* | :heavy_minus_sign: | Id of an Entity | +| `schema` | *Optional[str]* | :heavy_minus_sign: | Schema of an Entity | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md new file mode 100755 index 000000000..5f7f2f74c --- /dev/null +++ b/workflows_execution/docs/models/operations/getexecutionsresponse.md @@ -0,0 +1,12 @@ +# GetExecutionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchexecutionsresponse.md b/workflows_execution/docs/models/operations/searchexecutionsresponse.md new file mode 100755 index 000000000..18a764407 --- /dev/null +++ b/workflows_execution/docs/models/operations/searchexecutionsresponse.md @@ -0,0 +1,12 @@ +# SearchExecutionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `search_executions_resp` | [Optional[shared.SearchExecutionsResp]](../../models/shared/searchexecutionsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchstepsresponse.md b/workflows_execution/docs/models/operations/searchstepsresponse.md new file mode 100755 index 000000000..13bc0206d --- /dev/null +++ b/workflows_execution/docs/models/operations/searchstepsresponse.md @@ -0,0 +1,12 @@ +# SearchStepsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `search_steps_resp` | [Optional[shared.SearchStepsResp]](../../models/shared/searchstepsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionrequest.md b/workflows_execution/docs/models/operations/updateexecutionrequest.md new file mode 100755 index 000000000..708cc9d0c --- /dev/null +++ b/workflows_execution/docs/models/operations/updateexecutionrequest.md @@ -0,0 +1,9 @@ +# UpdateExecutionRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `workflow_execution_update_req` | [shared.WorkflowExecutionUpdateReq](../../models/shared/workflowexecutionupdatereq.md) | :heavy_check_mark: | Patch Updates for Workflow Execution payload. | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionresponse.md b/workflows_execution/docs/models/operations/updateexecutionresponse.md new file mode 100755 index 000000000..7fdfdf56c --- /dev/null +++ b/workflows_execution/docs/models/operations/updateexecutionresponse.md @@ -0,0 +1,11 @@ +# UpdateExecutionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatesteprequest.md b/workflows_execution/docs/models/operations/updatesteprequest.md new file mode 100755 index 000000000..dce266d7d --- /dev/null +++ b/workflows_execution/docs/models/operations/updatesteprequest.md @@ -0,0 +1,10 @@ +# UpdateStepRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `update_step_req` | [shared.UpdateStepReq](../../models/shared/updatestepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | +| `step_id` | *str* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatestepresponse.md b/workflows_execution/docs/models/operations/updatestepresponse.md new file mode 100755 index 000000000..c96e1272a --- /dev/null +++ b/workflows_execution/docs/models/operations/updatestepresponse.md @@ -0,0 +1,12 @@ +# UpdateStepResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is updated successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/automationconfig.md b/workflows_execution/docs/models/shared/automationconfig.md new file mode 100755 index 000000000..54a5b2e0c --- /dev/null +++ b/workflows_execution/docs/models/shared/automationconfig.md @@ -0,0 +1,12 @@ +# AutomationConfig + +Configuration for automation execution to run + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `execution_id` | *Optional[str]* | :heavy_minus_sign: | Id of the automation execution which ran | +| `execution_status` | *Optional[str]* | :heavy_minus_sign: | Status of Automation Execution. Types can be found in Automation API | +| `flow_id` | *str* | :heavy_check_mark: | Id of the configured automation to run | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreason.md b/workflows_execution/docs/models/shared/closingreason.md new file mode 100755 index 000000000..16265534e --- /dev/null +++ b/workflows_execution/docs/models/shared/closingreason.md @@ -0,0 +1,9 @@ +# ClosingReason + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *str* | :heavy_check_mark: | N/A | +| `title` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md new file mode 100755 index 000000000..7b9b5f30f --- /dev/null +++ b/workflows_execution/docs/models/shared/closingreasonresp.md @@ -0,0 +1,10 @@ +# ClosingReasonResp + +returns all Closing Reasons for this Execution + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md new file mode 100755 index 000000000..84efd53ec --- /dev/null +++ b/workflows_execution/docs/models/shared/createstepreq.md @@ -0,0 +1,15 @@ +# CreateStepReq + +Workflow Execution Step payload + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `insertion_index` | *float* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/dynamicduedate.md b/workflows_execution/docs/models/shared/dynamicduedate.md new file mode 100755 index 000000000..6c21dbf98 --- /dev/null +++ b/workflows_execution/docs/models/shared/dynamicduedate.md @@ -0,0 +1,13 @@ +# DynamicDueDate + +set a Duedate for a step then a specific + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `action_type_condition` | [Optional[DynamicDueDateActionTypeCondition]](../../models/shared/dynamicduedateactiontypecondition.md) | :heavy_minus_sign: | N/A | +| `number_of_units` | *float* | :heavy_check_mark: | N/A | +| `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `time_period` | [DynamicDueDateTimePeriod](../../models/shared/dynamicduedatetimeperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md b/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md new file mode 100755 index 000000000..301816b03 --- /dev/null +++ b/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md @@ -0,0 +1,9 @@ +# DynamicDueDateActionTypeCondition + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `WORKFLOW_STARTED` | WORKFLOW_STARTED | +| `STEP_CLOSED` | STEP_CLOSED | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md b/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md new file mode 100755 index 000000000..b49a5cb9a --- /dev/null +++ b/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md @@ -0,0 +1,10 @@ +# DynamicDueDateTimePeriod + + +## Values + +| Name | Value | +| -------- | -------- | +| `DAYS` | days | +| `WEEKS` | weeks | +| `MONTHS` | months | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/ecpdetails.md b/workflows_execution/docs/models/shared/ecpdetails.md new file mode 100755 index 000000000..6febd5a06 --- /dev/null +++ b/workflows_execution/docs/models/shared/ecpdetails.md @@ -0,0 +1,10 @@ +# ECPDetails + +Details regarding ECP for the workflow step + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `label` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/errorresp.md b/workflows_execution/docs/models/shared/errorresp.md new file mode 100755 index 000000000..03b756e06 --- /dev/null +++ b/workflows_execution/docs/models/shared/errorresp.md @@ -0,0 +1,10 @@ +# ErrorResp + +Other errors + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `message` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/executionpaginationdynamo.md b/workflows_execution/docs/models/shared/executionpaginationdynamo.md new file mode 100755 index 000000000..8983f9721 --- /dev/null +++ b/workflows_execution/docs/models/shared/executionpaginationdynamo.md @@ -0,0 +1,9 @@ +# ExecutionPaginationDynamo + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/itemtype.md b/workflows_execution/docs/models/shared/itemtype.md new file mode 100755 index 000000000..9d5135e83 --- /dev/null +++ b/workflows_execution/docs/models/shared/itemtype.md @@ -0,0 +1,9 @@ +# ItemType + + +## Values + +| Name | Value | +| --------- | --------- | +| `STEP` | STEP | +| `SECTION` | SECTION | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/lastevaluatedkey.md b/workflows_execution/docs/models/shared/lastevaluatedkey.md new file mode 100755 index 000000000..2e0ed3381 --- /dev/null +++ b/workflows_execution/docs/models/shared/lastevaluatedkey.md @@ -0,0 +1,9 @@ +# LastEvaluatedKey + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsreq.md b/workflows_execution/docs/models/shared/searchexecutionsreq.md new file mode 100755 index 000000000..8224be801 --- /dev/null +++ b/workflows_execution/docs/models/shared/searchexecutionsreq.md @@ -0,0 +1,15 @@ +# SearchExecutionsReq + +Search steps request + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `assigned_to` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `pagination` | [Optional[ExecutionPaginationDynamo]](../../models/shared/executionpaginationdynamo.md) | :heavy_minus_sign: | N/A | +| `sorting` | [Optional[SearchSorting]](../../models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md new file mode 100755 index 000000000..bbee80ba6 --- /dev/null +++ b/workflows_execution/docs/models/shared/searchexecutionsresp.md @@ -0,0 +1,11 @@ +# SearchExecutionsResp + +Success - filtered steps are returned + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `executions` | list[[WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | +| `last_evaluated_key` | [Optional[LastEvaluatedKey]](../../models/shared/lastevaluatedkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchpagination.md b/workflows_execution/docs/models/shared/searchpagination.md new file mode 100755 index 000000000..5d73e3f51 --- /dev/null +++ b/workflows_execution/docs/models/shared/searchpagination.md @@ -0,0 +1,9 @@ +# SearchPagination + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `from_` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `size` | *Optional[float]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchsorting.md b/workflows_execution/docs/models/shared/searchsorting.md new file mode 100755 index 000000000..b5eb3304b --- /dev/null +++ b/workflows_execution/docs/models/shared/searchsorting.md @@ -0,0 +1,13 @@ +# SearchSorting + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `A_Z` | A_Z | +| `Z_A` | Z_A | +| `DUE_DATE_ASC` | DUE_DATE_ASC | +| `DUE_DATE_DESC` | DUE_DATE_DESC | +| `TRIGGER_DATE_ASC` | TRIGGER_DATE_ASC | +| `TRIGGER_DATE_DESC` | TRIGGER_DATE_DESC | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsreq.md b/workflows_execution/docs/models/shared/searchstepsreq.md new file mode 100755 index 000000000..d8f101566 --- /dev/null +++ b/workflows_execution/docs/models/shared/searchstepsreq.md @@ -0,0 +1,17 @@ +# SearchStepsReq + +Search steps request + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `assigned_to` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `execution_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `pagination` | [Optional[SearchPagination]](../../models/shared/searchpagination.md) | :heavy_minus_sign: | N/A | +| `sorting` | [Optional[SearchSorting]](../../models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[SearchStepsReqStatus]](../../models/shared/searchstepsreqstatus.md) | :heavy_minus_sign: | N/A | +| `step_name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsreqstatus.md b/workflows_execution/docs/models/shared/searchstepsreqstatus.md new file mode 100755 index 000000000..2d3c98fc3 --- /dev/null +++ b/workflows_execution/docs/models/shared/searchstepsreqstatus.md @@ -0,0 +1,10 @@ +# SearchStepsReqStatus + + +## Values + +| Name | Value | +| ---------------------------- | ---------------------------- | +| `OPEN` | OPEN | +| `COMPLETE` | COMPLETE | +| `NEXT_OPEN_ITEM_IN_WORKFLOW` | NEXT_OPEN_ITEM_IN_WORKFLOW | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md new file mode 100755 index 000000000..6d39705e6 --- /dev/null +++ b/workflows_execution/docs/models/shared/searchstepsresp.md @@ -0,0 +1,11 @@ +# SearchStepsResp + +Success - filtered steps are returned + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `hits` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | +| `results` | list[[StepExtended](../../models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md new file mode 100755 index 000000000..2ef4a64fa --- /dev/null +++ b/workflows_execution/docs/models/shared/section.md @@ -0,0 +1,16 @@ +# Section + +A group of Steps that define the progress of the Workflow + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | +| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/sectionsimplified.md b/workflows_execution/docs/models/shared/sectionsimplified.md new file mode 100755 index 000000000..cc616cc35 --- /dev/null +++ b/workflows_execution/docs/models/shared/sectionsimplified.md @@ -0,0 +1,14 @@ +# SectionSimplified + +A group of Steps that define the progress of the Workflow + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `steps` | list[[StepSimplified](../../models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/security.md b/workflows_execution/docs/models/shared/security.md new file mode 100755 index 000000000..83ee1f8f9 --- /dev/null +++ b/workflows_execution/docs/models/shared/security.md @@ -0,0 +1,8 @@ +# Security + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `bearer_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md new file mode 100755 index 000000000..03f4504ea --- /dev/null +++ b/workflows_execution/docs/models/shared/step.md @@ -0,0 +1,30 @@ +# Step + +Success - if the step is created with success + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md new file mode 100755 index 000000000..47a3138ed --- /dev/null +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -0,0 +1,31 @@ +# StepExtended + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_id` | *str* | :heavy_check_mark: | N/A | +| `execution_name` | *str* | :heavy_check_mark: | N/A | +| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepid.md b/workflows_execution/docs/models/shared/stepid.md new file mode 100755 index 000000000..fb5ff618a --- /dev/null +++ b/workflows_execution/docs/models/shared/stepid.md @@ -0,0 +1,9 @@ +# StepID + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `entity_ref_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steppositionat.md b/workflows_execution/docs/models/shared/steppositionat.md new file mode 100755 index 000000000..406d44c28 --- /dev/null +++ b/workflows_execution/docs/models/shared/steppositionat.md @@ -0,0 +1,9 @@ +# StepPositionAt + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `index` | *float* | :heavy_check_mark: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirement.md b/workflows_execution/docs/models/shared/steprequirement.md new file mode 100755 index 000000000..446f8cf98 --- /dev/null +++ b/workflows_execution/docs/models/shared/steprequirement.md @@ -0,0 +1,12 @@ +# StepRequirement + +describe the requirement for step enablement + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `condition` | [StepRequirementCondition](../../models/shared/steprequirementcondition.md) | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirementcondition.md b/workflows_execution/docs/models/shared/steprequirementcondition.md new file mode 100755 index 000000000..c34adc7d8 --- /dev/null +++ b/workflows_execution/docs/models/shared/steprequirementcondition.md @@ -0,0 +1,8 @@ +# StepRequirementCondition + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLOSED` | CLOSED | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md new file mode 100755 index 000000000..8eebc05ee --- /dev/null +++ b/workflows_execution/docs/models/shared/stepsimplified.md @@ -0,0 +1,16 @@ +# StepSimplified + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepstatus.md b/workflows_execution/docs/models/shared/stepstatus.md new file mode 100755 index 000000000..70afef34b --- /dev/null +++ b/workflows_execution/docs/models/shared/stepstatus.md @@ -0,0 +1,12 @@ +# StepStatus + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `UNASSIGNED` | UNASSIGNED | +| `ASSIGNED` | ASSIGNED | +| `COMPLETED` | COMPLETED | +| `SKIPPED` | SKIPPED | +| `IN_PROGRESS` | IN_PROGRESS | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steptype.md b/workflows_execution/docs/models/shared/steptype.md new file mode 100755 index 000000000..c52f47ba5 --- /dev/null +++ b/workflows_execution/docs/models/shared/steptype.md @@ -0,0 +1,9 @@ +# StepType + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `MANUAL` | MANUAL | +| `AUTOMATION` | AUTOMATION | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/triggertype.md b/workflows_execution/docs/models/shared/triggertype.md new file mode 100755 index 000000000..88f101c4a --- /dev/null +++ b/workflows_execution/docs/models/shared/triggertype.md @@ -0,0 +1,9 @@ +# TriggerType + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `MANUAL` | MANUAL | +| `AUTOMATIC` | AUTOMATIC | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributes.md b/workflows_execution/docs/models/shared/updateentityattributes.md new file mode 100755 index 000000000..96c330966 --- /dev/null +++ b/workflows_execution/docs/models/shared/updateentityattributes.md @@ -0,0 +1,9 @@ +# UpdateEntityAttributes + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `source` | [UpdateEntityAttributesSource](../../models/shared/updateentityattributessource.md) | :heavy_check_mark: | N/A | +| `target` | [UpdateEntityAttributesTarget](../../models/shared/updateentityattributestarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributessource.md b/workflows_execution/docs/models/shared/updateentityattributessource.md new file mode 100755 index 000000000..9ffef4274 --- /dev/null +++ b/workflows_execution/docs/models/shared/updateentityattributessource.md @@ -0,0 +1,10 @@ +# UpdateEntityAttributesSource + + +## Values + +| Name | Value | +| ----------------- | ----------------- | +| `WORKFLOW_STATUS` | workflow_status | +| `CURRENT_SECTION` | current_section | +| `CURRENT_STEP` | current_step | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributestarget.md b/workflows_execution/docs/models/shared/updateentityattributestarget.md new file mode 100755 index 000000000..fa35f003c --- /dev/null +++ b/workflows_execution/docs/models/shared/updateentityattributestarget.md @@ -0,0 +1,9 @@ +# UpdateEntityAttributesTarget + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `entity_attribute` | *str* | :heavy_check_mark: | N/A | my_status | +| `entity_schema` | *str* | :heavy_check_mark: | N/A | opportunity | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md new file mode 100755 index 000000000..b00b87249 --- /dev/null +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -0,0 +1,19 @@ +# UpdateStepReq + +Workflow Execution Step payload + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowcontext.md b/workflows_execution/docs/models/shared/workflowcontext.md new file mode 100755 index 000000000..ec9e38e44 --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowcontext.md @@ -0,0 +1,10 @@ +# WorkflowContext + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *str* | :heavy_check_mark: | N/A | +| `schema` | *str* | :heavy_check_mark: | N/A | +| `title` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md new file mode 100755 index 000000000..0f6eb01c3 --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -0,0 +1,30 @@ +# WorkflowExecution + +Success - if the execution is created successfully + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | +| `flow` | list[*Any*] | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | +| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md new file mode 100755 index 000000000..4172484c0 --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md @@ -0,0 +1,13 @@ +# WorkflowExecutionCreateReq + +Workflow Execution payload + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `workflow_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md new file mode 100755 index 000000000..c26a6469b --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowexecutionslim.md @@ -0,0 +1,28 @@ +# WorkflowExecutionSlim + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | +| `flow` | list[*Any*] | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | +| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md new file mode 100755 index 000000000..e43aed39c --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md @@ -0,0 +1,17 @@ +# WorkflowExecutionUpdateReq + +Patch Updates for Workflow Execution payload. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `closed_by` | *Optional[str]* | :heavy_minus_sign: | id of the user / partner user who is closing the workflow. For partner pass orgId_userId. | +| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowstatus.md b/workflows_execution/docs/models/shared/workflowstatus.md new file mode 100755 index 000000000..4497b92f2 --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowstatus.md @@ -0,0 +1,10 @@ +# WorkflowStatus + + +## Values + +| Name | Value | +| --------- | --------- | +| `STARTED` | STARTED | +| `DONE` | DONE | +| `CLOSED` | CLOSED | \ No newline at end of file diff --git a/workflows_execution/docs/epilot/README.md b/workflows_execution/docs/sdks/epilot/README.md similarity index 100% rename from workflows_execution/docs/epilot/README.md rename to workflows_execution/docs/sdks/epilot/README.md diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md new file mode 100755 index 000000000..5b932f83f --- /dev/null +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -0,0 +1,559 @@ +# workflows + +## Overview + +Interact with workflow executions - start / close / retrieve one or all / search / delete + +### Available Operations + +* [create_execution](#create_execution) - createExecution +* [create_step](#create_step) - createStep +* [delete_execution](#delete_execution) - deleteExecution +* [delete_step](#delete_step) - deleteStep +* [get_closing_reason_execution](#get_closing_reason_execution) - getClosingReasonExecution +* [get_execution](#get_execution) - getExecution +* [get_executions](#get_executions) - getExecutions +* [search_executions](#search_executions) - searchExecutions +* [search_steps](#search_steps) - searchSteps +* [update_execution](#update_execution) - updateExecution +* [update_step](#update_step) - updateStep + +## create_execution + +Create a Workflow Execution. Start a new workflow execution, based on a workflow definition (template). + +### Example Usage + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = shared.WorkflowExecutionCreateReq( + assigned_to=[ + 'mollitia', + ], + contexts=[ + shared.WorkflowContext( + id='a2fa9467-7392-451a-a52c-3f5ad019da1f', + schema='voluptatibus', + title='Dr.', + ), + ], + trigger=shared.TriggerType.MANUAL, + workflow_id='praesentium', +) + +res = s.workflows.create_execution(req) + +if res.workflow_execution is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [shared.WorkflowExecutionCreateReq](../../models/shared/workflowexecutioncreatereq.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.CreateExecutionResponse](../../models/operations/createexecutionresponse.md)** + + +## create_step + +Create a new step in current workflow execution. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.CreateStepRequest( + create_step_req=shared.CreateStepReq( + automation_config=shared.AutomationConfig( + execution_id='voluptatibus', + execution_status='ipsa', + flow_id='omnis', + ), + execution_type=shared.StepType.MANUAL, + insertion_index=7392.64, + name='Sharon Kiehn', + section_id='dicta', + status=shared.StepStatus.ASSIGNED, + ), + execution_id='dolore', +) + +res = s.workflows.create_step(req) + +if res.step is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `request` | [operations.CreateStepRequest](../../models/operations/createsteprequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.CreateStepResponse](../../models/operations/createstepresponse.md)** + + +## delete_execution + +Delete workflow execution by id. Workflow contexts will NOT be deleted. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.DeleteExecutionRequest( + execution_id='iusto', +) + +res = s.workflows.delete_execution(req) + +if res.status_code == 200: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.DeleteExecutionRequest](../../models/operations/deleteexecutionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.DeleteExecutionResponse](../../models/operations/deleteexecutionresponse.md)** + + +## delete_step + +Deletes a step from a workflow execution. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.DeleteStepRequest( + execution_id='dicta', + step_id='harum', +) + +res = s.workflows.delete_step(req) + +if res.status_code == 200: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `request` | [operations.DeleteStepRequest](../../models/operations/deletesteprequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.DeleteStepResponse](../../models/operations/deletestepresponse.md)** + + +## get_closing_reason_execution + +Shows all Closing Reasons defined at the moment of starting the Workflow Execution. +The Closing Reasons shown in the execution are just snapshots +from the state of the Definition when the instance was created. + + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.GetClosingReasonExecutionRequest( + execution_id='enim', +) + +res = s.workflows.get_closing_reason_execution(req) + +if res.closing_reason_resp is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `request` | [operations.GetClosingReasonExecutionRequest](../../models/operations/getclosingreasonexecutionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetClosingReasonExecutionResponse](../../models/operations/getclosingreasonexecutionresponse.md)** + + +## get_execution + +Get a full workflow execution, included steps information, by execution id. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.GetExecutionRequest( + execution_id='accusamus', +) + +res = s.workflows.get_execution(req) + +if res.workflow_execution is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `request` | [operations.GetExecutionRequest](../../models/operations/getexecutionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetExecutionResponse](../../models/operations/getexecutionresponse.md)** + + +## get_executions + +Retrieve Workflow Executions. Optionally, you can filter them by context & schema. Please be aware, these executions are more light weight - steps are not loaded with all information. + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.GetExecutionsRequest( + context='commodi', + schema='repudiandae', +) + +res = s.workflows.get_executions(req) + +if res.workflow_execution_slims is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `request` | [operations.GetExecutionsRequest](../../models/operations/getexecutionsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetExecutionsResponse](../../models/operations/getexecutionsresponse.md)** + + +## search_executions + +Search Workflow Executions by different filters. + +### Example Usage + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = shared.SearchExecutionsReq( + assigned_to='quae', + include_done_workflows=False, + name='Alison Mann', + pagination=shared.ExecutionPaginationDynamo( + creation_time='modi', + org_id='praesentium', + ), + sorting=shared.SearchSorting.DUE_DATE_DESC, + status=shared.WorkflowStatus.CLOSED, +) + +res = s.workflows.search_executions(req) + +if res.search_executions_resp is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `request` | [shared.SearchExecutionsReq](../../models/shared/searchexecutionsreq.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.SearchExecutionsResponse](../../models/operations/searchexecutionsresponse.md)** + + +## search_steps + +Search workflow execution steps by different filters. + +### Example Usage + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = shared.SearchStepsReq( + assigned_to=939.4, + execution_name='repudiandae', + include_done_workflows=False, + manually_created=False, + pagination=shared.SearchPagination( + from_=5759.47, + size=831.12, + ), + sorting=shared.SearchSorting.TRIGGER_DATE_DESC, + status=shared.SearchStepsReqStatus.OPEN, + step_name='enim', +) + +res = s.workflows.search_steps(req) + +if res.search_steps_resp is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `request` | [shared.SearchStepsReq](../../models/shared/searchstepsreq.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.SearchStepsResponse](../../models/operations/searchstepsresponse.md)** + + +## update_execution + +Patches updates like assignees, status, closingReason for a single Workflow Execution. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.UpdateExecutionRequest( + workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( + assigned_to=[ + 'est', + ], + closed_by='quibusdam', + closing_reason_description='explicabo', + contexts=[ + shared.WorkflowContext( + id='bd442698-02d5-402a-94bb-4f63c969e9a3', + schema='debitis', + title='Dr.', + ), + shared.WorkflowContext( + id='a77dfb14-cd66-4ae3-95ef-b9ba88f3a669', + schema='omnis', + title='Ms.', + ), + shared.WorkflowContext( + id='074ba446-9b6e-4214-9959-890afa563e25', + schema='quasi', + title='Ms.', + ), + ], + due_date='doloribus', + dynamic_due_date=shared.DynamicDueDate( + action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, + number_of_units=2603.41, + step_id='maxime', + time_period=shared.DynamicDueDateTimePeriod.WEEKS, + ), + selected_closing_reasons=[ + shared.ClosingReason( + id='711e5b7f-d2ed-4028-921c-ddc692601fb5', + title='Ms.', + ), + shared.ClosingReason( + id='6b0d5f0d-30c5-4fbb-a587-053202c73d5f', + title='Dr.', + ), + shared.ClosingReason( + id='9b90c289-09b3-4fe4-9a8d-9cbf48633323', + title='Dr.', + ), + ], + status=shared.WorkflowStatus.DONE, + ), + execution_id='cum', +) + +res = s.workflows.update_execution(req) + +if res.status_code == 200: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.UpdateExecutionRequest](../../models/operations/updateexecutionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.UpdateExecutionResponse](../../models/operations/updateexecutionresponse.md)** + + +## update_step + +Patches various changes to a workflow execution step. + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), +) + +req = operations.UpdateStepRequest( + update_step_req=shared.UpdateStepReq( + assigned_to=[ + 'dignissimos', + 'reiciendis', + ], + assigned_to_in_progress='amet', + automation_config=shared.AutomationConfig( + execution_id='dolorum', + execution_status='numquam', + flow_id='veritatis', + ), + due_date='ipsa', + dynamic_due_date=shared.DynamicDueDate( + action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, + number_of_units=4344.17, + step_id='odio', + time_period=shared.DynamicDueDateTimePeriod.DAYS, + ), + entity_ref_id='accusamus', + name='Jan Hodkiewicz', + position=shared.StepPositionAt( + index=5424.99, + section_id='sit', + ), + status=shared.StepStatus.IN_PROGRESS, + user_ids=[ + 7438.35, + ], + ), + execution_id='dolorum', + step_id='iusto', +) + +res = s.workflows.update_step(req) + +if res.step is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `request` | [operations.UpdateStepRequest](../../models/operations/updatesteprequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.UpdateStepResponse](../../models/operations/updatestepresponse.md)** + diff --git a/workflows_execution/docs/workflows/README.md b/workflows_execution/docs/workflows/README.md deleted file mode 100755 index b153cda76..000000000 --- a/workflows_execution/docs/workflows/README.md +++ /dev/null @@ -1,427 +0,0 @@ -# workflows - -## Overview - -Interact with workflow executions - start / close / retrieve one or all / search / delete - -### Available Operations - -* [create_execution](#create_execution) - createExecution -* [create_step](#create_step) - createStep -* [delete_execution](#delete_execution) - deleteExecution -* [delete_step](#delete_step) - deleteStep -* [get_closing_reason_execution](#get_closing_reason_execution) - getClosingReasonExecution -* [get_execution](#get_execution) - getExecution -* [get_executions](#get_executions) - getExecutions -* [search_executions](#search_executions) - searchExecutions -* [search_steps](#search_steps) - searchSteps -* [update_execution](#update_execution) - updateExecution -* [update_step](#update_step) - updateStep - -## create_execution - -Create a Workflow Execution. Start a new workflow execution, based on a workflow definition (template). - -### Example Usage - -```python -import epilot -from epilot.models import shared - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = shared.WorkflowExecutionCreateReq( - assigned_to=[ - 'mollitia', - ], - contexts=[ - shared.WorkflowContext( - id='a2fa9467-7392-451a-a52c-3f5ad019da1f', - schema='voluptatibus', - title='Dr.', - ), - ], - trigger=shared.TriggerType.MANUAL, - workflow_id='praesentium', -) - -res = s.workflows.create_execution(req) - -if res.workflow_execution is not None: - # handle response -``` - -## create_step - -Create a new step in current workflow execution. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.CreateStepRequest( - create_step_req=shared.CreateStepReq( - automation_config=shared.AutomationConfig( - execution_id='voluptatibus', - execution_status='ipsa', - flow_id='omnis', - ), - execution_type=shared.StepType.MANUAL, - insertion_index=7392.64, - name='Sharon Kiehn', - section_id='dicta', - status=shared.StepStatus.ASSIGNED, - ), - execution_id='dolore', -) - -res = s.workflows.create_step(req) - -if res.step is not None: - # handle response -``` - -## delete_execution - -Delete workflow execution by id. Workflow contexts will NOT be deleted. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.DeleteExecutionRequest( - execution_id='iusto', -) - -res = s.workflows.delete_execution(req) - -if res.status_code == 200: - # handle response -``` - -## delete_step - -Deletes a step from a workflow execution. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.DeleteStepRequest( - execution_id='dicta', - step_id='harum', -) - -res = s.workflows.delete_step(req) - -if res.status_code == 200: - # handle response -``` - -## get_closing_reason_execution - -Shows all Closing Reasons defined at the moment of starting the Workflow Execution. -The Closing Reasons shown in the execution are just snapshots -from the state of the Definition when the instance was created. - - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.GetClosingReasonExecutionRequest( - execution_id='enim', -) - -res = s.workflows.get_closing_reason_execution(req) - -if res.closing_reason_resp is not None: - # handle response -``` - -## get_execution - -Get a full workflow execution, included steps information, by execution id. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.GetExecutionRequest( - execution_id='accusamus', -) - -res = s.workflows.get_execution(req) - -if res.workflow_execution is not None: - # handle response -``` - -## get_executions - -Retrieve Workflow Executions. Optionally, you can filter them by context & schema. Please be aware, these executions are more light weight - steps are not loaded with all information. - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.GetExecutionsRequest( - context='commodi', - schema='repudiandae', -) - -res = s.workflows.get_executions(req) - -if res.workflow_execution_slims is not None: - # handle response -``` - -## search_executions - -Search Workflow Executions by different filters. - -### Example Usage - -```python -import epilot -from epilot.models import shared - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = shared.SearchExecutionsReq( - assigned_to='quae', - include_done_workflows=False, - name='Alison Mann', - pagination=shared.ExecutionPaginationDynamo( - creation_time='modi', - org_id='praesentium', - ), - sorting=shared.SearchSorting.DUE_DATE_DESC, - status=shared.WorkflowStatus.CLOSED, -) - -res = s.workflows.search_executions(req) - -if res.search_executions_resp is not None: - # handle response -``` - -## search_steps - -Search workflow execution steps by different filters. - -### Example Usage - -```python -import epilot -from epilot.models import shared - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = shared.SearchStepsReq( - assigned_to=939.4, - execution_name='repudiandae', - include_done_workflows=False, - manually_created=False, - pagination=shared.SearchPagination( - from_=5759.47, - size=831.12, - ), - sorting=shared.SearchSorting.TRIGGER_DATE_DESC, - status=shared.SearchStepsReqStatus.OPEN, - step_name='enim', -) - -res = s.workflows.search_steps(req) - -if res.search_steps_resp is not None: - # handle response -``` - -## update_execution - -Patches updates like assignees, status, closingReason for a single Workflow Execution. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.UpdateExecutionRequest( - workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( - assigned_to=[ - 'est', - ], - closed_by='quibusdam', - closing_reason_description='explicabo', - contexts=[ - shared.WorkflowContext( - id='bd442698-02d5-402a-94bb-4f63c969e9a3', - schema='debitis', - title='Dr.', - ), - shared.WorkflowContext( - id='a77dfb14-cd66-4ae3-95ef-b9ba88f3a669', - schema='omnis', - title='Ms.', - ), - shared.WorkflowContext( - id='074ba446-9b6e-4214-9959-890afa563e25', - schema='quasi', - title='Ms.', - ), - ], - due_date='doloribus', - dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, - number_of_units=2603.41, - step_id='maxime', - time_period=shared.DynamicDueDateTimePeriod.WEEKS, - ), - selected_closing_reasons=[ - shared.ClosingReason( - id='711e5b7f-d2ed-4028-921c-ddc692601fb5', - title='Ms.', - ), - shared.ClosingReason( - id='6b0d5f0d-30c5-4fbb-a587-053202c73d5f', - title='Dr.', - ), - shared.ClosingReason( - id='9b90c289-09b3-4fe4-9a8d-9cbf48633323', - title='Dr.', - ), - ], - status=shared.WorkflowStatus.DONE, - ), - execution_id='cum', -) - -res = s.workflows.update_execution(req) - -if res.status_code == 200: - # handle response -``` - -## update_step - -Patches various changes to a workflow execution step. - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - bearer_auth="", - ), -) - -req = operations.UpdateStepRequest( - update_step_req=shared.UpdateStepReq( - assigned_to=[ - 'dignissimos', - 'reiciendis', - ], - assigned_to_in_progress='amet', - automation_config=shared.AutomationConfig( - execution_id='dolorum', - execution_status='numquam', - flow_id='veritatis', - ), - due_date='ipsa', - dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=4344.17, - step_id='odio', - time_period=shared.DynamicDueDateTimePeriod.DAYS, - ), - entity_ref_id='accusamus', - name='Jan Hodkiewicz', - position=shared.StepPositionAt( - index=5424.99, - section_id='sit', - ), - status=shared.StepStatus.IN_PROGRESS, - user_ids=[ - 7438.35, - ], - ), - execution_id='dolorum', - step_id='iusto', -) - -res = s.workflows.update_step(req) - -if res.step is not None: - # handle response -``` diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 1c7dfa5cb..47f4f12f0 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -58,6 +58,67 @@ src/epilot/models/shared/updatestepreq.py src/epilot/models/shared/steppositionat.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py -docs/epilot/README.md -docs/workflows/README.md -USAGE.md \ No newline at end of file +docs/sdks/epilot/README.md +docs/sdks/workflows/README.md +USAGE.md +docs/models/operations/createexecutionresponse.md +docs/models/operations/createsteprequest.md +docs/models/operations/createstepresponse.md +docs/models/operations/deleteexecutionrequest.md +docs/models/operations/deleteexecutionresponse.md +docs/models/operations/deletesteprequest.md +docs/models/operations/deletestepresponse.md +docs/models/operations/getclosingreasonexecutionrequest.md +docs/models/operations/getclosingreasonexecutionresponse.md +docs/models/operations/getexecutionrequest.md +docs/models/operations/getexecutionresponse.md +docs/models/operations/getexecutionsrequest.md +docs/models/operations/getexecutionsresponse.md +docs/models/operations/searchexecutionsresponse.md +docs/models/operations/searchstepsresponse.md +docs/models/operations/updateexecutionrequest.md +docs/models/operations/updateexecutionresponse.md +docs/models/operations/updatesteprequest.md +docs/models/operations/updatestepresponse.md +docs/models/shared/workflowexecution.md +docs/models/shared/updateentityattributessource.md +docs/models/shared/updateentityattributestarget.md +docs/models/shared/updateentityattributes.md +docs/models/shared/triggertype.md +docs/models/shared/workflowstatus.md +docs/models/shared/closingreason.md +docs/models/shared/stepid.md +docs/models/shared/section.md +docs/models/shared/itemtype.md +docs/models/shared/step.md +docs/models/shared/stepstatus.md +docs/models/shared/steprequirementcondition.md +docs/models/shared/steprequirement.md +docs/models/shared/steptype.md +docs/models/shared/ecpdetails.md +docs/models/shared/dynamicduedateactiontypecondition.md +docs/models/shared/dynamicduedatetimeperiod.md +docs/models/shared/dynamicduedate.md +docs/models/shared/automationconfig.md +docs/models/shared/workflowcontext.md +docs/models/shared/errorresp.md +docs/models/shared/workflowexecutioncreatereq.md +docs/models/shared/createstepreq.md +docs/models/shared/closingreasonresp.md +docs/models/shared/workflowexecutionslim.md +docs/models/shared/sectionsimplified.md +docs/models/shared/stepsimplified.md +docs/models/shared/searchexecutionsresp.md +docs/models/shared/lastevaluatedkey.md +docs/models/shared/searchexecutionsreq.md +docs/models/shared/searchsorting.md +docs/models/shared/executionpaginationdynamo.md +docs/models/shared/searchstepsresp.md +docs/models/shared/stepextended.md +docs/models/shared/searchstepsreqstatus.md +docs/models/shared/searchstepsreq.md +docs/models/shared/searchpagination.md +docs/models/shared/workflowexecutionupdatereq.md +docs/models/shared/updatestepreq.md +docs/models/shared/steppositionat.md +docs/models/shared/security.md \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 548de4b9c..c2bf0d4c2 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.45.2 - generationVersion: 2.37.2 + speakeasyVersion: 1.47.0 + generationVersion: 2.39.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.20.1 + version: 1.21.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 0be19c5c0..b25245c08 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.20.1", + version="1.21.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py index 6b7d9092a..4e1105131 100755 --- a/workflows_execution/src/epilot/models/operations/createexecution.py +++ b/workflows_execution/src/epilot/models/operations/createexecution.py @@ -8,9 +8,9 @@ from typing import Optional + @dataclasses.dataclass class CreateExecutionResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -18,4 +18,5 @@ class CreateExecutionResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) r"""Success - if the execution is created successfully""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py index d5c806706..408c70694 100755 --- a/workflows_execution/src/epilot/models/operations/createstep.py +++ b/workflows_execution/src/epilot/models/operations/createstep.py @@ -9,18 +9,20 @@ from typing import Optional + @dataclasses.dataclass class CreateStepRequest: - create_step_req: shared_createstepreq.CreateStepReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Workflow Execution Step payload""" execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution""" + + + @dataclasses.dataclass class CreateStepResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -28,4 +30,5 @@ class CreateStepResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) step: Optional[shared_step.Step] = dataclasses.field(default=None) r"""Success - if the step is created with success""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py index 7d334980e..eceaa926c 100755 --- a/workflows_execution/src/epilot/models/operations/deleteexecution.py +++ b/workflows_execution/src/epilot/models/operations/deleteexecution.py @@ -7,19 +7,22 @@ from typing import Optional + @dataclasses.dataclass class DeleteExecutionRequest: - execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution to de deleted.""" + + + @dataclasses.dataclass class DeleteExecutionResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Failed to authenticate""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py index e8752dba3..345e0ac1f 100755 --- a/workflows_execution/src/epilot/models/operations/deletestep.py +++ b/workflows_execution/src/epilot/models/operations/deletestep.py @@ -7,21 +7,24 @@ from typing import Optional + @dataclasses.dataclass class DeleteStepRequest: - execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution""" step_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'stepId', 'style': 'simple', 'explode': False }}) r"""Short uuid (length 6) to identify the Workflow Execution Step.""" + + + @dataclasses.dataclass class DeleteStepResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py index 2bc166b39..89a5f81ad 100755 --- a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py +++ b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py @@ -8,16 +8,18 @@ from typing import Optional + @dataclasses.dataclass class GetClosingReasonExecutionRequest: - execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution""" + + + @dataclasses.dataclass class GetClosingReasonExecutionResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() closing_reason_resp: Optional[shared_closingreasonresp.ClosingReasonResp] = dataclasses.field(default=None) @@ -25,4 +27,5 @@ class GetClosingReasonExecutionResponse: error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Issues""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py index 801f84794..8ade44e56 100755 --- a/workflows_execution/src/epilot/models/operations/getexecution.py +++ b/workflows_execution/src/epilot/models/operations/getexecution.py @@ -8,16 +8,18 @@ from typing import Optional + @dataclasses.dataclass class GetExecutionRequest: - execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution""" + + + @dataclasses.dataclass class GetExecutionResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -25,4 +27,5 @@ class GetExecutionResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) r"""Success - execution loaded with success. Empty response execution was not found.""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py index b034e3aed..f54d9b809 100755 --- a/workflows_execution/src/epilot/models/operations/getexecutions.py +++ b/workflows_execution/src/epilot/models/operations/getexecutions.py @@ -8,18 +8,20 @@ from typing import Optional + @dataclasses.dataclass class GetExecutionsRequest: - context: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'context', 'style': 'form', 'explode': True }}) r"""Id of an Entity""" schema: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'schema', 'style': 'form', 'explode': True }}) r"""Schema of an Entity""" + + + @dataclasses.dataclass class GetExecutionsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -27,4 +29,5 @@ class GetExecutionsResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) workflow_execution_slims: Optional[list[shared_workflowexecutionslim.WorkflowExecutionSlim]] = dataclasses.field(default=None) r"""Success - executions loaded with success. Empty array if org has no executions.""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py index ede4ed13b..983ae160d 100755 --- a/workflows_execution/src/epilot/models/operations/searchexecutions.py +++ b/workflows_execution/src/epilot/models/operations/searchexecutions.py @@ -8,9 +8,9 @@ from typing import Optional + @dataclasses.dataclass class SearchExecutionsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -18,4 +18,5 @@ class SearchExecutionsResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) search_executions_resp: Optional[shared_searchexecutionsresp.SearchExecutionsResp] = dataclasses.field(default=None) r"""Success - filtered steps are returned""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py index cb8592934..cfea5518e 100755 --- a/workflows_execution/src/epilot/models/operations/searchsteps.py +++ b/workflows_execution/src/epilot/models/operations/searchsteps.py @@ -8,9 +8,9 @@ from typing import Optional + @dataclasses.dataclass class SearchStepsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -18,4 +18,5 @@ class SearchStepsResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) search_steps_resp: Optional[shared_searchstepsresp.SearchStepsResp] = dataclasses.field(default=None) r"""Success - filtered steps are returned""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py index fc4597b83..9a62cc4f1 100755 --- a/workflows_execution/src/epilot/models/operations/updateexecution.py +++ b/workflows_execution/src/epilot/models/operations/updateexecution.py @@ -8,21 +8,24 @@ from typing import Optional + @dataclasses.dataclass class UpdateExecutionRequest: - execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution""" workflow_execution_update_req: shared_workflowexecutionupdatereq.WorkflowExecutionUpdateReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) r"""Patch Updates for Workflow Execution payload.""" + + + @dataclasses.dataclass class UpdateExecutionResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py index f0ea6fcd1..5a543098e 100755 --- a/workflows_execution/src/epilot/models/operations/updatestep.py +++ b/workflows_execution/src/epilot/models/operations/updatestep.py @@ -9,9 +9,9 @@ from typing import Optional + @dataclasses.dataclass class UpdateStepRequest: - execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) r"""Id of the execution""" step_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'stepId', 'style': 'simple', 'explode': False }}) @@ -20,9 +20,11 @@ class UpdateStepRequest: r"""Workflow Execution Step payload""" + + + @dataclasses.dataclass class UpdateStepResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) @@ -30,4 +32,5 @@ class UpdateStepResponse: raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) step: Optional[shared_step.Step] = dataclasses.field(default=None) r"""Success - if the step is updated successfully""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/automationconfig.py b/workflows_execution/src/epilot/models/shared/automationconfig.py index e1e378eac..2fd098178 100755 --- a/workflows_execution/src/epilot/models/shared/automationconfig.py +++ b/workflows_execution/src/epilot/models/shared/automationconfig.py @@ -8,14 +8,15 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class AutomationConfig: r"""Configuration for automation execution to run""" - flow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flowId') }}) r"""Id of the configured automation to run""" execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) r"""Id of the automation execution which ran""" execution_status: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus'), 'exclude': lambda f: f is None }}) r"""Status of Automation Execution. Types can be found in Automation API""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/closingreason.py b/workflows_execution/src/epilot/models/shared/closingreason.py index 1662c6b48..c05f785c0 100755 --- a/workflows_execution/src/epilot/models/shared/closingreason.py +++ b/workflows_execution/src/epilot/models/shared/closingreason.py @@ -7,9 +7,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ClosingReason: - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py index 4bbddb400..4ac3c411d 100755 --- a/workflows_execution/src/epilot/models/shared/closingreasonresp.py +++ b/workflows_execution/src/epilot/models/shared/closingreasonresp.py @@ -9,9 +9,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ClosingReasonResp: r"""returns all Closing Reasons for this Execution""" - reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index ce75e2c72..c166e517b 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -11,10 +11,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class CreateStepReq: r"""Workflow Execution Step payload""" - insertion_index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) @@ -22,4 +22,5 @@ class CreateStepReq: execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py index 20ded4063..9fec09da4 100755 --- a/workflows_execution/src/epilot/models/shared/dynamicduedate.py +++ b/workflows_execution/src/epilot/models/shared/dynamicduedate.py @@ -18,12 +18,13 @@ class DynamicDueDateTimePeriod(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class DynamicDueDate: r"""set a Duedate for a step then a specific""" - number_of_units: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('numberOfUnits') }}) time_period: DynamicDueDateTimePeriod = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('timePeriod') }}) action_type_condition: Optional[DynamicDueDateActionTypeCondition] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actionTypeCondition'), 'exclude': lambda f: f is None }}) step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/ecpdetails.py b/workflows_execution/src/epilot/models/shared/ecpdetails.py index 34055ca55..fe802e363 100755 --- a/workflows_execution/src/epilot/models/shared/ecpdetails.py +++ b/workflows_execution/src/epilot/models/shared/ecpdetails.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ECPDetails: r"""Details regarding ECP for the workflow step""" - label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py index 9e2f0caef..0af0b4fff 100755 --- a/workflows_execution/src/epilot/models/shared/errorresp.py +++ b/workflows_execution/src/epilot/models/shared/errorresp.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ErrorResp: r"""Other errors""" - message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py index 743c88ed0..580bdf97c 100755 --- a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py +++ b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class ExecutionPaginationDynamo: - creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py index cd7619ff7..84e152323 100755 --- a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py +++ b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class LastEvaluatedKey: - creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py index 04baecfec..66f0dae26 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py @@ -11,14 +11,15 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SearchExecutionsReq: r"""Search steps request""" - assigned_to: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) pagination: Optional[shared_executionpaginationdynamo.ExecutionPaginationDynamo] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pagination'), 'exclude': lambda f: f is None }}) sorting: Optional[shared_searchsorting.SearchSorting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py index ccb2a32f7..4f38ebb4e 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py @@ -10,10 +10,11 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SearchExecutionsResp: r"""Success - filtered steps are returned""" - executions: list[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) last_evaluated_key: Optional[shared_lastevaluatedkey.LastEvaluatedKey] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastEvaluatedKey'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/searchpagination.py b/workflows_execution/src/epilot/models/shared/searchpagination.py index 00d8962c4..befdf20e2 100755 --- a/workflows_execution/src/epilot/models/shared/searchpagination.py +++ b/workflows_execution/src/epilot/models/shared/searchpagination.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SearchPagination: - from_: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('from'), 'exclude': lambda f: f is None }}) size: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('size'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index 74b0967f7..b84785878 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -16,10 +16,10 @@ class SearchStepsReqStatus(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SearchStepsReq: r"""Search steps request""" - assigned_to: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) execution_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName'), 'exclude': lambda f: f is None }}) include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) @@ -28,4 +28,5 @@ class SearchStepsReq: sorting: Optional[shared_searchsorting.SearchSorting] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sorting'), 'exclude': lambda f: f is None }}) status: Optional[SearchStepsReqStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) step_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepName'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py index 979123887..1af1375b6 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsresp.py @@ -9,10 +9,11 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SearchStepsResp: r"""Success - filtered steps are returned""" - hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) results: Optional[list[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index e526613ad..59580358d 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -10,10 +10,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class Section: r"""A group of Steps that define the progress of the Workflow""" - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name for this Section""" @@ -23,4 +23,5 @@ class Section: definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py index b9a5dfe41..b5a1d4923 100755 --- a/workflows_execution/src/epilot/models/shared/sectionsimplified.py +++ b/workflows_execution/src/epilot/models/shared/sectionsimplified.py @@ -10,14 +10,15 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class SectionSimplified: r"""A group of Steps that define the progress of the Workflow""" - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name for this Section""" steps: list[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/security.py b/workflows_execution/src/epilot/models/shared/security.py index cc58cbf76..b3eaf2ddc 100755 --- a/workflows_execution/src/epilot/models/shared/security.py +++ b/workflows_execution/src/epilot/models/shared/security.py @@ -4,8 +4,9 @@ import dataclasses + @dataclasses.dataclass class Security: - bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index f0ed3ece8..0b7c458e7 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -15,10 +15,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class Step: r"""Success - if the step is created with success""" - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) @@ -46,4 +46,5 @@ class Step: status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index eaaf5fec0..1b061c59b 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -17,9 +17,9 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class StepExtended: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) execution_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName') }}) @@ -50,4 +50,5 @@ class StepExtended: status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py index 134609c97..21bf36d76 100755 --- a/workflows_execution/src/epilot/models/shared/stepid.py +++ b/workflows_execution/src/epilot/models/shared/stepid.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class StepID: - entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py index 16c0f5b64..d994cc1f5 100755 --- a/workflows_execution/src/epilot/models/shared/steppositionat.py +++ b/workflows_execution/src/epilot/models/shared/steppositionat.py @@ -8,9 +8,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class StepPositionAt: - index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index') }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index a6be58bbf..4bd250861 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -12,11 +12,12 @@ class StepRequirementCondition(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class StepRequirement: r"""describe the requirement for step enablement""" - condition: StepRequirementCondition = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py index fd400311b..410667617 100755 --- a/workflows_execution/src/epilot/models/shared/stepsimplified.py +++ b/workflows_execution/src/epilot/models/shared/stepsimplified.py @@ -12,9 +12,9 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class StepSimplified: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) @@ -25,4 +25,5 @@ class StepSimplified: enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py index 604eb7049..6f41a0047 100755 --- a/workflows_execution/src/epilot/models/shared/updateentityattributes.py +++ b/workflows_execution/src/epilot/models/shared/updateentityattributes.py @@ -13,17 +13,20 @@ class UpdateEntityAttributesSource(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateEntityAttributesTarget: - entity_attribute: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityAttribute') }}) entity_schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entitySchema') }}) + + @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateEntityAttributes: - source: UpdateEntityAttributesSource = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) target: UpdateEntityAttributesTarget = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('target') }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index 03f83ba89..8d03816b1 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -12,10 +12,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class UpdateStepReq: r"""Workflow Execution Step payload""" - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) @@ -30,4 +30,5 @@ class UpdateStepReq: status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/workflowcontext.py b/workflows_execution/src/epilot/models/shared/workflowcontext.py index dbcfb094d..823fc1c18 100755 --- a/workflows_execution/src/epilot/models/shared/workflowcontext.py +++ b/workflows_execution/src/epilot/models/shared/workflowcontext.py @@ -7,10 +7,11 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class WorkflowContext: - id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema') }}) title: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('title') }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index 78930e395..375b0010b 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -15,10 +15,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class WorkflowExecution: r"""Success - if the execution is created successfully""" - flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) @@ -47,4 +47,5 @@ class WorkflowExecution: update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) r"""Version of the workflow execution""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py index c324d6ca8..c12ce1dd2 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py @@ -10,12 +10,13 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class WorkflowExecutionCreateReq: r"""Workflow Execution payload""" - workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index 5ebc5c64a..ed0c60ef8 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -15,9 +15,9 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class WorkflowExecutionSlim: - flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) @@ -46,4 +46,5 @@ class WorkflowExecutionSlim: update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) r"""Version of the workflow execution""" - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index 1d887dd66..1aff0d263 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -12,10 +12,10 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class WorkflowExecutionUpdateReq: r"""Patch Updates for Workflow Execution payload.""" - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closed_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closedBy'), 'exclude': lambda f: f is None }}) r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" @@ -26,4 +26,5 @@ class WorkflowExecutionUpdateReq: r"""set a Duedate for a step then a specific""" selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 30b488890..d820d32d5 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.20.1' - gen_version: str = '2.37.2' + sdk_version: str = '1.21.0' + gen_version: str = '2.39.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 5e2a97cd257a5d17d3d26a73e58c82cf083be1df Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 11 Jun 2023 01:38:14 +0000 Subject: [PATCH 34/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 68389ec01..2df32ba77 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -232,4 +232,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy + +## 2023-06-11 01:38:00 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index c2bf0d4c2..a26754657 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.47.0 - generationVersion: 2.39.0 + speakeasyVersion: 1.47.1 + generationVersion: 2.39.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.21.0 + version: 1.21.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index b25245c08..3f3721549 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.21.0", + version="1.21.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index d820d32d5..252805d19 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.21.0' - gen_version: str = '2.39.0' + sdk_version: str = '1.21.1' + gen_version: str = '2.39.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 26371e4b859626e6803db9b51cc9843bfdfe00ad Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 14 Jun 2023 01:18:15 +0000 Subject: [PATCH 35/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.3 --- workflows_execution/RELEASES.md | 8 ++- .../docs/models/shared/section.md | 18 +++---- .../docs/models/shared/step.md | 46 ++++++++-------- .../docs/models/shared/stepextended.md | 52 +++++++++---------- .../docs/models/shared/updatestepreq.md | 24 ++++----- workflows_execution/gen.yaml | 6 +-- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/section.py | 5 +- .../src/epilot/models/shared/step.py | 5 +- .../src/epilot/models/shared/stepextended.py | 5 +- .../src/epilot/models/shared/updatestepreq.py | 5 +- .../src/epilot/sdkconfiguration.py | 4 +- .../src/epilot/utils/retries.py | 3 +- 13 files changed, 101 insertions(+), 82 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 2df32ba77..fa543af5f 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -238,4 +238,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-14 01:18:00 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md index 2ef4a64fa..9cee87e6a 100755 --- a/workflows_execution/docs/models/shared/section.md +++ b/workflows_execution/docs/models/shared/section.md @@ -5,12 +5,12 @@ A group of Steps that define the progress of the Workflow ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | -| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | -| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 03f4504ea..2ac8649b5 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -5,26 +5,26 @@ Success - if the step is created with success ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index 47a3138ed..10a66f748 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -3,29 +3,29 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `execution_id` | *str* | :heavy_check_mark: | N/A | -| `execution_name` | *str* | :heavy_check_mark: | N/A | -| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_id` | *str* | :heavy_check_mark: | N/A | +| `execution_name` | *str* | :heavy_check_mark: | N/A | +| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index b00b87249..913242821 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -5,15 +5,15 @@ Workflow Execution Step payload ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `user_ids` | list[*float*] | :heavy_minus_sign: | This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index a26754657..a2f897ae7 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.47.1 - generationVersion: 2.39.2 + speakeasyVersion: 1.47.3 + generationVersion: 2.40.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.21.1 + version: 1.22.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 3f3721549..5c79bd583 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.21.1", + version="1.22.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index 59580358d..f6edef43f 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -22,6 +22,9 @@ class Section: assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + r"""This field is deprecated. Please use assignedTo + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index 0b7c458e7..171ce14f1 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -45,6 +45,9 @@ class Step: section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + r"""This field is deprecated. Please use assignedTo + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 1b061c59b..c563f8220 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -49,6 +49,9 @@ class StepExtended: section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + r"""This field is deprecated. Please use assignedTo + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index 8d03816b1..1c3f149bf 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -29,6 +29,9 @@ class UpdateStepReq: position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) - r"""This field is deprecated. Please use assignedTo""" + r"""This field is deprecated. Please use assignedTo + + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + """ diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 252805d19..30c2546c2 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.21.1' - gen_version: str = '2.39.2' + sdk_version: str = '1.22.0' + gen_version: str = '2.40.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/retries.py b/workflows_execution/src/epilot/utils/retries.py index c6251d948..2138c1b5e 100755 --- a/workflows_execution/src/epilot/utils/retries.py +++ b/workflows_execution/src/epilot/utils/retries.py @@ -24,8 +24,9 @@ class RetryConfig: backoff: BackoffStrategy retry_connection_errors: bool - def __init__(self, strategy: str, retry_connection_errors: bool): + def __init__(self, strategy: str, backoff: BackoffStrategy, retry_connection_errors: bool): self.strategy = strategy + self.backoff = backoff self.retry_connection_errors = retry_connection_errors From 68297dfd4779f6c27268f1622def93a7135e2d5e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 16 Jun 2023 01:18:36 +0000 Subject: [PATCH 36/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.48.0 --- workflows_execution/.gitignore | 2 +- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/files.gen | 1 - workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/workflows_execution/.gitignore b/workflows_execution/.gitignore index 9072ad43b..648876d29 100755 --- a/workflows_execution/.gitignore +++ b/workflows_execution/.gitignore @@ -2,4 +2,4 @@ venv/ src/*.egg-info/ __pycache__/ .pytest_cache/ -.python-version` \ No newline at end of file +.python-version` diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index fa543af5f..4a33eedb9 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -244,4 +244,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy + +## 2023-06-16 01:18:20 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 47f4f12f0..7dbdb7144 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -1,7 +1,6 @@ src/epilot/sdkconfiguration.py src/epilot/workflows.py src/epilot/sdk.py -.gitignore pylintrc setup.py src/epilot/__init__.py diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index a2f897ae7..4a953debc 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.47.3 - generationVersion: 2.40.1 + speakeasyVersion: 1.48.0 + generationVersion: 2.41.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.22.0 + version: 1.23.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 5c79bd583..b9f4eca49 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.22.0", + version="1.23.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 30c2546c2..874215e1c 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.22.0' - gen_version: str = '2.40.1' + sdk_version: str = '1.23.0' + gen_version: str = '2.41.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 143e7bb35d0e5f9bddc01a8a7fdcf899e09b7594 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 20 Jun 2023 01:15:51 +0000 Subject: [PATCH 37/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.0 --- workflows_execution/.gitignore | 2 ++ workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/workflows_execution/.gitignore b/workflows_execution/.gitignore index 648876d29..8ac3f51d4 100755 --- a/workflows_execution/.gitignore +++ b/workflows_execution/.gitignore @@ -1,3 +1,5 @@ +.python-version +.DS_Store venv/ src/*.egg-info/ __pycache__/ diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 4a33eedb9..2f3d1fff1 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -250,4 +250,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy + +## 2023-06-20 01:15:37 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 4a953debc..724579390 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.48.0 - generationVersion: 2.41.1 + speakeasyVersion: 1.49.0 + generationVersion: 2.41.4 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.23.0 + version: 1.23.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index b9f4eca49..3ea7a6ebb 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.23.0", + version="1.23.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 874215e1c..a3ed2bbdc 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.23.0' - gen_version: str = '2.41.1' + sdk_version: str = '1.23.1' + gen_version: str = '2.41.4' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 906f8d9ccc3c9c10de7dbcee12a1dee3a4c1d573 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 21 Jun 2023 01:18:26 +0000 Subject: [PATCH 38/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 2f3d1fff1..180fbb5cc 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -256,4 +256,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy + +## 2023-06-21 01:18:07 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 724579390..d155fa89e 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 1aa929c361245dd2b795156709743b6a docVersion: 1.0.0 - speakeasyVersion: 1.49.0 - generationVersion: 2.41.4 + speakeasyVersion: 1.49.1 + generationVersion: 2.41.5 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.23.1 + version: 1.23.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 3ea7a6ebb..997c40520 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.23.1", + version="1.23.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index a3ed2bbdc..ec2e3a7d1 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.23.1' - gen_version: str = '2.41.4' + sdk_version: str = '1.23.2' + gen_version: str = '2.41.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 9b3e09eae9a3c0e499afbd90d0ef79ef9aafc991 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 23 Jun 2023 01:27:37 +0000 Subject: [PATCH 39/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.50.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 180fbb5cc..5eb5c580d 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -262,4 +262,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy + +## 2023-06-23 01:27:21 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index d155fa89e..0459c419d 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -1,15 +1,15 @@ configVersion: 1.0.0 management: - docChecksum: 1aa929c361245dd2b795156709743b6a + docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.49.1 - generationVersion: 2.41.5 + speakeasyVersion: 1.50.1 + generationVersion: 2.43.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.23.2 + version: 1.24.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 997c40520..038671d15 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.23.2", + version="1.24.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index ec2e3a7d1..b3b33a243 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.23.2' - gen_version: str = '2.41.5' + sdk_version: str = '1.24.0' + gen_version: str = '2.43.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 494b4bd75dd0a63f415cad21053f24ea1f299918 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 27 Jun 2023 01:28:36 +0000 Subject: [PATCH 40/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 5eb5c580d..7eda22807 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -268,4 +268,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-27 01:28:19 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 0459c419d..282b13240 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.50.1 - generationVersion: 2.43.2 + speakeasyVersion: 1.51.1 + generationVersion: 2.50.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.24.0 + version: 1.25.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 038671d15..4b7c61cde 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.24.0", + version="1.25.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index b3b33a243..115318b7e 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.24.0' - gen_version: str = '2.43.2' + sdk_version: str = '1.25.0' + gen_version: str = '2.50.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 11d9e4bf34c63dccfd875e83fe22ae79898e16ec Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 29 Jun 2023 01:25:24 +0000 Subject: [PATCH 41/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.3 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 7eda22807..a14dc9418 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -274,4 +274,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-29 01:25:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 282b13240..4ea0910f7 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.51.1 - generationVersion: 2.50.2 + speakeasyVersion: 1.51.3 + generationVersion: 2.52.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.25.0 + version: 1.26.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 4b7c61cde..d10ba13a2 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.25.0", + version="1.26.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 115318b7e..03fc3e518 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.25.0' - gen_version: str = '2.50.2' + sdk_version: str = '1.26.0' + gen_version: str = '2.52.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 17f265797e3b9ce665f225a03f0c2765a40ab036 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Jul 2023 01:42:32 +0000 Subject: [PATCH 42/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index a14dc9418..848bb0266 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -280,4 +280,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-01 01:42:14 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 4ea0910f7..e521e128b 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.51.3 - generationVersion: 2.52.2 + speakeasyVersion: 1.52.0 + generationVersion: 2.55.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.26.0 + version: 1.27.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index d10ba13a2..080b16038 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.26.0", + version="1.27.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 03fc3e518..6694799f3 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.26.0' - gen_version: str = '2.52.2' + sdk_version: str = '1.27.0' + gen_version: str = '2.55.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From c58c2831c25e8400f8c7695c61e3de8d1a22f199 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Jul 2023 01:37:28 +0000 Subject: [PATCH 43/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 848bb0266..576ce892b 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -286,4 +286,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-06 01:37:13 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index e521e128b..577fef9fb 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.52.0 - generationVersion: 2.55.0 + speakeasyVersion: 1.52.2 + generationVersion: 2.57.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.27.0 + version: 1.28.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 080b16038..e63530ba0 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.27.0", + version="1.28.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 6694799f3..59e3c3650 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.27.0' - gen_version: str = '2.55.0' + sdk_version: str = '1.28.0' + gen_version: str = '2.57.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From ee1b52695c592e0db90a3643e55546a61b6dede8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 7 Jul 2023 01:37:22 +0000 Subject: [PATCH 44/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 576ce892b..78d052dfd 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -292,4 +292,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-07 01:37:07 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 577fef9fb..a2aeadfe7 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.52.2 - generationVersion: 2.57.2 + speakeasyVersion: 1.53.0 + generationVersion: 2.58.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.28.0 + version: 1.29.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index e63530ba0..34c02820d 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.28.0", + version="1.29.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 59e3c3650..55a5c1467 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.28.0' - gen_version: str = '2.57.2' + sdk_version: str = '1.29.0' + gen_version: str = '2.58.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 22dc0a92b560637dac7c5f7057ea7118eac6c11d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 8 Jul 2023 01:27:51 +0000 Subject: [PATCH 45/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 78d052dfd..33c969c33 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -298,4 +298,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-08 01:27:38 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index a2aeadfe7..c54408dab 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.53.0 - generationVersion: 2.58.0 + speakeasyVersion: 1.53.1 + generationVersion: 2.58.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.29.0 + version: 1.29.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 34c02820d..57f5fae77 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.29.0", + version="1.29.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 55a5c1467..6b6bb13ff 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.29.0' - gen_version: str = '2.58.0' + sdk_version: str = '1.29.1' + gen_version: str = '2.58.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 22877284a2223afe07b12973d6b401b92ca87872 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 11 Jul 2023 01:20:38 +0000 Subject: [PATCH 46/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 33c969c33..a17fb110f 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -304,4 +304,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-11 01:20:20 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index c54408dab..600196e18 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.53.1 - generationVersion: 2.58.2 + speakeasyVersion: 1.56.0 + generationVersion: 2.61.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.29.1 + version: 1.30.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 57f5fae77..c2fb73c0c 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.29.1", + version="1.30.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 6b6bb13ff..5fff9abb9 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.29.1' - gen_version: str = '2.58.2' + sdk_version: str = '1.30.0' + gen_version: str = '2.61.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From e0adfd8783d25a4d4ddd01a41f58b4f9f4b0686b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Jul 2023 01:26:36 +0000 Subject: [PATCH 47/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.4 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index a17fb110f..6d38269a8 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -310,4 +310,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-12 01:26:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.56.4 (2.61.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 600196e18..48b18fe5a 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.56.0 - generationVersion: 2.61.0 + speakeasyVersion: 1.56.4 + generationVersion: 2.61.5 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.30.0 + version: 1.30.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index c2fb73c0c..c5d66e81d 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.30.0", + version="1.30.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 5fff9abb9..7267b80c4 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.30.0' - gen_version: str = '2.61.0' + sdk_version: str = '1.30.1' + gen_version: str = '2.61.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 755861a6f882ead10eabad00c00b88e3ac407cfb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 13 Jul 2023 01:38:17 +0000 Subject: [PATCH 48/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.57.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/models/shared/section.py | 2 +- workflows_execution/src/epilot/models/shared/step.py | 2 +- .../src/epilot/models/shared/stepextended.py | 2 +- .../src/epilot/models/shared/updatestepreq.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 8 files changed, 17 insertions(+), 11 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 6d38269a8..662c38318 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -316,4 +316,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.56.4 (2.61.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.56.4 (2.61.5) https://github.com/speakeasy-api/speakeasy + +## 2023-07-13 01:38:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 48b18fe5a..1e2e5639b 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.56.4 - generationVersion: 2.61.5 + speakeasyVersion: 1.57.0 + generationVersion: 2.62.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.30.1 + version: 1.31.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index c5d66e81d..854bfd00a 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.30.1", + version="1.31.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index f6edef43f..4da72c22f 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -23,7 +23,7 @@ class Section: definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index 171ce14f1..6c9f08409 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -46,7 +46,7 @@ class Step: status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index c563f8220..3afc818c5 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -50,7 +50,7 @@ class StepExtended: status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index 1c3f149bf..32b337cde 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -30,7 +30,7 @@ class UpdateStepReq: status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - + Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible """ diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 7267b80c4..0e0b191c7 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.30.1' - gen_version: str = '2.61.5' + sdk_version: str = '1.31.0' + gen_version: str = '2.62.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 0d3a4bf5c5b8db2a8840d99645dea503774a7bea Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Jul 2023 01:38:04 +0000 Subject: [PATCH 49/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.59.0 --- workflows_execution/README.md | 2 ++ workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/USAGE.md | 2 ++ workflows_execution/docs/sdks/workflows/README.md | 10 +++++----- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index d8ef5f49d..088db74d5 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -10,6 +10,8 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=workfl ## SDK Example Usage + + ```python import epilot from epilot.models import shared diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 662c38318..ac0338714 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -322,4 +322,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy + +## 2023-07-14 01:37:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 1cd58834e..245d4f476 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -1,4 +1,6 @@ + + ```python import epilot from epilot.models import shared diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index 5b932f83f..c60bea38e 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -125,7 +125,7 @@ Delete workflow execution by id. Workflow contexts will NOT be deleted. ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -163,7 +163,7 @@ Deletes a step from a workflow execution. ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -205,7 +205,7 @@ from the state of the Definition when the instance was created. ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -243,7 +243,7 @@ Get a full workflow execution, included steps information, by execution id. ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -281,7 +281,7 @@ Retrieve Workflow Executions. Optionally, you can filter them by context & schem ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 1e2e5639b..6fad129fc 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.57.0 - generationVersion: 2.62.1 + speakeasyVersion: 1.59.0 + generationVersion: 2.65.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.31.0 + version: 1.32.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 854bfd00a..e11c8302b 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.31.0", + version="1.32.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 0e0b191c7..6b2fd1f96 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.31.0' - gen_version: str = '2.62.1' + sdk_version: str = '1.32.0' + gen_version: str = '2.65.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 77b643686ea0a8edc68c6cd5b54d7b420163bb41 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 17 Jul 2023 01:40:49 +0000 Subject: [PATCH 50/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.60.0 --- workflows_execution/RELEASES.md | 8 +++- workflows_execution/files.gen | 1 + workflows_execution/gen.yaml | 6 +-- workflows_execution/pylintrc | 4 +- workflows_execution/setup.py | 2 +- .../src/epilot/models/errors/sdkerror.py | 24 ++++++++++++ .../src/epilot/sdkconfiguration.py | 4 +- workflows_execution/src/epilot/workflows.py | 38 +++++++++++++++++++ 8 files changed, 79 insertions(+), 8 deletions(-) create mode 100755 workflows_execution/src/epilot/models/errors/sdkerror.py diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index ac0338714..537148fbe 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -328,4 +328,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-17 01:40:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.60.0 (2.66.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 7dbdb7144..e6c14548f 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -5,6 +5,7 @@ pylintrc setup.py src/epilot/__init__.py src/epilot/models/__init__.py +src/epilot/models/errors/sdkerror.py src/epilot/utils/__init__.py src/epilot/utils/retries.py src/epilot/utils/utils.py diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 6fad129fc..fb2dcc27d 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.59.0 - generationVersion: 2.65.0 + speakeasyVersion: 1.60.0 + generationVersion: 2.66.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.32.0 + version: 1.33.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc index 1ce47d88d..21a389459 100755 --- a/workflows_execution/pylintrc +++ b/workflows_execution/pylintrc @@ -438,7 +438,9 @@ disable=raw-checker-failed, using-constant-test, too-many-statements, cyclic-import, - too-many-nested-blocks + too-many-nested-blocks, + too-many-boolean-expressions, + no-else-raise # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index e11c8302b..2810ec5bf 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.32.0", + version="1.33.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/errors/sdkerror.py b/workflows_execution/src/epilot/models/errors/sdkerror.py new file mode 100755 index 000000000..6bb02bbd6 --- /dev/null +++ b/workflows_execution/src/epilot/models/errors/sdkerror.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http + + +class SDKError(Exception): + """Represents an error returned by the API.""" + message: str + status_code: int + body: str + raw_response: requests_http.Response + + def __init__(self, message: str, status_code: int, body: str, raw_response: requests_http.Response): + self.message = message + self.status_code = status_code + self.body = body + self.raw_response = raw_response + + def __str__(self): + body = '' + if len(self.body) > 0: + body = f'\n{self.body}' + + return f'{self.message}: Status {self.status_code}{body}' diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 6b2fd1f96..f6675cb55 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.32.0' - gen_version: str = '2.65.0' + sdk_version: str = '1.33.0' + gen_version: str = '2.66.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 9f23c4afd..c46db24b2 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -40,10 +40,14 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.WorkflowExecution]) res.workflow_execution = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -75,10 +79,14 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.Step]) res.step = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -107,6 +115,8 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -135,6 +145,8 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -163,10 +175,14 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ClosingReasonResp]) res.closing_reason_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -193,10 +209,14 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.WorkflowExecution]) res.workflow_execution = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -224,10 +244,14 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[list[shared.WorkflowExecutionSlim]]) res.workflow_execution_slims = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code == 500: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -259,10 +283,14 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.SearchExecutionsResp]) res.search_executions_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -294,10 +322,14 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.SearchStepsResp]) res.search_steps_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -331,6 +363,8 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -362,10 +396,14 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.Step]) res.step = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) elif http_res.status_code in [400, 401, 500]: if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.ErrorResp]) res.error_resp = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res From d176477315c54862d03231016cc49f47a16c7a90 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Jul 2023 01:48:52 +0000 Subject: [PATCH 51/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.61.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/files.gen | 1 + workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/models/errors/__init__.py | 4 ++++ workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/workflows.py | 2 +- 7 files changed, 19 insertions(+), 8 deletions(-) create mode 100755 workflows_execution/src/epilot/models/errors/__init__.py diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 537148fbe..8e8c32f3a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -334,4 +334,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.60.0 (2.66.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.60.0 (2.66.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-18 01:48:37 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index e6c14548f..9ba5644ff 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -58,6 +58,7 @@ src/epilot/models/shared/updatestepreq.py src/epilot/models/shared/steppositionat.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py +src/epilot/models/errors/__init__.py docs/sdks/epilot/README.md docs/sdks/workflows/README.md USAGE.md diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index fb2dcc27d..5fb1a09b5 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.60.0 - generationVersion: 2.66.0 + speakeasyVersion: 1.61.0 + generationVersion: 2.70.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.33.0 + version: 1.34.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 2810ec5bf..ba860af1c 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.33.0", + version="1.34.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/errors/__init__.py b/workflows_execution/src/epilot/models/errors/__init__.py new file mode 100755 index 000000000..cfd848441 --- /dev/null +++ b/workflows_execution/src/epilot/models/errors/__init__.py @@ -0,0 +1,4 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from .sdkerror import SDKError +__all__ = ["SDKError"] diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index f6675cb55..82ba46efe 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.33.0' - gen_version: str = '2.66.0' + sdk_version: str = '1.34.0' + gen_version: str = '2.70.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index c46db24b2..cf2fc698a 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils -from epilot.models import operations, shared +from epilot.models import errors, operations, shared from typing import Optional class Workflows: From 81922e07442bcf8681b198f49cb72ea23c683bf2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Jul 2023 02:37:47 +0000 Subject: [PATCH 52/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.62.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 8e8c32f3a..6e7fe2b3a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -340,4 +340,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-19 02:37:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 5fb1a09b5..089f64d25 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.61.0 - generationVersion: 2.70.0 + speakeasyVersion: 1.62.1 + generationVersion: 2.70.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.34.0 + version: 1.34.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index ba860af1c..d61dcfcc8 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.34.0", + version="1.34.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 82ba46efe..03af01e20 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.34.0' - gen_version: str = '2.70.0' + sdk_version: str = '1.34.1' + gen_version: str = '2.70.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From c73516031a05258ded906bbf03c6d0fe8e0daf67 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Jul 2023 01:14:51 +0000 Subject: [PATCH 53/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.64.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/USAGE.md | 0 .../docs/models/operations/createexecutionresponse.md | 0 .../docs/models/operations/createsteprequest.md | 0 .../docs/models/operations/createstepresponse.md | 0 .../docs/models/operations/deleteexecutionrequest.md | 0 .../docs/models/operations/deleteexecutionresponse.md | 0 .../docs/models/operations/deletesteprequest.md | 0 .../docs/models/operations/deletestepresponse.md | 0 .../models/operations/getclosingreasonexecutionrequest.md | 0 .../operations/getclosingreasonexecutionresponse.md | 0 .../docs/models/operations/getexecutionrequest.md | 0 .../docs/models/operations/getexecutionresponse.md | 0 .../docs/models/operations/getexecutionsrequest.md | 0 .../docs/models/operations/getexecutionsresponse.md | 0 .../docs/models/operations/searchexecutionsresponse.md | 0 .../docs/models/operations/searchstepsresponse.md | 0 .../docs/models/operations/updateexecutionrequest.md | 0 .../docs/models/operations/updateexecutionresponse.md | 0 .../docs/models/operations/updatesteprequest.md | 0 .../docs/models/operations/updatestepresponse.md | 0 .../docs/models/shared/automationconfig.md | 0 workflows_execution/docs/models/shared/closingreason.md | 0 .../docs/models/shared/closingreasonresp.md | 0 workflows_execution/docs/models/shared/createstepreq.md | 0 workflows_execution/docs/models/shared/dynamicduedate.md | 0 .../models/shared/dynamicduedateactiontypecondition.md | 0 .../docs/models/shared/dynamicduedatetimeperiod.md | 0 workflows_execution/docs/models/shared/ecpdetails.md | 0 workflows_execution/docs/models/shared/errorresp.md | 0 .../docs/models/shared/executionpaginationdynamo.md | 0 workflows_execution/docs/models/shared/itemtype.md | 0 .../docs/models/shared/lastevaluatedkey.md | 0 .../docs/models/shared/searchexecutionsreq.md | 0 .../docs/models/shared/searchexecutionsresp.md | 0 .../docs/models/shared/searchpagination.md | 0 workflows_execution/docs/models/shared/searchsorting.md | 0 workflows_execution/docs/models/shared/searchstepsreq.md | 0 .../docs/models/shared/searchstepsreqstatus.md | 0 workflows_execution/docs/models/shared/searchstepsresp.md | 0 workflows_execution/docs/models/shared/section.md | 0 .../docs/models/shared/sectionsimplified.md | 0 workflows_execution/docs/models/shared/security.md | 0 workflows_execution/docs/models/shared/step.md | 0 workflows_execution/docs/models/shared/stepextended.md | 0 workflows_execution/docs/models/shared/stepid.md | 0 workflows_execution/docs/models/shared/steppositionat.md | 0 workflows_execution/docs/models/shared/steprequirement.md | 0 .../docs/models/shared/steprequirementcondition.md | 0 workflows_execution/docs/models/shared/stepsimplified.md | 0 workflows_execution/docs/models/shared/stepstatus.md | 0 workflows_execution/docs/models/shared/steptype.md | 0 workflows_execution/docs/models/shared/triggertype.md | 0 .../docs/models/shared/updateentityattributes.md | 0 .../docs/models/shared/updateentityattributessource.md | 0 .../docs/models/shared/updateentityattributestarget.md | 0 workflows_execution/docs/models/shared/updatestepreq.md | 0 workflows_execution/docs/models/shared/workflowcontext.md | 0 .../docs/models/shared/workflowexecution.md | 0 .../docs/models/shared/workflowexecutioncreatereq.md | 0 .../docs/models/shared/workflowexecutionslim.md | 0 .../docs/models/shared/workflowexecutionupdatereq.md | 0 workflows_execution/docs/models/shared/workflowstatus.md | 0 workflows_execution/docs/sdks/epilot/README.md | 0 workflows_execution/docs/sdks/workflows/README.md | 0 workflows_execution/gen.yaml | 6 +++--- workflows_execution/pylintrc | 0 workflows_execution/setup.py | 4 ++-- workflows_execution/src/epilot/__init__.py | 0 workflows_execution/src/epilot/models/__init__.py | 0 workflows_execution/src/epilot/models/errors/__init__.py | 0 workflows_execution/src/epilot/models/errors/sdkerror.py | 0 .../src/epilot/models/operations/__init__.py | 0 .../src/epilot/models/operations/createexecution.py | 0 .../src/epilot/models/operations/createstep.py | 0 .../src/epilot/models/operations/deleteexecution.py | 0 .../src/epilot/models/operations/deletestep.py | 0 .../epilot/models/operations/getclosingreasonexecution.py | 0 .../src/epilot/models/operations/getexecution.py | 0 .../src/epilot/models/operations/getexecutions.py | 0 .../src/epilot/models/operations/searchexecutions.py | 0 .../src/epilot/models/operations/searchsteps.py | 0 .../src/epilot/models/operations/updateexecution.py | 0 .../src/epilot/models/operations/updatestep.py | 0 workflows_execution/src/epilot/models/shared/__init__.py | 0 .../src/epilot/models/shared/automationconfig.py | 0 .../src/epilot/models/shared/closingreason.py | 0 .../src/epilot/models/shared/closingreasonresp.py | 0 .../src/epilot/models/shared/createstepreq.py | 0 .../src/epilot/models/shared/dynamicduedate.py | 0 .../src/epilot/models/shared/ecpdetails.py | 0 workflows_execution/src/epilot/models/shared/errorresp.py | 0 .../src/epilot/models/shared/executionpaginationdynamo.py | 0 workflows_execution/src/epilot/models/shared/itemtype.py | 0 .../src/epilot/models/shared/lastevaluatedkey.py | 0 .../src/epilot/models/shared/searchexecutionsreq.py | 0 .../src/epilot/models/shared/searchexecutionsresp.py | 0 .../src/epilot/models/shared/searchpagination.py | 0 .../src/epilot/models/shared/searchsorting.py | 0 .../src/epilot/models/shared/searchstepsreq.py | 0 .../src/epilot/models/shared/searchstepsresp.py | 0 workflows_execution/src/epilot/models/shared/section.py | 0 .../src/epilot/models/shared/sectionsimplified.py | 0 workflows_execution/src/epilot/models/shared/security.py | 0 workflows_execution/src/epilot/models/shared/step.py | 0 .../src/epilot/models/shared/stepextended.py | 0 workflows_execution/src/epilot/models/shared/stepid.py | 0 .../src/epilot/models/shared/steppositionat.py | 0 .../src/epilot/models/shared/steprequirement.py | 0 .../src/epilot/models/shared/stepsimplified.py | 0 .../src/epilot/models/shared/stepstatus.py | 0 workflows_execution/src/epilot/models/shared/steptype.py | 0 .../src/epilot/models/shared/triggertype.py | 0 .../src/epilot/models/shared/updateentityattributes.py | 0 .../src/epilot/models/shared/updatestepreq.py | 0 .../src/epilot/models/shared/workflowcontext.py | 0 .../src/epilot/models/shared/workflowexecution.py | 0 .../epilot/models/shared/workflowexecutioncreatereq.py | 0 .../src/epilot/models/shared/workflowexecutionslim.py | 0 .../epilot/models/shared/workflowexecutionupdatereq.py | 0 .../src/epilot/models/shared/workflowstatus.py | 0 workflows_execution/src/epilot/sdk.py | 0 workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/utils/__init__.py | 0 workflows_execution/src/epilot/utils/retries.py | 0 workflows_execution/src/epilot/utils/utils.py | 0 workflows_execution/src/epilot/workflows.py | 0 127 files changed, 14 insertions(+), 8 deletions(-) mode change 100755 => 100644 workflows_execution/USAGE.md mode change 100755 => 100644 workflows_execution/docs/models/operations/createexecutionresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/createsteprequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/createstepresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/deleteexecutionrequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/deleteexecutionresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/deletesteprequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/deletestepresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/getexecutionrequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/getexecutionresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/getexecutionsrequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/getexecutionsresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/searchexecutionsresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/searchstepsresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/updateexecutionrequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/updateexecutionresponse.md mode change 100755 => 100644 workflows_execution/docs/models/operations/updatesteprequest.md mode change 100755 => 100644 workflows_execution/docs/models/operations/updatestepresponse.md mode change 100755 => 100644 workflows_execution/docs/models/shared/automationconfig.md mode change 100755 => 100644 workflows_execution/docs/models/shared/closingreason.md mode change 100755 => 100644 workflows_execution/docs/models/shared/closingreasonresp.md mode change 100755 => 100644 workflows_execution/docs/models/shared/createstepreq.md mode change 100755 => 100644 workflows_execution/docs/models/shared/dynamicduedate.md mode change 100755 => 100644 workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md mode change 100755 => 100644 workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md mode change 100755 => 100644 workflows_execution/docs/models/shared/ecpdetails.md mode change 100755 => 100644 workflows_execution/docs/models/shared/errorresp.md mode change 100755 => 100644 workflows_execution/docs/models/shared/executionpaginationdynamo.md mode change 100755 => 100644 workflows_execution/docs/models/shared/itemtype.md mode change 100755 => 100644 workflows_execution/docs/models/shared/lastevaluatedkey.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchexecutionsreq.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchexecutionsresp.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchpagination.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchsorting.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchstepsreq.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchstepsreqstatus.md mode change 100755 => 100644 workflows_execution/docs/models/shared/searchstepsresp.md mode change 100755 => 100644 workflows_execution/docs/models/shared/section.md mode change 100755 => 100644 workflows_execution/docs/models/shared/sectionsimplified.md mode change 100755 => 100644 workflows_execution/docs/models/shared/security.md mode change 100755 => 100644 workflows_execution/docs/models/shared/step.md mode change 100755 => 100644 workflows_execution/docs/models/shared/stepextended.md mode change 100755 => 100644 workflows_execution/docs/models/shared/stepid.md mode change 100755 => 100644 workflows_execution/docs/models/shared/steppositionat.md mode change 100755 => 100644 workflows_execution/docs/models/shared/steprequirement.md mode change 100755 => 100644 workflows_execution/docs/models/shared/steprequirementcondition.md mode change 100755 => 100644 workflows_execution/docs/models/shared/stepsimplified.md mode change 100755 => 100644 workflows_execution/docs/models/shared/stepstatus.md mode change 100755 => 100644 workflows_execution/docs/models/shared/steptype.md mode change 100755 => 100644 workflows_execution/docs/models/shared/triggertype.md mode change 100755 => 100644 workflows_execution/docs/models/shared/updateentityattributes.md mode change 100755 => 100644 workflows_execution/docs/models/shared/updateentityattributessource.md mode change 100755 => 100644 workflows_execution/docs/models/shared/updateentityattributestarget.md mode change 100755 => 100644 workflows_execution/docs/models/shared/updatestepreq.md mode change 100755 => 100644 workflows_execution/docs/models/shared/workflowcontext.md mode change 100755 => 100644 workflows_execution/docs/models/shared/workflowexecution.md mode change 100755 => 100644 workflows_execution/docs/models/shared/workflowexecutioncreatereq.md mode change 100755 => 100644 workflows_execution/docs/models/shared/workflowexecutionslim.md mode change 100755 => 100644 workflows_execution/docs/models/shared/workflowexecutionupdatereq.md mode change 100755 => 100644 workflows_execution/docs/models/shared/workflowstatus.md mode change 100755 => 100644 workflows_execution/docs/sdks/epilot/README.md mode change 100755 => 100644 workflows_execution/docs/sdks/workflows/README.md mode change 100755 => 100644 workflows_execution/pylintrc mode change 100755 => 100644 workflows_execution/setup.py mode change 100755 => 100644 workflows_execution/src/epilot/__init__.py mode change 100755 => 100644 workflows_execution/src/epilot/models/__init__.py mode change 100755 => 100644 workflows_execution/src/epilot/models/errors/__init__.py mode change 100755 => 100644 workflows_execution/src/epilot/models/errors/sdkerror.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/__init__.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/createexecution.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/createstep.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/deleteexecution.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/deletestep.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/getexecution.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/getexecutions.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/searchexecutions.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/searchsteps.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/updateexecution.py mode change 100755 => 100644 workflows_execution/src/epilot/models/operations/updatestep.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/__init__.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/automationconfig.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/closingreason.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/closingreasonresp.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/createstepreq.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/dynamicduedate.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/ecpdetails.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/errorresp.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/itemtype.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/lastevaluatedkey.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/searchexecutionsreq.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/searchexecutionsresp.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/searchpagination.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/searchsorting.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/searchstepsreq.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/searchstepsresp.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/section.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/sectionsimplified.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/security.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/step.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/stepextended.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/stepid.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/steppositionat.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/steprequirement.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/stepsimplified.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/stepstatus.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/steptype.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/triggertype.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/updateentityattributes.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/updatestepreq.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/workflowcontext.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/workflowexecution.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/workflowexecutionslim.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py mode change 100755 => 100644 workflows_execution/src/epilot/models/shared/workflowstatus.py mode change 100755 => 100644 workflows_execution/src/epilot/sdk.py mode change 100755 => 100644 workflows_execution/src/epilot/sdkconfiguration.py mode change 100755 => 100644 workflows_execution/src/epilot/utils/__init__.py mode change 100755 => 100644 workflows_execution/src/epilot/utils/retries.py mode change 100755 => 100644 workflows_execution/src/epilot/utils/utils.py mode change 100755 => 100644 workflows_execution/src/epilot/workflows.py diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 6e7fe2b3a..51342977d 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -346,4 +346,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-22 01:14:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/createexecutionresponse.md b/workflows_execution/docs/models/operations/createexecutionresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/createsteprequest.md b/workflows_execution/docs/models/operations/createsteprequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/createstepresponse.md b/workflows_execution/docs/models/operations/createstepresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/deleteexecutionrequest.md b/workflows_execution/docs/models/operations/deleteexecutionrequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/deleteexecutionresponse.md b/workflows_execution/docs/models/operations/deleteexecutionresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/deletesteprequest.md b/workflows_execution/docs/models/operations/deletesteprequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/deletestepresponse.md b/workflows_execution/docs/models/operations/deletestepresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/getexecutionrequest.md b/workflows_execution/docs/models/operations/getexecutionrequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/getexecutionresponse.md b/workflows_execution/docs/models/operations/getexecutionresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/getexecutionsrequest.md b/workflows_execution/docs/models/operations/getexecutionsrequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/searchexecutionsresponse.md b/workflows_execution/docs/models/operations/searchexecutionsresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/searchstepsresponse.md b/workflows_execution/docs/models/operations/searchstepsresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/updateexecutionrequest.md b/workflows_execution/docs/models/operations/updateexecutionrequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/updateexecutionresponse.md b/workflows_execution/docs/models/operations/updateexecutionresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/updatesteprequest.md b/workflows_execution/docs/models/operations/updatesteprequest.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/operations/updatestepresponse.md b/workflows_execution/docs/models/operations/updatestepresponse.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/automationconfig.md b/workflows_execution/docs/models/shared/automationconfig.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/closingreason.md b/workflows_execution/docs/models/shared/closingreason.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/dynamicduedate.md b/workflows_execution/docs/models/shared/dynamicduedate.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md b/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md b/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/ecpdetails.md b/workflows_execution/docs/models/shared/ecpdetails.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/errorresp.md b/workflows_execution/docs/models/shared/errorresp.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/executionpaginationdynamo.md b/workflows_execution/docs/models/shared/executionpaginationdynamo.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/itemtype.md b/workflows_execution/docs/models/shared/itemtype.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/lastevaluatedkey.md b/workflows_execution/docs/models/shared/lastevaluatedkey.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchexecutionsreq.md b/workflows_execution/docs/models/shared/searchexecutionsreq.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchpagination.md b/workflows_execution/docs/models/shared/searchpagination.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchsorting.md b/workflows_execution/docs/models/shared/searchsorting.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchstepsreq.md b/workflows_execution/docs/models/shared/searchstepsreq.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchstepsreqstatus.md b/workflows_execution/docs/models/shared/searchstepsreqstatus.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/sectionsimplified.md b/workflows_execution/docs/models/shared/sectionsimplified.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/security.md b/workflows_execution/docs/models/shared/security.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/stepid.md b/workflows_execution/docs/models/shared/stepid.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/steppositionat.md b/workflows_execution/docs/models/shared/steppositionat.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/steprequirement.md b/workflows_execution/docs/models/shared/steprequirement.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/steprequirementcondition.md b/workflows_execution/docs/models/shared/steprequirementcondition.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/stepstatus.md b/workflows_execution/docs/models/shared/stepstatus.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/steptype.md b/workflows_execution/docs/models/shared/steptype.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/triggertype.md b/workflows_execution/docs/models/shared/triggertype.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/updateentityattributes.md b/workflows_execution/docs/models/shared/updateentityattributes.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/updateentityattributessource.md b/workflows_execution/docs/models/shared/updateentityattributessource.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/updateentityattributestarget.md b/workflows_execution/docs/models/shared/updateentityattributestarget.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/workflowcontext.md b/workflows_execution/docs/models/shared/workflowcontext.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/models/shared/workflowstatus.md b/workflows_execution/docs/models/shared/workflowstatus.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/sdks/epilot/README.md b/workflows_execution/docs/sdks/epilot/README.md old mode 100755 new mode 100644 diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md old mode 100755 new mode 100644 diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 089f64d25..4fd9407fc 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.62.1 - generationVersion: 2.70.2 + speakeasyVersion: 1.64.0 + generationVersion: 2.71.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.34.1 + version: 1.35.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc old mode 100755 new mode 100644 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py old mode 100755 new mode 100644 index d61dcfcc8..ba6968d9f --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.34.1", + version="1.35.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json-speakeasy>=0.5.8", + "dataclasses-json>=0.5.12", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/workflows_execution/src/epilot/__init__.py b/workflows_execution/src/epilot/__init__.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/__init__.py b/workflows_execution/src/epilot/models/__init__.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/errors/__init__.py b/workflows_execution/src/epilot/models/errors/__init__.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/errors/sdkerror.py b/workflows_execution/src/epilot/models/errors/sdkerror.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/__init__.py b/workflows_execution/src/epilot/models/operations/__init__.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/automationconfig.py b/workflows_execution/src/epilot/models/shared/automationconfig.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/closingreason.py b/workflows_execution/src/epilot/models/shared/closingreason.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/ecpdetails.py b/workflows_execution/src/epilot/models/shared/ecpdetails.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/itemtype.py b/workflows_execution/src/epilot/models/shared/itemtype.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/searchpagination.py b/workflows_execution/src/epilot/models/shared/searchpagination.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/searchsorting.py b/workflows_execution/src/epilot/models/shared/searchsorting.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/security.py b/workflows_execution/src/epilot/models/shared/security.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/stepstatus.py b/workflows_execution/src/epilot/models/shared/stepstatus.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/steptype.py b/workflows_execution/src/epilot/models/shared/steptype.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/triggertype.py b/workflows_execution/src/epilot/models/shared/triggertype.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/workflowcontext.py b/workflows_execution/src/epilot/models/shared/workflowcontext.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/models/shared/workflowstatus.py b/workflows_execution/src/epilot/models/shared/workflowstatus.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py old mode 100755 new mode 100644 index 03af01e20..4739f2b3c --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.34.1' - gen_version: str = '2.70.2' + sdk_version: str = '1.35.0' + gen_version: str = '2.71.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/__init__.py b/workflows_execution/src/epilot/utils/__init__.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/utils/retries.py b/workflows_execution/src/epilot/utils/retries.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py old mode 100755 new mode 100644 diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py old mode 100755 new mode 100644 From 4f2c16f154fab2d79cd6657161cd8f4cea22aadd Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Jul 2023 01:15:48 +0000 Subject: [PATCH 54/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.0 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/USAGE.md | 0 .../docs/models/operations/createexecutionresponse.md | 0 .../docs/models/operations/createsteprequest.md | 0 .../docs/models/operations/createstepresponse.md | 0 .../docs/models/operations/deleteexecutionrequest.md | 0 .../docs/models/operations/deleteexecutionresponse.md | 0 .../docs/models/operations/deletesteprequest.md | 0 .../docs/models/operations/deletestepresponse.md | 0 .../models/operations/getclosingreasonexecutionrequest.md | 0 .../operations/getclosingreasonexecutionresponse.md | 0 .../docs/models/operations/getexecutionrequest.md | 0 .../docs/models/operations/getexecutionresponse.md | 0 .../docs/models/operations/getexecutionsrequest.md | 0 .../docs/models/operations/getexecutionsresponse.md | 0 .../docs/models/operations/searchexecutionsresponse.md | 0 .../docs/models/operations/searchstepsresponse.md | 0 .../docs/models/operations/updateexecutionrequest.md | 0 .../docs/models/operations/updateexecutionresponse.md | 0 .../docs/models/operations/updatesteprequest.md | 0 .../docs/models/operations/updatestepresponse.md | 0 .../docs/models/shared/automationconfig.md | 0 workflows_execution/docs/models/shared/closingreason.md | 0 .../docs/models/shared/closingreasonresp.md | 0 workflows_execution/docs/models/shared/createstepreq.md | 0 workflows_execution/docs/models/shared/dynamicduedate.md | 0 .../models/shared/dynamicduedateactiontypecondition.md | 0 .../docs/models/shared/dynamicduedatetimeperiod.md | 0 workflows_execution/docs/models/shared/ecpdetails.md | 0 workflows_execution/docs/models/shared/errorresp.md | 0 .../docs/models/shared/executionpaginationdynamo.md | 0 workflows_execution/docs/models/shared/itemtype.md | 0 .../docs/models/shared/lastevaluatedkey.md | 0 .../docs/models/shared/searchexecutionsreq.md | 0 .../docs/models/shared/searchexecutionsresp.md | 0 .../docs/models/shared/searchpagination.md | 0 workflows_execution/docs/models/shared/searchsorting.md | 0 workflows_execution/docs/models/shared/searchstepsreq.md | 0 .../docs/models/shared/searchstepsreqstatus.md | 0 workflows_execution/docs/models/shared/searchstepsresp.md | 0 workflows_execution/docs/models/shared/section.md | 0 .../docs/models/shared/sectionsimplified.md | 0 workflows_execution/docs/models/shared/security.md | 0 workflows_execution/docs/models/shared/step.md | 0 workflows_execution/docs/models/shared/stepextended.md | 0 workflows_execution/docs/models/shared/stepid.md | 0 workflows_execution/docs/models/shared/steppositionat.md | 0 workflows_execution/docs/models/shared/steprequirement.md | 0 .../docs/models/shared/steprequirementcondition.md | 0 workflows_execution/docs/models/shared/stepsimplified.md | 0 workflows_execution/docs/models/shared/stepstatus.md | 0 workflows_execution/docs/models/shared/steptype.md | 0 workflows_execution/docs/models/shared/triggertype.md | 0 .../docs/models/shared/updateentityattributes.md | 0 .../docs/models/shared/updateentityattributessource.md | 0 .../docs/models/shared/updateentityattributestarget.md | 0 workflows_execution/docs/models/shared/updatestepreq.md | 0 workflows_execution/docs/models/shared/workflowcontext.md | 0 .../docs/models/shared/workflowexecution.md | 0 .../docs/models/shared/workflowexecutioncreatereq.md | 0 .../docs/models/shared/workflowexecutionslim.md | 0 .../docs/models/shared/workflowexecutionupdatereq.md | 0 workflows_execution/docs/models/shared/workflowstatus.md | 0 workflows_execution/docs/sdks/epilot/README.md | 0 workflows_execution/docs/sdks/workflows/README.md | 0 workflows_execution/gen.yaml | 6 +++--- workflows_execution/pylintrc | 0 workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/__init__.py | 0 workflows_execution/src/epilot/models/__init__.py | 0 workflows_execution/src/epilot/models/errors/__init__.py | 0 workflows_execution/src/epilot/models/errors/sdkerror.py | 0 .../src/epilot/models/operations/__init__.py | 0 .../src/epilot/models/operations/createexecution.py | 0 .../src/epilot/models/operations/createstep.py | 0 .../src/epilot/models/operations/deleteexecution.py | 0 .../src/epilot/models/operations/deletestep.py | 0 .../epilot/models/operations/getclosingreasonexecution.py | 0 .../src/epilot/models/operations/getexecution.py | 0 .../src/epilot/models/operations/getexecutions.py | 0 .../src/epilot/models/operations/searchexecutions.py | 0 .../src/epilot/models/operations/searchsteps.py | 0 .../src/epilot/models/operations/updateexecution.py | 0 .../src/epilot/models/operations/updatestep.py | 0 workflows_execution/src/epilot/models/shared/__init__.py | 0 .../src/epilot/models/shared/automationconfig.py | 0 .../src/epilot/models/shared/closingreason.py | 0 .../src/epilot/models/shared/closingreasonresp.py | 0 .../src/epilot/models/shared/createstepreq.py | 0 .../src/epilot/models/shared/dynamicduedate.py | 0 .../src/epilot/models/shared/ecpdetails.py | 0 workflows_execution/src/epilot/models/shared/errorresp.py | 0 .../src/epilot/models/shared/executionpaginationdynamo.py | 0 workflows_execution/src/epilot/models/shared/itemtype.py | 0 .../src/epilot/models/shared/lastevaluatedkey.py | 0 .../src/epilot/models/shared/searchexecutionsreq.py | 0 .../src/epilot/models/shared/searchexecutionsresp.py | 0 .../src/epilot/models/shared/searchpagination.py | 0 .../src/epilot/models/shared/searchsorting.py | 0 .../src/epilot/models/shared/searchstepsreq.py | 0 .../src/epilot/models/shared/searchstepsresp.py | 0 workflows_execution/src/epilot/models/shared/section.py | 0 .../src/epilot/models/shared/sectionsimplified.py | 0 workflows_execution/src/epilot/models/shared/security.py | 0 workflows_execution/src/epilot/models/shared/step.py | 0 .../src/epilot/models/shared/stepextended.py | 0 workflows_execution/src/epilot/models/shared/stepid.py | 0 .../src/epilot/models/shared/steppositionat.py | 0 .../src/epilot/models/shared/steprequirement.py | 0 .../src/epilot/models/shared/stepsimplified.py | 0 .../src/epilot/models/shared/stepstatus.py | 0 workflows_execution/src/epilot/models/shared/steptype.py | 0 .../src/epilot/models/shared/triggertype.py | 0 .../src/epilot/models/shared/updateentityattributes.py | 0 .../src/epilot/models/shared/updatestepreq.py | 0 .../src/epilot/models/shared/workflowcontext.py | 0 .../src/epilot/models/shared/workflowexecution.py | 0 .../epilot/models/shared/workflowexecutioncreatereq.py | 0 .../src/epilot/models/shared/workflowexecutionslim.py | 0 .../epilot/models/shared/workflowexecutionupdatereq.py | 0 .../src/epilot/models/shared/workflowstatus.py | 0 workflows_execution/src/epilot/sdk.py | 0 workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/utils/__init__.py | 0 workflows_execution/src/epilot/utils/retries.py | 0 workflows_execution/src/epilot/utils/utils.py | 0 workflows_execution/src/epilot/workflows.py | 0 127 files changed, 13 insertions(+), 7 deletions(-) mode change 100644 => 100755 workflows_execution/USAGE.md mode change 100644 => 100755 workflows_execution/docs/models/operations/createexecutionresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/createsteprequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/createstepresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/deleteexecutionrequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/deleteexecutionresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/deletesteprequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/deletestepresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/getexecutionrequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/getexecutionresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/getexecutionsrequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/getexecutionsresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/searchexecutionsresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/searchstepsresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/updateexecutionrequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/updateexecutionresponse.md mode change 100644 => 100755 workflows_execution/docs/models/operations/updatesteprequest.md mode change 100644 => 100755 workflows_execution/docs/models/operations/updatestepresponse.md mode change 100644 => 100755 workflows_execution/docs/models/shared/automationconfig.md mode change 100644 => 100755 workflows_execution/docs/models/shared/closingreason.md mode change 100644 => 100755 workflows_execution/docs/models/shared/closingreasonresp.md mode change 100644 => 100755 workflows_execution/docs/models/shared/createstepreq.md mode change 100644 => 100755 workflows_execution/docs/models/shared/dynamicduedate.md mode change 100644 => 100755 workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md mode change 100644 => 100755 workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md mode change 100644 => 100755 workflows_execution/docs/models/shared/ecpdetails.md mode change 100644 => 100755 workflows_execution/docs/models/shared/errorresp.md mode change 100644 => 100755 workflows_execution/docs/models/shared/executionpaginationdynamo.md mode change 100644 => 100755 workflows_execution/docs/models/shared/itemtype.md mode change 100644 => 100755 workflows_execution/docs/models/shared/lastevaluatedkey.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchexecutionsreq.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchexecutionsresp.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchpagination.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchsorting.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchstepsreq.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchstepsreqstatus.md mode change 100644 => 100755 workflows_execution/docs/models/shared/searchstepsresp.md mode change 100644 => 100755 workflows_execution/docs/models/shared/section.md mode change 100644 => 100755 workflows_execution/docs/models/shared/sectionsimplified.md mode change 100644 => 100755 workflows_execution/docs/models/shared/security.md mode change 100644 => 100755 workflows_execution/docs/models/shared/step.md mode change 100644 => 100755 workflows_execution/docs/models/shared/stepextended.md mode change 100644 => 100755 workflows_execution/docs/models/shared/stepid.md mode change 100644 => 100755 workflows_execution/docs/models/shared/steppositionat.md mode change 100644 => 100755 workflows_execution/docs/models/shared/steprequirement.md mode change 100644 => 100755 workflows_execution/docs/models/shared/steprequirementcondition.md mode change 100644 => 100755 workflows_execution/docs/models/shared/stepsimplified.md mode change 100644 => 100755 workflows_execution/docs/models/shared/stepstatus.md mode change 100644 => 100755 workflows_execution/docs/models/shared/steptype.md mode change 100644 => 100755 workflows_execution/docs/models/shared/triggertype.md mode change 100644 => 100755 workflows_execution/docs/models/shared/updateentityattributes.md mode change 100644 => 100755 workflows_execution/docs/models/shared/updateentityattributessource.md mode change 100644 => 100755 workflows_execution/docs/models/shared/updateentityattributestarget.md mode change 100644 => 100755 workflows_execution/docs/models/shared/updatestepreq.md mode change 100644 => 100755 workflows_execution/docs/models/shared/workflowcontext.md mode change 100644 => 100755 workflows_execution/docs/models/shared/workflowexecution.md mode change 100644 => 100755 workflows_execution/docs/models/shared/workflowexecutioncreatereq.md mode change 100644 => 100755 workflows_execution/docs/models/shared/workflowexecutionslim.md mode change 100644 => 100755 workflows_execution/docs/models/shared/workflowexecutionupdatereq.md mode change 100644 => 100755 workflows_execution/docs/models/shared/workflowstatus.md mode change 100644 => 100755 workflows_execution/docs/sdks/epilot/README.md mode change 100644 => 100755 workflows_execution/docs/sdks/workflows/README.md mode change 100644 => 100755 workflows_execution/pylintrc mode change 100644 => 100755 workflows_execution/setup.py mode change 100644 => 100755 workflows_execution/src/epilot/__init__.py mode change 100644 => 100755 workflows_execution/src/epilot/models/__init__.py mode change 100644 => 100755 workflows_execution/src/epilot/models/errors/__init__.py mode change 100644 => 100755 workflows_execution/src/epilot/models/errors/sdkerror.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/__init__.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/createexecution.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/createstep.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/deleteexecution.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/deletestep.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/getexecution.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/getexecutions.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/searchexecutions.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/searchsteps.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/updateexecution.py mode change 100644 => 100755 workflows_execution/src/epilot/models/operations/updatestep.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/__init__.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/automationconfig.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/closingreason.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/closingreasonresp.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/createstepreq.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/dynamicduedate.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/ecpdetails.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/errorresp.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/itemtype.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/lastevaluatedkey.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/searchexecutionsreq.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/searchexecutionsresp.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/searchpagination.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/searchsorting.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/searchstepsreq.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/searchstepsresp.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/section.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/sectionsimplified.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/security.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/step.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/stepextended.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/stepid.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/steppositionat.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/steprequirement.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/stepsimplified.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/stepstatus.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/steptype.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/triggertype.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/updateentityattributes.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/updatestepreq.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/workflowcontext.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/workflowexecution.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/workflowexecutionslim.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py mode change 100644 => 100755 workflows_execution/src/epilot/models/shared/workflowstatus.py mode change 100644 => 100755 workflows_execution/src/epilot/sdk.py mode change 100644 => 100755 workflows_execution/src/epilot/sdkconfiguration.py mode change 100644 => 100755 workflows_execution/src/epilot/utils/__init__.py mode change 100644 => 100755 workflows_execution/src/epilot/utils/retries.py mode change 100644 => 100755 workflows_execution/src/epilot/utils/utils.py mode change 100644 => 100755 workflows_execution/src/epilot/workflows.py diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 51342977d..71bf00003 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -352,4 +352,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-26 01:15:33 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/createexecutionresponse.md b/workflows_execution/docs/models/operations/createexecutionresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/createsteprequest.md b/workflows_execution/docs/models/operations/createsteprequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/createstepresponse.md b/workflows_execution/docs/models/operations/createstepresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/deleteexecutionrequest.md b/workflows_execution/docs/models/operations/deleteexecutionrequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/deleteexecutionresponse.md b/workflows_execution/docs/models/operations/deleteexecutionresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/deletesteprequest.md b/workflows_execution/docs/models/operations/deletesteprequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/deletestepresponse.md b/workflows_execution/docs/models/operations/deletestepresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/getexecutionrequest.md b/workflows_execution/docs/models/operations/getexecutionrequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/getexecutionresponse.md b/workflows_execution/docs/models/operations/getexecutionresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/getexecutionsrequest.md b/workflows_execution/docs/models/operations/getexecutionsrequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/searchexecutionsresponse.md b/workflows_execution/docs/models/operations/searchexecutionsresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/searchstepsresponse.md b/workflows_execution/docs/models/operations/searchstepsresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/updateexecutionrequest.md b/workflows_execution/docs/models/operations/updateexecutionrequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/updateexecutionresponse.md b/workflows_execution/docs/models/operations/updateexecutionresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/updatesteprequest.md b/workflows_execution/docs/models/operations/updatesteprequest.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/operations/updatestepresponse.md b/workflows_execution/docs/models/operations/updatestepresponse.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/automationconfig.md b/workflows_execution/docs/models/shared/automationconfig.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/closingreason.md b/workflows_execution/docs/models/shared/closingreason.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/dynamicduedate.md b/workflows_execution/docs/models/shared/dynamicduedate.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md b/workflows_execution/docs/models/shared/dynamicduedateactiontypecondition.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md b/workflows_execution/docs/models/shared/dynamicduedatetimeperiod.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/ecpdetails.md b/workflows_execution/docs/models/shared/ecpdetails.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/errorresp.md b/workflows_execution/docs/models/shared/errorresp.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/executionpaginationdynamo.md b/workflows_execution/docs/models/shared/executionpaginationdynamo.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/itemtype.md b/workflows_execution/docs/models/shared/itemtype.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/lastevaluatedkey.md b/workflows_execution/docs/models/shared/lastevaluatedkey.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchexecutionsreq.md b/workflows_execution/docs/models/shared/searchexecutionsreq.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchpagination.md b/workflows_execution/docs/models/shared/searchpagination.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchsorting.md b/workflows_execution/docs/models/shared/searchsorting.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchstepsreq.md b/workflows_execution/docs/models/shared/searchstepsreq.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchstepsreqstatus.md b/workflows_execution/docs/models/shared/searchstepsreqstatus.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/sectionsimplified.md b/workflows_execution/docs/models/shared/sectionsimplified.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/security.md b/workflows_execution/docs/models/shared/security.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/stepid.md b/workflows_execution/docs/models/shared/stepid.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/steppositionat.md b/workflows_execution/docs/models/shared/steppositionat.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/steprequirement.md b/workflows_execution/docs/models/shared/steprequirement.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/steprequirementcondition.md b/workflows_execution/docs/models/shared/steprequirementcondition.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/stepstatus.md b/workflows_execution/docs/models/shared/stepstatus.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/steptype.md b/workflows_execution/docs/models/shared/steptype.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/triggertype.md b/workflows_execution/docs/models/shared/triggertype.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/updateentityattributes.md b/workflows_execution/docs/models/shared/updateentityattributes.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/updateentityattributessource.md b/workflows_execution/docs/models/shared/updateentityattributessource.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/updateentityattributestarget.md b/workflows_execution/docs/models/shared/updateentityattributestarget.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/workflowcontext.md b/workflows_execution/docs/models/shared/workflowcontext.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/models/shared/workflowstatus.md b/workflows_execution/docs/models/shared/workflowstatus.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/sdks/epilot/README.md b/workflows_execution/docs/sdks/epilot/README.md old mode 100644 new mode 100755 diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md old mode 100644 new mode 100755 diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 4fd9407fc..6287a762f 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.64.0 - generationVersion: 2.71.0 + speakeasyVersion: 1.65.0 + generationVersion: 2.73.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.35.0 + version: 1.36.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc old mode 100644 new mode 100755 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py old mode 100644 new mode 100755 index ba6968d9f..ff1edbe5c --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.35.0", + version="1.36.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/__init__.py b/workflows_execution/src/epilot/__init__.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/__init__.py b/workflows_execution/src/epilot/models/__init__.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/errors/__init__.py b/workflows_execution/src/epilot/models/errors/__init__.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/errors/sdkerror.py b/workflows_execution/src/epilot/models/errors/sdkerror.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/__init__.py b/workflows_execution/src/epilot/models/operations/__init__.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/automationconfig.py b/workflows_execution/src/epilot/models/shared/automationconfig.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/closingreason.py b/workflows_execution/src/epilot/models/shared/closingreason.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/ecpdetails.py b/workflows_execution/src/epilot/models/shared/ecpdetails.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/itemtype.py b/workflows_execution/src/epilot/models/shared/itemtype.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/searchpagination.py b/workflows_execution/src/epilot/models/shared/searchpagination.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/searchsorting.py b/workflows_execution/src/epilot/models/shared/searchsorting.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/security.py b/workflows_execution/src/epilot/models/shared/security.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/stepstatus.py b/workflows_execution/src/epilot/models/shared/stepstatus.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/steptype.py b/workflows_execution/src/epilot/models/shared/steptype.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/triggertype.py b/workflows_execution/src/epilot/models/shared/triggertype.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/workflowcontext.py b/workflows_execution/src/epilot/models/shared/workflowcontext.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/models/shared/workflowstatus.py b/workflows_execution/src/epilot/models/shared/workflowstatus.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py old mode 100644 new mode 100755 index 4739f2b3c..02d200412 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.35.0' - gen_version: str = '2.71.0' + sdk_version: str = '1.36.0' + gen_version: str = '2.73.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/__init__.py b/workflows_execution/src/epilot/utils/__init__.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/utils/retries.py b/workflows_execution/src/epilot/utils/retries.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py old mode 100644 new mode 100755 diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py old mode 100644 new mode 100755 From 84d13e27902009088c2aab8a769e6fa2422458de Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Jul 2023 01:07:17 +0000 Subject: [PATCH 55/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 71bf00003..7ee5e9e71 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -358,4 +358,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-27 01:07:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 6287a762f..c3a702b64 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.65.0 - generationVersion: 2.73.0 + speakeasyVersion: 1.65.1 + generationVersion: 2.73.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.36.0 + version: 1.36.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index ff1edbe5c..173f79952 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.36.0", + version="1.36.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 02d200412..6e6b4fde4 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.36.0' - gen_version: str = '2.73.0' + sdk_version: str = '1.36.1' + gen_version: str = '2.73.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From b3998dddb52edd3c9f500c9c311c89cf589973df Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Jul 2023 01:08:26 +0000 Subject: [PATCH 56/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.2 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/workflows.py | 16 ++++++++-------- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 7ee5e9e71..331a856b9 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -364,4 +364,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy + +## 2023-07-28 01:08:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index c3a702b64..7d24fb769 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f docVersion: 1.0.0 - speakeasyVersion: 1.65.1 - generationVersion: 2.73.1 + speakeasyVersion: 1.65.2 + generationVersion: 2.75.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.36.1 + version: 1.37.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 173f79952..0becb5e91 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.36.1", + version="1.37.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 6e6b4fde4..2e76124f5 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.36.1' - gen_version: str = '2.73.1' + sdk_version: str = '1.37.0' + gen_version: str = '2.75.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index cf2fc698a..a5580f138 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -26,7 +26,7 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -65,7 +65,7 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -161,7 +161,7 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu url = utils.generate_url(operations.GetClosingReasonExecutionRequest, base_url, '/v1/workflows/executions/{executionId}/closing-reasons', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -195,7 +195,7 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G url = utils.generate_url(operations.GetExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -230,7 +230,7 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations url = base_url + '/v1/workflows/executions' headers = {} query_params = utils.get_query_params(operations.GetExecutionsRequest, request) - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -269,7 +269,7 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -308,7 +308,7 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -382,7 +382,7 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') - headers['Accept'] = 'application/json;q=1, application/json;q=0' + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client From 05a5622b75e97e8bdd3841742b9afb6d993ade6a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 29 Jul 2023 01:09:04 +0000 Subject: [PATCH 57/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.2 --- workflows_execution/RELEASES.md | 6 ++ .../docs/models/shared/section.md | 3 + .../docs/models/shared/sectionstatus.md | 10 +++ .../docs/models/shared/step.md | 2 + .../docs/models/shared/stepextended.md | 2 + .../docs/models/shared/updatestepreq.md | 2 + .../docs/models/shared/workflowexecution.md | 3 +- .../models/shared/workflowexecutionslim.md | 3 +- .../shared/workflowexecutionupdatereq.md | 1 + .../docs/sdks/workflows/README.md | 79 +++++++++---------- workflows_execution/files.gen | 2 + workflows_execution/gen.yaml | 4 +- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 3 +- .../src/epilot/models/shared/section.py | 4 + .../src/epilot/models/shared/sectionstatus.py | 9 +++ .../src/epilot/models/shared/step.py | 2 + .../src/epilot/models/shared/stepextended.py | 2 + .../src/epilot/models/shared/updatestepreq.py | 2 + .../epilot/models/shared/workflowexecution.py | 4 +- .../models/shared/workflowexecutionslim.py | 4 +- .../shared/workflowexecutionupdatereq.py | 2 + .../src/epilot/sdkconfiguration.py | 2 +- 23 files changed, 104 insertions(+), 49 deletions(-) create mode 100755 workflows_execution/docs/models/shared/sectionstatus.md create mode 100755 workflows_execution/src/epilot/models/shared/sectionstatus.py diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 331a856b9..1433b5d68 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -370,4 +370,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy + +## 2023-07-29 01:08:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md index 9cee87e6a..f5b18ea27 100755 --- a/workflows_execution/docs/models/shared/section.md +++ b/workflows_execution/docs/models/shared/section.md @@ -8,9 +8,12 @@ A group of Steps that define the progress of the Workflow | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `id` | *str* | :heavy_check_mark: | N/A | | | `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `status` | [Optional[SectionStatus]](../../models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | | `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/sectionstatus.md b/workflows_execution/docs/models/shared/sectionstatus.md new file mode 100755 index 000000000..0b0b2fb0f --- /dev/null +++ b/workflows_execution/docs/models/shared/sectionstatus.md @@ -0,0 +1,10 @@ +# SectionStatus + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `OPEN` | OPEN | +| `IN_PROGRESS` | IN_PROGRESS | +| `COMPLETED` | COMPLETED | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 2ac8649b5..76e90f5be 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -10,6 +10,7 @@ Success - if the step is created with success | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | @@ -25,6 +26,7 @@ Success - if the step is created with success | `name` | *str* | :heavy_check_mark: | N/A | | `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index 10a66f748..36d8fa943 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -8,6 +8,7 @@ | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | @@ -26,6 +27,7 @@ | `name` | *str* | :heavy_check_mark: | N/A | | `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index 913242821..b97b7d941 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -10,10 +10,12 @@ Workflow Execution Step payload | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | `entity_ref_id` | *str* | :heavy_check_mark: | N/A | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md index 0f6eb01c3..f7c8a9453 100755 --- a/workflows_execution/docs/models/shared/workflowexecution.md +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -9,9 +9,10 @@ Success - if the execution is created successfully | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | | `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | | `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md index c26a6469b..65bf3bfcf 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionslim.md +++ b/workflows_execution/docs/models/shared/workflowexecutionslim.md @@ -7,9 +7,10 @@ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | | `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | | `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md index e43aed39c..5bf1e7425 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md @@ -10,6 +10,7 @@ Patch Updates for Workflow Execution payload. | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `closed_by` | *Optional[str]* | :heavy_minus_sign: | id of the user / partner user who is closing the workflow. For partner pass orgId_userId. | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | | `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index c60bea38e..6a3ffdeba 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -429,47 +429,44 @@ req = operations.UpdateExecutionRequest( ], closed_by='quibusdam', closing_reason_description='explicabo', + completed_time='deserunt', contexts=[ shared.WorkflowContext( - id='bd442698-02d5-402a-94bb-4f63c969e9a3', - schema='debitis', - title='Dr.', + id='d4426980-2d50-42a9-8bb4-f63c969e9a3e', + schema='a', + title='Miss', ), shared.WorkflowContext( - id='a77dfb14-cd66-4ae3-95ef-b9ba88f3a669', - schema='omnis', - title='Ms.', + id='77dfb14c-d66a-4e39-9efb-9ba88f3a6699', + schema='molestiae', + title='Mr.', ), shared.WorkflowContext( - id='074ba446-9b6e-4214-9959-890afa563e25', - schema='quasi', - title='Ms.', + id='74ba4469-b6e2-4141-9598-90afa563e251', + schema='iure', + title='Dr.', ), ], - due_date='doloribus', + due_date='debitis', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, - number_of_units=2603.41, - step_id='maxime', - time_period=shared.DynamicDueDateTimePeriod.WEEKS, + action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, + number_of_units=8061.94, + step_id='deleniti', + time_period=shared.DynamicDueDateTimePeriod.MONTHS, ), selected_closing_reasons=[ shared.ClosingReason( - id='711e5b7f-d2ed-4028-921c-ddc692601fb5', + id='11e5b7fd-2ed0-4289-a1cd-dc692601fb57', title='Ms.', ), shared.ClosingReason( - id='6b0d5f0d-30c5-4fbb-a587-053202c73d5f', - title='Dr.', - ), - shared.ClosingReason( - id='9b90c289-09b3-4fe4-9a8d-9cbf48633323', - title='Dr.', + id='b0d5f0d3-0c5f-4bb2-9870-53202c73d5fe', + title='Miss', ), ], - status=shared.WorkflowStatus.DONE, + status=shared.WorkflowStatus.CLOSED, ), - execution_id='cum', + execution_id='perspiciatis', ) res = s.workflows.update_execution(req) @@ -509,35 +506,37 @@ s = epilot.Epilot( req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ - 'dignissimos', - 'reiciendis', + 'porro', ], - assigned_to_in_progress='amet', + assigned_to_in_progress='consequuntur', automation_config=shared.AutomationConfig( - execution_id='dolorum', - execution_status='numquam', - flow_id='veritatis', + execution_id='blanditiis', + execution_status='error', + flow_id='eaque', ), - due_date='ipsa', + completed_time='occaecati', + due_date='rerum', dynamic_due_date=shared.DynamicDueDate( action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=4344.17, - step_id='odio', + number_of_units=9923.97, + step_id='earum', time_period=shared.DynamicDueDateTimePeriod.DAYS, ), - entity_ref_id='accusamus', - name='Jan Hodkiewicz', + entity_ref_id='iste', + name='Casey Stracke', position=shared.StepPositionAt( - index=5424.99, - section_id='sit', + index=7301.22, + section_id='delectus', ), - status=shared.StepStatus.IN_PROGRESS, + started_time='quaerat', + status=shared.StepStatus.COMPLETED, user_ids=[ - 7438.35, + 2123.9, + 2098.43, ], ), - execution_id='dolorum', - step_id='iusto', + execution_id='dolor', + step_id='qui', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 9ba5644ff..0314c6cea 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -36,6 +36,7 @@ src/epilot/models/shared/steptype.py src/epilot/models/shared/ecpdetails.py src/epilot/models/shared/dynamicduedate.py src/epilot/models/shared/automationconfig.py +src/epilot/models/shared/sectionstatus.py src/epilot/models/shared/workflowcontext.py src/epilot/models/shared/errorresp.py src/epilot/models/shared/workflowexecutioncreatereq.py @@ -101,6 +102,7 @@ docs/models/shared/dynamicduedateactiontypecondition.md docs/models/shared/dynamicduedatetimeperiod.md docs/models/shared/dynamicduedate.md docs/models/shared/automationconfig.md +docs/models/shared/sectionstatus.md docs/models/shared/workflowcontext.md docs/models/shared/errorresp.md docs/models/shared/workflowexecutioncreatereq.md diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 7d24fb769..14705e280 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 7dcb2d7cef0a994974b4405a29d38a7f + docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 speakeasyVersion: 1.65.2 generationVersion: 2.75.1 @@ -9,7 +9,7 @@ generation: singleTagPerOp: false telemetryEnabled: false python: - version: 1.37.0 + version: 1.37.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 0becb5e91..88c6f795d 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.37.0", + version="1.37.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py index d08fe3255..5f5743502 100755 --- a/workflows_execution/src/epilot/models/shared/__init__.py +++ b/workflows_execution/src/epilot/models/shared/__init__.py @@ -18,6 +18,7 @@ from .searchstepsresp import * from .section import * from .sectionsimplified import * +from .sectionstatus import * from .security import * from .step import * from .stepextended import * @@ -37,4 +38,4 @@ from .workflowexecutionupdatereq import * from .workflowstatus import * -__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionSlim","WorkflowExecutionUpdateReq","WorkflowStatus"] +__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionSlim","WorkflowExecutionUpdateReq","WorkflowStatus"] diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index 4da72c22f..95a7c5519 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses from ..shared import itemtype as shared_itemtype +from ..shared import sectionstatus as shared_sectionstatus from ..shared import step as shared_step from dataclasses_json import Undefined, dataclass_json from epilot import utils @@ -20,7 +21,10 @@ class Section: steps: list[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) + started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) + status: Optional[shared_sectionstatus.SectionStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo diff --git a/workflows_execution/src/epilot/models/shared/sectionstatus.py b/workflows_execution/src/epilot/models/shared/sectionstatus.py new file mode 100755 index 000000000..84341fe93 --- /dev/null +++ b/workflows_execution/src/epilot/models/shared/sectionstatus.py @@ -0,0 +1,9 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + +class SectionStatus(str, Enum): + OPEN = 'OPEN' + IN_PROGRESS = 'IN_PROGRESS' + COMPLETED = 'COMPLETED' diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index 6c9f08409..04a22eda9 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -28,6 +28,7 @@ class Step: r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) @@ -43,6 +44,7 @@ class Step: manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 3afc818c5..7b050d14b 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -32,6 +32,7 @@ class StepExtended: r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) @@ -47,6 +48,7 @@ class StepExtended: manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) + started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index 32b337cde..a798761b6 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -22,11 +22,13 @@ class UpdateStepReq: r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) r"""set a Duedate for a step then a specific""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) + started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index 375b0010b..c3219def3 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -22,10 +22,12 @@ class WorkflowExecution: flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) + r"""Completed time of the workflow execution""" configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - r"""Creation timestamp""" + r"""Creation timestamp which will double as started time as well""" definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) r"""Due date for finishing the workflow""" diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index ed0c60ef8..b45d829c8 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -21,10 +21,12 @@ class WorkflowExecutionSlim: flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) + r"""Completed time of the workflow execution""" configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) - r"""Creation timestamp""" + r"""Creation timestamp which will double as started time as well""" definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) r"""Due date for finishing the workflow""" diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index 1aff0d263..1d06791c5 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -20,6 +20,8 @@ class WorkflowExecutionUpdateReq: closed_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closedBy'), 'exclude': lambda f: f is None }}) r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) + completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) + r"""Completed time of the workflow execution""" contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 2e76124f5..b9475658a 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,7 +17,7 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.37.0' + sdk_version: str = '1.37.1' gen_version: str = '2.75.1' def get_server_details(self) -> tuple[str, dict[str, str]]: From 4f550ac6c8b8653a131cfebc8c013a0613ac809d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 1 Aug 2023 01:15:50 +0000 Subject: [PATCH 58/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.66.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 1433b5d68..84446de69 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -376,4 +376,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy + +## 2023-08-01 01:15:34 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 14705e280..c92da46eb 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.65.2 - generationVersion: 2.75.1 + speakeasyVersion: 1.66.1 + generationVersion: 2.75.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.37.1 + version: 1.37.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 88c6f795d..0b3ea2f43 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.37.1", + version="1.37.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index b9475658a..84690c4e2 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.37.1' - gen_version: str = '2.75.1' + sdk_version: str = '1.37.2' + gen_version: str = '2.75.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From c6965e5076a54fa98b4220882ed109e1cbf0c027 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 3 Aug 2023 01:09:24 +0000 Subject: [PATCH 59/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.1 --- workflows_execution/RELEASES.md | 8 ++- .../docs/models/shared/section.md | 24 ++++---- .../docs/models/shared/step.md | 50 ++++++++--------- .../docs/models/shared/stepextended.md | 56 +++++++++---------- .../docs/models/shared/updatestepreq.md | 28 +++++----- workflows_execution/gen.yaml | 6 +- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/section.py | 2 +- .../src/epilot/models/shared/step.py | 2 +- .../src/epilot/models/shared/stepextended.py | 2 +- .../src/epilot/models/shared/updatestepreq.py | 2 +- .../src/epilot/sdkconfiguration.py | 4 +- 12 files changed, 96 insertions(+), 90 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 84446de69..b82d39b9e 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -382,4 +382,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy + +## 2023-08-03 01:09:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md index f5b18ea27..ea3bbc9ee 100755 --- a/workflows_execution/docs/models/shared/section.md +++ b/workflows_execution/docs/models/shared/section.md @@ -5,15 +5,15 @@ A group of Steps that define the progress of the Workflow ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | -| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `status` | [Optional[SectionStatus]](../../models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | -| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `status` | [Optional[SectionStatus]](../../models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | +| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 76e90f5be..5772f1a64 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -5,28 +5,28 @@ Success - if the step is created with success ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index 36d8fa943..12dc9a0b4 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -3,31 +3,31 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `execution_id` | *str* | :heavy_check_mark: | N/A | -| `execution_name` | *str* | :heavy_check_mark: | N/A | -| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `execution_id` | *str* | :heavy_check_mark: | N/A | +| `execution_name` | *str* | :heavy_check_mark: | N/A | +| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index b97b7d941..86c10b06c 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -5,17 +5,17 @@ Workflow Execution Step payload ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | -| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | :warning: **DEPRECATED**: this will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index c92da46eb..53eb54b27 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.66.1 - generationVersion: 2.75.2 + speakeasyVersion: 1.68.1 + generationVersion: 2.77.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.37.2 + version: 1.38.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 0b3ea2f43..127bfe4f2 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.37.2", + version="1.38.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index 95a7c5519..e3e2e2a41 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -28,7 +28,7 @@ class Section: user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index 04a22eda9..17361373c 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -49,7 +49,7 @@ class Step: user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 7b050d14b..de0910961 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -53,7 +53,7 @@ class StepExtended: user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index a798761b6..f817add2f 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -33,7 +33,7 @@ class UpdateStepReq: user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo - Deprecated: this field will be removed in a future release, please migrate away from it as soon as possible + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 84690c4e2..455563f4d 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.37.2' - gen_version: str = '2.75.2' + sdk_version: str = '1.38.0' + gen_version: str = '2.77.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From ec699a7f30aacfd2e11685df1688e7b69193c5b8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 4 Aug 2023 01:11:21 +0000 Subject: [PATCH 60/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.3 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 6 +++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/utils/utils.py | 5 ++++- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index b82d39b9e..cb9c43afa 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -388,4 +388,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy + +## 2023-08-04 01:11:06 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 53eb54b27..91d9e7f2b 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.68.1 - generationVersion: 2.77.1 + speakeasyVersion: 1.68.3 + generationVersion: 2.81.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.38.0 + version: 1.39.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 127bfe4f2..bfe47532f 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.38.0", + version="1.39.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 455563f4d..ec550d68c 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.38.0' - gen_version: str = '2.77.1' + sdk_version: str = '1.39.0' + gen_version: str = '2.81.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 6b39ecf74..3456af651 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -678,7 +678,10 @@ def unmarshal_json(data, typ): unmarhsal = make_dataclass('Unmarhsal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) - out = unmarhsal.from_dict({"res": json_dict}) + try: + out = unmarhsal.from_dict({"res": json_dict}) + except AttributeError as attr_err: + raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err return out.res From c9a724135c4d273f825c41449290b6b97b6782ae Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 8 Aug 2023 01:07:35 +0000 Subject: [PATCH 61/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.69.1 --- workflows_execution/RELEASES.md | 8 +++++++- workflows_execution/gen.yaml | 12 +++++++++--- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index cb9c43afa..4eb6a995b 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -394,4 +394,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy + +## 2023-08-08 01:07:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 91d9e7f2b..073cd3882 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,14 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.68.3 - generationVersion: 2.81.1 + speakeasyVersion: 1.69.1 + generationVersion: 2.82.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false +features: + python: + core: 2.82.0 + deprecations: 2.81.1 + globalSecurity: 2.81.1 + globalServerURLs: 2.81.1 python: - version: 1.39.0 + version: 1.40.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index bfe47532f..d4d4e85a6 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.39.0", + version="1.40.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index ec550d68c..1bb6150e0 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.39.0' - gen_version: str = '2.81.1' + sdk_version: str = '1.40.0' + gen_version: str = '2.82.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From a05198712775939872548d0c6d9fdec6b9e16c39 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 15 Aug 2023 00:57:58 +0000 Subject: [PATCH 62/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.72.0 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 4eb6a995b..c9cf25f12 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -400,4 +400,12 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml -- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy + +## 2023-08-15 00:57:40 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.72.0 (2.84.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 073cd3882..5def311e6 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.69.1 - generationVersion: 2.82.0 + speakeasyVersion: 1.72.0 + generationVersion: 2.84.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -13,9 +13,9 @@ features: core: 2.82.0 deprecations: 2.81.1 globalSecurity: 2.81.1 - globalServerURLs: 2.81.1 + globalServerURLs: 2.82.0 python: - version: 1.40.0 + version: 1.41.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index d4d4e85a6..92248afe5 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.40.0", + version="1.41.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 1bb6150e0..e349be664 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.40.0' - gen_version: str = '2.82.0' + sdk_version: str = '1.41.0' + gen_version: str = '2.84.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From f81485217a843d0c1c9a4f20eec7e61186121d56 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 19 Aug 2023 00:56:03 +0000 Subject: [PATCH 63/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.3 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/utils/utils.py | 4 ++-- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index c9cf25f12..8c983b5c8 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -408,4 +408,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.72.0 (2.84.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.0] workflows_execution \ No newline at end of file +- [python v1.41.0] workflows_execution + +## 2023-08-19 00:55:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 5def311e6..6622f63a1 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.72.0 - generationVersion: 2.84.1 + speakeasyVersion: 1.74.3 + generationVersion: 2.86.6 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.0 + core: 2.82.1 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.41.0 + version: 1.41.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 92248afe5..a76673e8b 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.41.0", + version="1.41.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index e349be664..3b96fccc7 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.41.0' - gen_version: str = '2.84.1' + sdk_version: str = '1.41.1' + gen_version: str = '2.86.6' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 3456af651..ea9792d0d 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -675,11 +675,11 @@ def _serialize_header(explode: bool, obj: any) -> str: def unmarshal_json(data, typ): - unmarhsal = make_dataclass('Unmarhsal', [('res', typ)], + unmarshal = make_dataclass('Unmarshal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) try: - out = unmarhsal.from_dict({"res": json_dict}) + out = unmarshal.from_dict({"res": json_dict}) except AttributeError as attr_err: raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err return out.res From d27a571c969da011c6d37a5b49dbffe2cbdc578b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 25 Aug 2023 00:59:06 +0000 Subject: [PATCH 64/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.11 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 8c983b5c8..3eb2afd7c 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -416,4 +416,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.1] workflows_execution \ No newline at end of file +- [python v1.41.1] workflows_execution + +## 2023-08-25 00:58:49 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.74.11 (2.87.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.2] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 6622f63a1..6aa285427 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.74.3 - generationVersion: 2.86.6 + speakeasyVersion: 1.74.11 + generationVersion: 2.87.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.1 + core: 2.82.2 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.41.1 + version: 1.41.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index a76673e8b..1d9ec1a18 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.41.1", + version="1.41.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 3b96fccc7..6103537d3 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.41.1' - gen_version: str = '2.86.6' + sdk_version: str = '1.41.2' + gen_version: str = '2.87.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From b4b619fae16874c147c3d5f4cac81a2afa599b7d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 26 Aug 2023 00:56:43 +0000 Subject: [PATCH 65/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.16 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 3eb2afd7c..cdcfa9567 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -424,4 +424,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.74.11 (2.87.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.2] workflows_execution \ No newline at end of file +- [python v1.41.2] workflows_execution + +## 2023-08-26 00:56:28 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.74.16 (2.88.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.42.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 6aa285427..b70458403 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.74.11 - generationVersion: 2.87.1 + speakeasyVersion: 1.74.16 + generationVersion: 2.88.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.2 + core: 2.83.1 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.41.2 + version: 1.42.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 1d9ec1a18..7ad71e0e7 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.41.2", + version="1.42.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 6103537d3..799f72c7d 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.41.2' - gen_version: str = '2.87.1' + sdk_version: str = '1.42.0' + gen_version: str = '2.88.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From fdac5efbbf46b4eea423ff653d791758526994db Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 29 Aug 2023 00:59:25 +0000 Subject: [PATCH 66/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.17 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/pylintrc | 2 +- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index cdcfa9567..81b4f1bc4 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -432,4 +432,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.74.16 (2.88.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.42.0] workflows_execution \ No newline at end of file +- [python v1.42.0] workflows_execution + +## 2023-08-29 00:59:09 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.42.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index b70458403..09e1f86bb 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.74.16 - generationVersion: 2.88.2 + speakeasyVersion: 1.74.17 + generationVersion: 2.88.5 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.83.1 + core: 2.83.2 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.42.0 + version: 1.42.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc index 21a389459..ab6495dd6 100755 --- a/workflows_execution/pylintrc +++ b/workflows_execution/pylintrc @@ -621,7 +621,7 @@ additional-builtins= allow-global-unused-variables=yes # List of names allowed to shadow builtins -allowed-redefined-builtins= +allowed-redefined-builtins=id,object # List of strings which can identify a callback function by name. A callback # name must start or end with one of those strings. diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 7ad71e0e7..289ec3154 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.42.0", + version="1.42.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 799f72c7d..c7451bdc2 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.42.0' - gen_version: str = '2.88.2' + sdk_version: str = '1.42.1' + gen_version: str = '2.88.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 17603b10023c63c08ffd42a8cf3184e128c26b3f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 31 Aug 2023 00:59:22 +0000 Subject: [PATCH 67/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.76.1 --- workflows_execution/.gitattributes | 2 ++ workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/files.gen | 3 ++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 20 insertions(+), 9 deletions(-) create mode 100755 workflows_execution/.gitattributes diff --git a/workflows_execution/.gitattributes b/workflows_execution/.gitattributes new file mode 100755 index 000000000..4d75d5900 --- /dev/null +++ b/workflows_execution/.gitattributes @@ -0,0 +1,2 @@ +# This allows generated code to be indexed correctly +*.py linguist-generated=false \ No newline at end of file diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 81b4f1bc4..90a2999ec 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -440,4 +440,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.42.1] workflows_execution \ No newline at end of file +- [python v1.42.1] workflows_execution + +## 2023-08-31 00:59:05 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.76.1 (2.89.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 0314c6cea..91de0a3a6 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -124,4 +124,5 @@ docs/models/shared/searchpagination.md docs/models/shared/workflowexecutionupdatereq.md docs/models/shared/updatestepreq.md docs/models/shared/steppositionat.md -docs/models/shared/security.md \ No newline at end of file +docs/models/shared/security.md +.gitattributes \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 09e1f86bb..367089776 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.74.17 - generationVersion: 2.88.5 + speakeasyVersion: 1.76.1 + generationVersion: 2.89.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.83.2 + core: 2.84.0 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.42.1 + version: 1.43.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 289ec3154..16c388b14 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.42.1", + version="1.43.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index c7451bdc2..5b903a8f5 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.42.1' - gen_version: str = '2.88.5' + sdk_version: str = '1.43.0' + gen_version: str = '2.89.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 09aad3da03d2b82f5c47c133f6ce9956197fcbe9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 1 Sep 2023 01:03:11 +0000 Subject: [PATCH 68/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.77.0 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 90a2999ec..524a119a4 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -448,4 +448,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.76.1 (2.89.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.0] workflows_execution \ No newline at end of file +- [python v1.43.0] workflows_execution + +## 2023-09-01 01:02:52 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 367089776..193bc3841 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.76.1 - generationVersion: 2.89.1 + speakeasyVersion: 1.77.0 + generationVersion: 2.91.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.84.0 + core: 2.85.0 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.0 + version: 1.44.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 16c388b14..a61548321 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.43.0", + version="1.44.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 5b903a8f5..8a9e12a8f 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.0' - gen_version: str = '2.89.1' + sdk_version: str = '1.44.0' + gen_version: str = '2.91.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 5a31111bfbe0bfc66b2613eeb9d8af7e88801af0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 2 Sep 2023 00:57:08 +0000 Subject: [PATCH 69/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.77.2 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 524a119a4..07ed1b629 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -456,4 +456,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.0] workflows_execution \ No newline at end of file +- [python v1.44.0] workflows_execution + +## 2023-09-02 00:56:52 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 193bc3841..7fba12907 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.77.0 - generationVersion: 2.91.2 + speakeasyVersion: 1.77.2 + generationVersion: 2.93.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.0 + core: 2.85.2 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.0 + version: 1.44.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index a61548321..49bb389be 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.44.0", + version="1.44.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 8a9e12a8f..93aefd097 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.0' - gen_version: str = '2.91.2' + sdk_version: str = '1.44.1' + gen_version: str = '2.93.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 0a97a90f65902cee2de8d3451e95db20222d9da0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 5 Sep 2023 00:58:22 +0000 Subject: [PATCH 70/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.78.3 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 4 ++-- workflows_execution/src/epilot/utils/utils.py | 19 +++++++++++-------- 5 files changed, 27 insertions(+), 16 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 07ed1b629..35856061d 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -464,4 +464,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.1] workflows_execution \ No newline at end of file +- [python v1.44.1] workflows_execution + +## 2023-09-05 00:58:06 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.2] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 7fba12907..dc09e1433 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.77.2 - generationVersion: 2.93.0 + speakeasyVersion: 1.78.3 + generationVersion: 2.96.3 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.2 + core: 2.85.3 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.1 + version: 1.44.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 49bb389be..23af9ceff 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.44.1", + version="1.44.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 93aefd097..26680c1ea 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.1' - gen_version: str = '2.93.0' + sdk_version: str = '1.44.2' + gen_version: str = '2.96.3' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index ea9792d0d..c91b0c049 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -112,7 +112,8 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, client.client.headers[header_name] = value elif scheme_type == 'http': if sub_type == 'bearer': - client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}' + client.client.headers[header_name] = value.lower().startswith( + 'bearer ') and value or f'Bearer {value}' else: raise Exception('not supported') else: @@ -235,7 +236,7 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ - str, list[str]]: + str, list[str]]: params: dict[str, list[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) @@ -377,7 +378,7 @@ def _get_query_param_field_name(obj_field: Field) -> str: def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ - str, list[str]]: + str, list[str]]: return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) @@ -391,9 +392,9 @@ def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delim def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ - str, any, any]: + str, any, any]: if request is None: - return None, None, None, None + return None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], @@ -486,7 +487,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: + str, list[str]]: if existing is None: existing = [] @@ -604,7 +605,8 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [delimiter.join([str(item) for item in items])] + params[field_name] = [delimiter.join( + [str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] @@ -681,7 +683,8 @@ def unmarshal_json(data, typ): try: out = unmarshal.from_dict({"res": json_dict}) except AttributeError as attr_err: - raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err + raise AttributeError( + f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 375d9c1564b484d460f7fce63ec683120b953aa6 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 12 Sep 2023 00:57:49 +0000 Subject: [PATCH 71/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.82.5 --- workflows_execution/README.md | 20 +-- workflows_execution/RELEASES.md | 10 +- workflows_execution/USAGE.md | 20 +-- .../docs/models/shared/closingreasonresp.md | 2 - .../docs/models/shared/createstepreq.md | 2 - .../docs/models/shared/errorresp.md | 2 - .../docs/models/shared/searchexecutionsreq.md | 2 - .../models/shared/searchexecutionsresp.md | 2 - .../docs/models/shared/searchstepsreq.md | 2 - .../docs/models/shared/searchstepsresp.md | 2 - .../docs/models/shared/step.md | 2 - .../docs/models/shared/updatestepreq.md | 2 - .../docs/models/shared/workflowexecution.md | 2 - .../shared/workflowexecutioncreatereq.md | 2 - .../shared/workflowexecutionupdatereq.md | 2 - .../docs/sdks/workflows/README.md | 143 ++++++++---------- workflows_execution/gen.yaml | 8 +- workflows_execution/setup.py | 2 +- .../epilot/models/shared/closingreasonresp.py | 1 - .../src/epilot/models/shared/createstepreq.py | 1 - .../src/epilot/models/shared/errorresp.py | 1 - .../models/shared/searchexecutionsreq.py | 1 - .../models/shared/searchexecutionsresp.py | 1 - .../epilot/models/shared/searchstepsreq.py | 1 - .../epilot/models/shared/searchstepsresp.py | 1 - .../src/epilot/models/shared/step.py | 1 - .../src/epilot/models/shared/updatestepreq.py | 1 - .../epilot/models/shared/workflowexecution.py | 1 - .../shared/workflowexecutioncreatereq.py | 1 - .../shared/workflowexecutionupdatereq.py | 1 - workflows_execution/src/epilot/sdk.py | 9 +- .../src/epilot/sdkconfiguration.py | 7 +- workflows_execution/src/epilot/utils/utils.py | 33 +++- 33 files changed, 129 insertions(+), 159 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 088db74d5..cbdd73a6d 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -24,25 +24,13 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'provident', - 'distinctio', - 'quibusdam', + 'corrupti', ], contexts=[ shared.WorkflowContext( - id='d8d69a67-4e0f-4467-8c87-96ed151a05df', - schema='quo', - title='Mr.', - ), - shared.WorkflowContext( - id='ddf7cc78-ca1b-4a92-8fc8-16742cb73920', - schema='ad', - title='Miss', - ), - shared.WorkflowContext( - id='29396fea-7596-4eb1-8faa-a2352c595590', - schema='iure', - title='Miss', + id='9bd9d8d6-9a67-44e0-b467-cc8796ed151a', + schema='perferendis', + title='Mrs.', ), ], trigger=shared.TriggerType.AUTOMATIC, diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 35856061d..61d3630a9 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -472,4 +472,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.2] workflows_execution \ No newline at end of file +- [python v1.44.2] workflows_execution + +## 2023-09-12 00:57:33 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.3] workflows_execution \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 245d4f476..7c231bea6 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -13,25 +13,13 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'provident', - 'distinctio', - 'quibusdam', + 'corrupti', ], contexts=[ shared.WorkflowContext( - id='d8d69a67-4e0f-4467-8c87-96ed151a05df', - schema='quo', - title='Mr.', - ), - shared.WorkflowContext( - id='ddf7cc78-ca1b-4a92-8fc8-16742cb73920', - schema='ad', - title='Miss', - ), - shared.WorkflowContext( - id='29396fea-7596-4eb1-8faa-a2352c595590', - schema='iure', - title='Miss', + id='9bd9d8d6-9a67-44e0-b467-cc8796ed151a', + schema='perferendis', + title='Mrs.', ), ], trigger=shared.TriggerType.AUTOMATIC, diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md index 7b9b5f30f..212eb603e 100755 --- a/workflows_execution/docs/models/shared/closingreasonresp.md +++ b/workflows_execution/docs/models/shared/closingreasonresp.md @@ -1,7 +1,5 @@ # ClosingReasonResp -returns all Closing Reasons for this Execution - ## Fields diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md index 84efd53ec..baf1f67a6 100755 --- a/workflows_execution/docs/models/shared/createstepreq.md +++ b/workflows_execution/docs/models/shared/createstepreq.md @@ -1,7 +1,5 @@ # CreateStepReq -Workflow Execution Step payload - ## Fields diff --git a/workflows_execution/docs/models/shared/errorresp.md b/workflows_execution/docs/models/shared/errorresp.md index 03b756e06..6c8383917 100755 --- a/workflows_execution/docs/models/shared/errorresp.md +++ b/workflows_execution/docs/models/shared/errorresp.md @@ -1,7 +1,5 @@ # ErrorResp -Other errors - ## Fields diff --git a/workflows_execution/docs/models/shared/searchexecutionsreq.md b/workflows_execution/docs/models/shared/searchexecutionsreq.md index 8224be801..d6196fa75 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsreq.md +++ b/workflows_execution/docs/models/shared/searchexecutionsreq.md @@ -1,7 +1,5 @@ # SearchExecutionsReq -Search steps request - ## Fields diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md index bbee80ba6..57b1c081c 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsresp.md +++ b/workflows_execution/docs/models/shared/searchexecutionsresp.md @@ -1,7 +1,5 @@ # SearchExecutionsResp -Success - filtered steps are returned - ## Fields diff --git a/workflows_execution/docs/models/shared/searchstepsreq.md b/workflows_execution/docs/models/shared/searchstepsreq.md index d8f101566..795934b29 100755 --- a/workflows_execution/docs/models/shared/searchstepsreq.md +++ b/workflows_execution/docs/models/shared/searchstepsreq.md @@ -1,7 +1,5 @@ # SearchStepsReq -Search steps request - ## Fields diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md index 6d39705e6..a7765ab4d 100755 --- a/workflows_execution/docs/models/shared/searchstepsresp.md +++ b/workflows_execution/docs/models/shared/searchstepsresp.md @@ -1,7 +1,5 @@ # SearchStepsResp -Success - filtered steps are returned - ## Fields diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 5772f1a64..892898604 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -1,7 +1,5 @@ # Step -Success - if the step is created with success - ## Fields diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index 86c10b06c..7581706af 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -1,7 +1,5 @@ # UpdateStepReq -Workflow Execution Step payload - ## Fields diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md index f7c8a9453..2b0a7e10b 100755 --- a/workflows_execution/docs/models/shared/workflowexecution.md +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -1,7 +1,5 @@ # WorkflowExecution -Success - if the execution is created successfully - ## Fields diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md index 4172484c0..e70f5cef6 100755 --- a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md @@ -1,7 +1,5 @@ # WorkflowExecutionCreateReq -Workflow Execution payload - ## Fields diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md index 5bf1e7425..bae2668fd 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md @@ -1,7 +1,5 @@ # WorkflowExecutionUpdateReq -Patch Updates for Workflow Execution payload. - ## Fields diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index 6a3ffdeba..8cace3ba2 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -36,17 +36,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'mollitia', + 'quo', ], contexts=[ shared.WorkflowContext( - id='a2fa9467-7392-451a-a52c-3f5ad019da1f', - schema='voluptatibus', - title='Dr.', + id='2ddf7cc7-8ca1-4ba9-a8fc-816742cb7392', + schema='perferendis', + title='Mrs.', ), ], - trigger=shared.TriggerType.MANUAL, - workflow_id='praesentium', + trigger=shared.TriggerType.AUTOMATIC, + workflow_id='sed', ) res = s.workflows.create_execution(req) @@ -86,17 +86,17 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - execution_id='voluptatibus', - execution_status='ipsa', - flow_id='omnis', + execution_id='iste', + execution_status='dolor', + flow_id='natus', ), execution_type=shared.StepType.MANUAL, - insertion_index=7392.64, - name='Sharon Kiehn', - section_id='dicta', - status=shared.StepStatus.ASSIGNED, + insertion_index=9437.49, + name='Wilbur Kirlin', + section_id='iure', + status=shared.StepStatus.IN_PROGRESS, ), - execution_id='dolore', + execution_id='quidem', ) res = s.workflows.create_step(req) @@ -134,7 +134,7 @@ s = epilot.Epilot( ) req = operations.DeleteExecutionRequest( - execution_id='iusto', + execution_id='architecto', ) res = s.workflows.delete_execution(req) @@ -172,8 +172,8 @@ s = epilot.Epilot( ) req = operations.DeleteStepRequest( - execution_id='dicta', - step_id='harum', + execution_id='ipsa', + step_id='reiciendis', ) res = s.workflows.delete_step(req) @@ -214,7 +214,7 @@ s = epilot.Epilot( ) req = operations.GetClosingReasonExecutionRequest( - execution_id='enim', + execution_id='est', ) res = s.workflows.get_closing_reason_execution(req) @@ -252,7 +252,7 @@ s = epilot.Epilot( ) req = operations.GetExecutionRequest( - execution_id='accusamus', + execution_id='mollitia', ) res = s.workflows.get_execution(req) @@ -290,8 +290,8 @@ s = epilot.Epilot( ) req = operations.GetExecutionsRequest( - context='commodi', - schema='repudiandae', + context='laborum', + schema='dolores', ) res = s.workflows.get_executions(req) @@ -329,15 +329,15 @@ s = epilot.Epilot( ) req = shared.SearchExecutionsReq( - assigned_to='quae', + assigned_to='dolorem', include_done_workflows=False, - name='Alison Mann', + name='Rose Rolfson', pagination=shared.ExecutionPaginationDynamo( - creation_time='modi', - org_id='praesentium', + creation_time='nemo', + org_id='minima', ), sorting=shared.SearchSorting.DUE_DATE_DESC, - status=shared.WorkflowStatus.CLOSED, + status=shared.WorkflowStatus.STARTED, ) res = s.workflows.search_executions(req) @@ -375,17 +375,17 @@ s = epilot.Epilot( ) req = shared.SearchStepsReq( - assigned_to=939.4, - execution_name='repudiandae', + assigned_to=4386.01, + execution_name='culpa', include_done_workflows=False, manually_created=False, pagination=shared.SearchPagination( - from_=5759.47, - size=831.12, + from_=9883.74, + size=9589.5, ), - sorting=shared.SearchSorting.TRIGGER_DATE_DESC, - status=shared.SearchStepsReqStatus.OPEN, - step_name='enim', + sorting=shared.SearchSorting.A_Z, + status=shared.SearchStepsReqStatus.COMPLETE, + step_name='dolorem', ) res = s.workflows.search_steps(req) @@ -425,48 +425,34 @@ s = epilot.Epilot( req = operations.UpdateExecutionRequest( workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( assigned_to=[ - 'est', + 'culpa', ], - closed_by='quibusdam', - closing_reason_description='explicabo', - completed_time='deserunt', + closed_by='consequuntur', + closing_reason_description='repellat', + completed_time='mollitia', contexts=[ shared.WorkflowContext( - id='d4426980-2d50-42a9-8bb4-f63c969e9a3e', - schema='a', - title='Miss', - ), - shared.WorkflowContext( - id='77dfb14c-d66a-4e39-9efb-9ba88f3a6699', - schema='molestiae', + id='94677392-51aa-452c-bf5a-d019da1ffe78', + schema='voluptatibus', title='Mr.', ), - shared.WorkflowContext( - id='74ba4469-b6e2-4141-9598-90afa563e251', - schema='iure', - title='Dr.', - ), ], - due_date='debitis', + due_date='omnis', dynamic_due_date=shared.DynamicDueDate( action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=8061.94, - step_id='deleniti', - time_period=shared.DynamicDueDateTimePeriod.MONTHS, + number_of_units=7392.64, + step_id='perferendis', + time_period=shared.DynamicDueDateTimePeriod.DAYS, ), selected_closing_reasons=[ shared.ClosingReason( - id='11e5b7fd-2ed0-4289-a1cd-dc692601fb57', - title='Ms.', - ), - shared.ClosingReason( - id='b0d5f0d3-0c5f-4bb2-9870-53202c73d5fe', + id='74f15471-b5e6-4e13-b99d-488e1e91e450', title='Miss', ), ], status=shared.WorkflowStatus.CLOSED, ), - execution_id='perspiciatis', + execution_id='explicabo', ) res = s.workflows.update_execution(req) @@ -506,37 +492,36 @@ s = epilot.Epilot( req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ - 'porro', + 'deserunt', ], - assigned_to_in_progress='consequuntur', + assigned_to_in_progress='distinctio', automation_config=shared.AutomationConfig( - execution_id='blanditiis', - execution_status='error', - flow_id='eaque', + execution_id='quibusdam', + execution_status='labore', + flow_id='modi', ), - completed_time='occaecati', - due_date='rerum', + completed_time='qui', + due_date='aliquid', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=9923.97, - step_id='earum', + action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, + number_of_units=5528.22, + step_id='perferendis', time_period=shared.DynamicDueDateTimePeriod.DAYS, ), - entity_ref_id='iste', - name='Casey Stracke', + entity_ref_id='assumenda', + name='Linda Corkery', position=shared.StepPositionAt( - index=7301.22, - section_id='delectus', + index=2700.08, + section_id='facilis', ), - started_time='quaerat', - status=shared.StepStatus.COMPLETED, + started_time='tempore', + status=shared.StepStatus.ASSIGNED, user_ids=[ - 2123.9, - 2098.43, + 9621.89, ], ), - execution_id='dolor', - step_id='qui', + execution_id='eum', + step_id='non', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index dc09e1433..b1cfd08d4 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.78.3 - generationVersion: 2.96.3 + speakeasyVersion: 1.82.5 + generationVersion: 2.108.3 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.3 + core: 2.85.4 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.2 + version: 1.44.3 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 23af9ceff..ed42bd672 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.44.2", + version="1.44.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py index 4ac3c411d..0bf61e1c1 100755 --- a/workflows_execution/src/epilot/models/shared/closingreasonresp.py +++ b/workflows_execution/src/epilot/models/shared/closingreasonresp.py @@ -12,7 +12,6 @@ @dataclasses.dataclass class ClosingReasonResp: - r"""returns all Closing Reasons for this Execution""" reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index c166e517b..6099bd1f6 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -14,7 +14,6 @@ @dataclasses.dataclass class CreateStepReq: - r"""Workflow Execution Step payload""" insertion_index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py index 0af0b4fff..512a8c4a4 100755 --- a/workflows_execution/src/epilot/models/shared/errorresp.py +++ b/workflows_execution/src/epilot/models/shared/errorresp.py @@ -11,7 +11,6 @@ @dataclasses.dataclass class ErrorResp: - r"""Other errors""" message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py index 66f0dae26..0d9cbc0c2 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py @@ -14,7 +14,6 @@ @dataclasses.dataclass class SearchExecutionsReq: - r"""Search steps request""" assigned_to: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py index 4f38ebb4e..7a33a9c8b 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py @@ -13,7 +13,6 @@ @dataclasses.dataclass class SearchExecutionsResp: - r"""Success - filtered steps are returned""" executions: list[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) last_evaluated_key: Optional[shared_lastevaluatedkey.LastEvaluatedKey] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastEvaluatedKey'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index b84785878..91dca83db 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -19,7 +19,6 @@ class SearchStepsReqStatus(str, Enum): @dataclasses.dataclass class SearchStepsReq: - r"""Search steps request""" assigned_to: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) execution_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName'), 'exclude': lambda f: f is None }}) include_done_workflows: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('includeDoneWorkflows'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py index 1af1375b6..d948ad22d 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsresp.py @@ -12,7 +12,6 @@ @dataclasses.dataclass class SearchStepsResp: - r"""Success - filtered steps are returned""" hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) results: Optional[list[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index 17361373c..d54e7c29d 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -18,7 +18,6 @@ @dataclasses.dataclass class Step: - r"""Success - if the step is created with success""" entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index f817add2f..dedc29088 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -15,7 +15,6 @@ @dataclasses.dataclass class UpdateStepReq: - r"""Workflow Execution Step payload""" entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index c3219def3..ef1e853a5 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -18,7 +18,6 @@ @dataclasses.dataclass class WorkflowExecution: - r"""Success - if the execution is created successfully""" flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py index c12ce1dd2..f369d61f6 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py @@ -13,7 +13,6 @@ @dataclasses.dataclass class WorkflowExecutionCreateReq: - r"""Workflow Execution payload""" workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index 1d06791c5..c06f16898 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -15,7 +15,6 @@ @dataclasses.dataclass class WorkflowExecutionUpdateReq: - r"""Patch Updates for Workflow Execution payload.""" assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closed_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closedBy'), 'exclude': lambda f: f is None }}) r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index c63580990..04159a992 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -18,7 +18,8 @@ def __init__(self, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, - client: requests_http.Session = None + client: requests_http.Session = None, + retry_config: utils.RetryConfig = None ) -> None: """Instantiates the SDK configuring it with the provided parameters. @@ -31,7 +32,9 @@ def __init__(self, :param url_params: Parameters to optionally template the server URL with :type url_params: dict[str, str] :param client: The requests.Session HTTP client to use for all operations - :type client: requests_http.Session + :type client: requests_http.Session + :param retry_config: The utils.RetryConfig to use globally + :type retry_config: utils.RetryConfig """ if client is None: client = requests_http.Session() @@ -42,7 +45,7 @@ def __init__(self, if url_params is not None: server_url = utils.template_url(server_url, url_params) - self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx) + self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx, retry_config=retry_config) self._init_sdks() diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 26680c1ea..38d19d734 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -3,6 +3,8 @@ import requests from dataclasses import dataclass +from .utils.retries import RetryConfig + SERVERS = [ 'https://workflows-execution.sls.epilot.io', @@ -17,8 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.2' - gen_version: str = '2.96.3' + sdk_version: str = '1.44.3' + gen_version: str = '2.108.3' + retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index c91b0c049..05eafba6c 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -5,6 +5,7 @@ import re from dataclasses import Field, dataclass, fields, is_dataclass, make_dataclass from datetime import date, datetime +from decimal import Decimal from email.message import Message from enum import Enum from typing import Any, Callable, Optional, Tuple, Union, get_args, get_origin @@ -193,7 +194,7 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass f"{pp_key},{_val_to_string(param[pp_key])}") path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif not isinstance(param, (str, int, float, complex, bool)): + elif not isinstance(param, (str, int, float, complex, bool, Decimal)): pp_vals: list[str] = [] param_fields: Tuple[Field, ...] = fields(param) for param_field in param_fields: @@ -737,6 +738,36 @@ def datefromisoformat(date_str: str): return dateutil.parser.parse(date_str).date() +def bigintencoder(optional: bool): + def bigintencode(val: int): + if optional and val is None: + return None + return str(val) + + return bigintencode + + +def bigintdecoder(val): + return int(val) + + +def decimalencoder(optional: bool, as_str: bool): + def decimalencode(val: Decimal): + if optional and val is None: + return None + + if as_str: + return str(val) + + return float(val) + + return decimalencode + + +def decimaldecoder(val): + return Decimal(str(val)) + + def get_field_name(name): def override(_, _field_name=name): return _field_name From 49cc955572f46aaafce424e996dc3d0133fba0dd Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 16 Sep 2023 00:58:25 +0000 Subject: [PATCH 72/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.86.0 --- workflows_execution/README.md | 2 +- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/docs/sdks/workflows/README.md | 2 +- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index cbdd73a6d..f9c72d588 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -48,7 +48,7 @@ if res.workflow_execution is not None: ## Available Resources and Operations -### [workflows](docs/sdks/workflows/README.md) +### [Workflows](docs/sdks/workflows/README.md) * [create_execution](docs/sdks/workflows/README.md#create_execution) - createExecution * [create_step](docs/sdks/workflows/README.md#create_step) - createStep diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 61d3630a9..b469778c0 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -480,4 +480,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.3] workflows_execution \ No newline at end of file +- [python v1.44.3] workflows_execution + +## 2023-09-16 00:57:59 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.4] workflows_execution \ No newline at end of file diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index 8cace3ba2..deb63757e 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -1,4 +1,4 @@ -# workflows +# Workflows ## Overview diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index b1cfd08d4..5aaef4e71 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.82.5 - generationVersion: 2.108.3 + speakeasyVersion: 1.86.0 + generationVersion: 2.115.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.4 + core: 2.85.5 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.3 + version: 1.44.4 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index ed42bd672..7653f15fe 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.44.3", + version="1.44.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 38d19d734..78d3d21f7 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.3' - gen_version: str = '2.108.3' + sdk_version: str = '1.44.4' + gen_version: str = '2.115.2' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From a7f8ed871e89dfdf9d8c797a100827f6a0cb60c7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 20 Sep 2023 00:59:49 +0000 Subject: [PATCH 73/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.88.0 --- workflows_execution/RELEASES.md | 10 +++++++++- .../docs/models/shared/createstepreq.md | 2 +- .../docs/models/shared/steppositionat.md | 2 +- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/createstepreq.py | 2 +- .../src/epilot/models/shared/steppositionat.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 4 ++-- 8 files changed, 20 insertions(+), 12 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index b469778c0..ddc2f6134 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -488,4 +488,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.4] workflows_execution \ No newline at end of file +- [python v1.44.4] workflows_execution + +## 2023-09-20 00:59:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.5] workflows_execution \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md index baf1f67a6..211014c86 100755 --- a/workflows_execution/docs/models/shared/createstepreq.md +++ b/workflows_execution/docs/models/shared/createstepreq.md @@ -7,7 +7,7 @@ | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `insertion_index` | *float* | :heavy_check_mark: | N/A | +| `insertion_index` | *Optional[float]* | :heavy_minus_sign: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steppositionat.md b/workflows_execution/docs/models/shared/steppositionat.md index 406d44c28..fba911e9e 100755 --- a/workflows_execution/docs/models/shared/steppositionat.md +++ b/workflows_execution/docs/models/shared/steppositionat.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `index` | *float* | :heavy_check_mark: | N/A | +| `index` | *Optional[float]* | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 5aaef4e71..e097e5e79 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.86.0 - generationVersion: 2.115.2 + speakeasyVersion: 1.88.0 + generationVersion: 2.118.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.5 + core: 2.85.6 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.4 + version: 1.44.5 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 7653f15fe..65a9fb612 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.44.4", + version="1.44.5", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index 6099bd1f6..34ee2498e 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -14,11 +14,11 @@ @dataclasses.dataclass class CreateStepReq: - insertion_index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + insertion_index: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py index d994cc1f5..475c6e8c2 100755 --- a/workflows_execution/src/epilot/models/shared/steppositionat.py +++ b/workflows_execution/src/epilot/models/shared/steppositionat.py @@ -11,7 +11,7 @@ @dataclasses.dataclass class StepPositionAt: - index: float = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index') }}) + index: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 78d3d21f7..4e51449df 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.4' - gen_version: str = '2.115.2' + sdk_version: str = '1.44.5' + gen_version: str = '2.118.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From a8ee406edfd08c31a7d1c35e67a39a535cf2a174 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 26 Sep 2023 01:00:32 +0000 Subject: [PATCH 74/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.0 --- workflows_execution/README.md | 34 ++++- workflows_execution/RELEASES.md | 10 +- .../operations/createexecutionresponse.md | 6 +- .../models/operations/createstepresponse.md | 6 +- .../operations/deleteexecutionresponse.md | 6 +- .../models/operations/deletestepresponse.md | 6 +- .../getclosingreasonexecutionresponse.md | 6 +- .../models/operations/getexecutionresponse.md | 6 +- .../operations/getexecutionsresponse.md | 6 +- .../operations/searchexecutionsresponse.md | 6 +- .../models/operations/searchstepsresponse.md | 6 +- .../operations/updateexecutionresponse.md | 6 +- .../models/operations/updatestepresponse.md | 6 +- .../docs/sdks/workflows/README.md | 136 +++++++++--------- workflows_execution/files.gen | 4 +- workflows_execution/gen.yaml | 8 +- workflows_execution/setup.py | 2 +- .../models/operations/createexecution.py | 3 + .../epilot/models/operations/createstep.py | 3 + .../models/operations/deleteexecution.py | 3 + .../epilot/models/operations/deletestep.py | 3 + .../operations/getclosingreasonexecution.py | 3 + .../epilot/models/operations/getexecution.py | 3 + .../epilot/models/operations/getexecutions.py | 3 + .../models/operations/searchexecutions.py | 3 + .../epilot/models/operations/searchsteps.py | 3 + .../models/operations/updateexecution.py | 3 + .../epilot/models/operations/updatestep.py | 3 + .../src/epilot/sdkconfiguration.py | 4 +- 29 files changed, 181 insertions(+), 116 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index f9c72d588..e3d7612a5 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -10,8 +10,6 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=workfl ## SDK Example Usage - - ```python import epilot from epilot.models import shared @@ -24,17 +22,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'corrupti', + 'quo', ], contexts=[ shared.WorkflowContext( - id='9bd9d8d6-9a67-44e0-b467-cc8796ed151a', + id='2ddf7cc7-8ca1-4ba9-a8fc-816742cb7392', schema='perferendis', title='Mrs.', ), ], trigger=shared.TriggerType.AUTOMATIC, - workflow_id='sapiente', + workflow_id='sed', ) res = s.workflows.create_execution(req) @@ -63,4 +61,30 @@ if res.workflow_execution is not None: * [update_step](docs/sdks/workflows/README.md#update_step) - updateStep + + + + + + + + + + + +# Pagination + +Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the +returned response object will have a `Next` method that can be called to pull down the next group of results. If the +return value of `Next` is `None`, then there are no more pages to be fetched. + +Here's an example of one such pagination call: + + + + + + + + ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index ddc2f6134..cec637a46 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -496,4 +496,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.5] workflows_execution \ No newline at end of file +- [python v1.44.5] workflows_execution + +## 2023-09-26 01:00:17 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.45.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createexecutionresponse.md b/workflows_execution/docs/models/operations/createexecutionresponse.md index 3a2cc63fd..0f8214911 100755 --- a/workflows_execution/docs/models/operations/createexecutionresponse.md +++ b/workflows_execution/docs/models/operations/createexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - if the execution is created successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createstepresponse.md b/workflows_execution/docs/models/operations/createstepresponse.md index 5a2ab2611..fadabf76a 100755 --- a/workflows_execution/docs/models/operations/createstepresponse.md +++ b/workflows_execution/docs/models/operations/createstepresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is created with success | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionresponse.md b/workflows_execution/docs/models/operations/deleteexecutionresponse.md index 00760f2de..c23839e9b 100755 --- a/workflows_execution/docs/models/operations/deleteexecutionresponse.md +++ b/workflows_execution/docs/models/operations/deleteexecutionresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Failed to authenticate | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletestepresponse.md b/workflows_execution/docs/models/operations/deletestepresponse.md index b2069d246..0934c481d 100755 --- a/workflows_execution/docs/models/operations/deletestepresponse.md +++ b/workflows_execution/docs/models/operations/deletestepresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md index 105eb717e..d911d4349 100755 --- a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `closing_reason_resp` | [Optional[shared.ClosingReasonResp]](../../models/shared/closingreasonresp.md) | :heavy_minus_sign: | returns all Closing Reasons for this Execution | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Issues | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionresponse.md b/workflows_execution/docs/models/operations/getexecutionresponse.md index bb57c1968..e6a1f321c 100755 --- a/workflows_execution/docs/models/operations/getexecutionresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - execution loaded with success. Empty response execution was not found. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md index 5f7f2f74c..fffc027d8 100755 --- a/workflows_execution/docs/models/operations/getexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchexecutionsresponse.md b/workflows_execution/docs/models/operations/searchexecutionsresponse.md index 18a764407..290a76350 100755 --- a/workflows_execution/docs/models/operations/searchexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/searchexecutionsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | | `search_executions_resp` | [Optional[shared.SearchExecutionsResp]](../../models/shared/searchexecutionsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchstepsresponse.md b/workflows_execution/docs/models/operations/searchstepsresponse.md index 13bc0206d..7d1044ed4 100755 --- a/workflows_execution/docs/models/operations/searchstepsresponse.md +++ b/workflows_execution/docs/models/operations/searchstepsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | | `search_steps_resp` | [Optional[shared.SearchStepsResp]](../../models/shared/searchstepsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionresponse.md b/workflows_execution/docs/models/operations/updateexecutionresponse.md index 7fdfdf56c..b592d1272 100755 --- a/workflows_execution/docs/models/operations/updateexecutionresponse.md +++ b/workflows_execution/docs/models/operations/updateexecutionresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatestepresponse.md b/workflows_execution/docs/models/operations/updatestepresponse.md index c96e1272a..87148acbb 100755 --- a/workflows_execution/docs/models/operations/updatestepresponse.md +++ b/workflows_execution/docs/models/operations/updatestepresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | | `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is updated successfully | \ No newline at end of file diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index deb63757e..613f3bddd 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -36,17 +36,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'quo', + 'iste', ], contexts=[ shared.WorkflowContext( - id='2ddf7cc7-8ca1-4ba9-a8fc-816742cb7392', - schema='perferendis', - title='Mrs.', + id='396fea75-96eb-410f-aaa2-352c5955907a', + schema='doloribus', + title='Dr.', ), ], - trigger=shared.TriggerType.AUTOMATIC, - workflow_id='sed', + trigger=shared.TriggerType.MANUAL, + workflow_id='mollitia', ) res = s.workflows.create_execution(req) @@ -86,17 +86,17 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - execution_id='iste', - execution_status='dolor', - flow_id='natus', + execution_id='dolorem', + execution_status='culpa', + flow_id='consequuntur', ), - execution_type=shared.StepType.MANUAL, - insertion_index=9437.49, - name='Wilbur Kirlin', - section_id='iure', - status=shared.StepStatus.IN_PROGRESS, + execution_type=shared.StepType.AUTOMATION, + insertion_index=6531.08, + name='Francis Jerde', + section_id='velit', + status=shared.StepStatus.SKIPPED, ), - execution_id='quidem', + execution_id='quia', ) res = s.workflows.create_step(req) @@ -134,7 +134,7 @@ s = epilot.Epilot( ) req = operations.DeleteExecutionRequest( - execution_id='architecto', + execution_id='quis', ) res = s.workflows.delete_execution(req) @@ -172,8 +172,8 @@ s = epilot.Epilot( ) req = operations.DeleteStepRequest( - execution_id='ipsa', - step_id='reiciendis', + execution_id='vitae', + step_id='laborum', ) res = s.workflows.delete_step(req) @@ -214,7 +214,7 @@ s = epilot.Epilot( ) req = operations.GetClosingReasonExecutionRequest( - execution_id='est', + execution_id='animi', ) res = s.workflows.get_closing_reason_execution(req) @@ -252,7 +252,7 @@ s = epilot.Epilot( ) req = operations.GetExecutionRequest( - execution_id='mollitia', + execution_id='enim', ) res = s.workflows.get_execution(req) @@ -290,8 +290,8 @@ s = epilot.Epilot( ) req = operations.GetExecutionsRequest( - context='laborum', - schema='dolores', + context='odit', + schema='quo', ) res = s.workflows.get_executions(req) @@ -329,14 +329,14 @@ s = epilot.Epilot( ) req = shared.SearchExecutionsReq( - assigned_to='dolorem', + assigned_to='sequi', include_done_workflows=False, - name='Rose Rolfson', + name='Vernon Ondricka Sr.', pagination=shared.ExecutionPaginationDynamo( - creation_time='nemo', - org_id='minima', + creation_time='error', + org_id='temporibus', ), - sorting=shared.SearchSorting.DUE_DATE_DESC, + sorting=shared.SearchSorting.TRIGGER_DATE_ASC, status=shared.WorkflowStatus.STARTED, ) @@ -375,17 +375,17 @@ s = epilot.Epilot( ) req = shared.SearchStepsReq( - assigned_to=4386.01, - execution_name='culpa', + assigned_to=9719.45, + execution_name='voluptatibus', include_done_workflows=False, manually_created=False, pagination=shared.SearchPagination( - from_=9883.74, - size=9589.5, + from_=8781.94, + size=4686.51, ), - sorting=shared.SearchSorting.A_Z, - status=shared.SearchStepsReqStatus.COMPLETE, - step_name='dolorem', + sorting=shared.SearchSorting.DUE_DATE_DESC, + status=shared.SearchStepsReqStatus.NEXT_OPEN_ITEM_IN_WORKFLOW, + step_name='ipsa', ) res = s.workflows.search_steps(req) @@ -425,34 +425,34 @@ s = epilot.Epilot( req = operations.UpdateExecutionRequest( workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( assigned_to=[ - 'culpa', + 'omnis', ], - closed_by='consequuntur', - closing_reason_description='repellat', - completed_time='mollitia', + closed_by='voluptate', + closing_reason_description='cum', + completed_time='perferendis', contexts=[ shared.WorkflowContext( - id='94677392-51aa-452c-bf5a-d019da1ffe78', - schema='voluptatibus', - title='Mr.', + id='074f1547-1b5e-46e1-bb99-d488e1e91e45', + schema='consequatur', + title='Miss', ), ], - due_date='omnis', + due_date='quibusdam', dynamic_due_date=shared.DynamicDueDate( action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=7392.64, - step_id='perferendis', - time_period=shared.DynamicDueDateTimePeriod.DAYS, + number_of_units=6471.74, + step_id='distinctio', + time_period=shared.DynamicDueDateTimePeriod.MONTHS, ), selected_closing_reasons=[ shared.ClosingReason( - id='74f15471-b5e6-4e13-b99d-488e1e91e450', + id='44269802-d502-4a94-bb4f-63c969e9a3ef', title='Miss', ), ], - status=shared.WorkflowStatus.CLOSED, + status=shared.WorkflowStatus.DONE, ), - execution_id='explicabo', + execution_id='in', ) res = s.workflows.update_execution(req) @@ -492,36 +492,36 @@ s = epilot.Epilot( req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ - 'deserunt', + 'illum', ], - assigned_to_in_progress='distinctio', + assigned_to_in_progress='maiores', automation_config=shared.AutomationConfig( - execution_id='quibusdam', - execution_status='labore', - flow_id='modi', + execution_id='rerum', + execution_status='dicta', + flow_id='magnam', ), - completed_time='qui', - due_date='aliquid', + completed_time='cumque', + due_date='facere', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, - number_of_units=5528.22, - step_id='perferendis', - time_period=shared.DynamicDueDateTimePeriod.DAYS, + action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, + number_of_units=3965.06, + step_id='laborum', + time_period=shared.DynamicDueDateTimePeriod.MONTHS, ), - entity_ref_id='assumenda', - name='Linda Corkery', + entity_ref_id='non', + name='Jon Tillman', position=shared.StepPositionAt( - index=2700.08, - section_id='facilis', + index=5884.65, + section_id='nam', ), - started_time='tempore', - status=shared.StepStatus.ASSIGNED, + started_time='id', + status=shared.StepStatus.COMPLETED, user_ids=[ - 9621.89, + 5332.06, ], ), - execution_id='eum', - step_id='non', + execution_id='sapiente', + step_id='amet', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 91de0a3a6..bf4d8926c 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -60,8 +60,6 @@ src/epilot/models/shared/steppositionat.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py src/epilot/models/errors/__init__.py -docs/sdks/epilot/README.md -docs/sdks/workflows/README.md USAGE.md docs/models/operations/createexecutionresponse.md docs/models/operations/createsteprequest.md @@ -125,4 +123,6 @@ docs/models/shared/workflowexecutionupdatereq.md docs/models/shared/updatestepreq.md docs/models/shared/steppositionat.md docs/models/shared/security.md +docs/sdks/epilot/README.md +docs/sdks/workflows/README.md .gitattributes \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index e097e5e79..1f00659dd 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.88.0 - generationVersion: 2.118.1 + speakeasyVersion: 1.91.0 + generationVersion: 2.129.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.6 + core: 2.86.0 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.5 + version: 1.45.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 65a9fb612..b195d2c7e 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.44.5", + version="1.45.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py index 4e1105131..2d344c523 100755 --- a/workflows_execution/src/epilot/models/operations/createexecution.py +++ b/workflows_execution/src/epilot/models/operations/createexecution.py @@ -12,10 +12,13 @@ @dataclasses.dataclass class CreateExecutionResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) r"""Success - if the execution is created successfully""" diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py index 408c70694..ca0627eeb 100755 --- a/workflows_execution/src/epilot/models/operations/createstep.py +++ b/workflows_execution/src/epilot/models/operations/createstep.py @@ -24,10 +24,13 @@ class CreateStepRequest: @dataclasses.dataclass class CreateStepResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" step: Optional[shared_step.Step] = dataclasses.field(default=None) r"""Success - if the step is created with success""" diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py index eceaa926c..c834e372b 100755 --- a/workflows_execution/src/epilot/models/operations/deleteexecution.py +++ b/workflows_execution/src/epilot/models/operations/deleteexecution.py @@ -20,9 +20,12 @@ class DeleteExecutionRequest: @dataclasses.dataclass class DeleteExecutionResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Failed to authenticate""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py index 345e0ac1f..f59cb46e4 100755 --- a/workflows_execution/src/epilot/models/operations/deletestep.py +++ b/workflows_execution/src/epilot/models/operations/deletestep.py @@ -22,9 +22,12 @@ class DeleteStepRequest: @dataclasses.dataclass class DeleteStepResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py index 89a5f81ad..c29203bf0 100755 --- a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py +++ b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py @@ -21,11 +21,14 @@ class GetClosingReasonExecutionRequest: @dataclasses.dataclass class GetClosingReasonExecutionResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" closing_reason_resp: Optional[shared_closingreasonresp.ClosingReasonResp] = dataclasses.field(default=None) r"""returns all Closing Reasons for this Execution""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Internal Issues""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py index 8ade44e56..743d0d661 100755 --- a/workflows_execution/src/epilot/models/operations/getexecution.py +++ b/workflows_execution/src/epilot/models/operations/getexecution.py @@ -21,10 +21,13 @@ class GetExecutionRequest: @dataclasses.dataclass class GetExecutionResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" workflow_execution: Optional[shared_workflowexecution.WorkflowExecution] = dataclasses.field(default=None) r"""Success - execution loaded with success. Empty response execution was not found.""" diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py index f54d9b809..a6b41c300 100755 --- a/workflows_execution/src/epilot/models/operations/getexecutions.py +++ b/workflows_execution/src/epilot/models/operations/getexecutions.py @@ -23,10 +23,13 @@ class GetExecutionsRequest: @dataclasses.dataclass class GetExecutionsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" workflow_execution_slims: Optional[list[shared_workflowexecutionslim.WorkflowExecutionSlim]] = dataclasses.field(default=None) r"""Success - executions loaded with success. Empty array if org has no executions.""" diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py index 983ae160d..903425e2d 100755 --- a/workflows_execution/src/epilot/models/operations/searchexecutions.py +++ b/workflows_execution/src/epilot/models/operations/searchexecutions.py @@ -12,10 +12,13 @@ @dataclasses.dataclass class SearchExecutionsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" search_executions_resp: Optional[shared_searchexecutionsresp.SearchExecutionsResp] = dataclasses.field(default=None) r"""Success - filtered steps are returned""" diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py index cfea5518e..2b412613b 100755 --- a/workflows_execution/src/epilot/models/operations/searchsteps.py +++ b/workflows_execution/src/epilot/models/operations/searchsteps.py @@ -12,10 +12,13 @@ @dataclasses.dataclass class SearchStepsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" search_steps_resp: Optional[shared_searchstepsresp.SearchStepsResp] = dataclasses.field(default=None) r"""Success - filtered steps are returned""" diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py index 9a62cc4f1..417170e05 100755 --- a/workflows_execution/src/epilot/models/operations/updateexecution.py +++ b/workflows_execution/src/epilot/models/operations/updateexecution.py @@ -23,9 +23,12 @@ class UpdateExecutionRequest: @dataclasses.dataclass class UpdateExecutionResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py index 5a543098e..eef303430 100755 --- a/workflows_execution/src/epilot/models/operations/updatestep.py +++ b/workflows_execution/src/epilot/models/operations/updatestep.py @@ -26,10 +26,13 @@ class UpdateStepRequest: @dataclasses.dataclass class UpdateStepResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" error_resp: Optional[shared_errorresp.ErrorResp] = dataclasses.field(default=None) r"""Validation Errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" step: Optional[shared_step.Step] = dataclasses.field(default=None) r"""Success - if the step is updated successfully""" diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 4e51449df..38aed11be 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.5' - gen_version: str = '2.118.1' + sdk_version: str = '1.45.0' + gen_version: str = '2.129.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 8280b76101bf69e3d1caaa219b783fac5a14060e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 27 Sep 2023 01:00:43 +0000 Subject: [PATCH 75/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.2 --- workflows_execution/README.md | 6 +-- workflows_execution/RELEASES.md | 10 +++- .../docs/models/shared/workflowexecution.md | 2 +- .../models/shared/workflowexecutionflow.md | 17 +++++++ .../models/shared/workflowexecutionslim.md | 48 +++++++++---------- .../shared/workflowexecutionslimflow.md | 17 +++++++ .../docs/sdks/epilot/README.md | 1 + .../docs/sdks/workflows/README.md | 1 + workflows_execution/files.gen | 2 + workflows_execution/gen.yaml | 8 ++-- workflows_execution/setup.py | 4 +- .../src/epilot/models/shared/__init__.py | 2 +- .../epilot/models/shared/workflowexecution.py | 12 ++++- .../models/shared/workflowexecutionslim.py | 12 ++++- .../src/epilot/sdkconfiguration.py | 4 +- workflows_execution/src/epilot/utils/utils.py | 8 ++++ 16 files changed, 110 insertions(+), 44 deletions(-) create mode 100755 workflows_execution/docs/models/shared/workflowexecutionflow.md create mode 100755 workflows_execution/docs/models/shared/workflowexecutionslimflow.md diff --git a/workflows_execution/README.md b/workflows_execution/README.md index e3d7612a5..ea66748a6 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -46,7 +46,7 @@ if res.workflow_execution is not None: ## Available Resources and Operations -### [Workflows](docs/sdks/workflows/README.md) +### [workflows](docs/sdks/workflows/README.md) * [create_execution](docs/sdks/workflows/README.md#create_execution) - createExecution * [create_step](docs/sdks/workflows/README.md#create_step) - createStep @@ -65,8 +65,6 @@ if res.workflow_execution is not None: - - @@ -79,8 +77,6 @@ returned response object will have a `Next` method that can be called to pull do return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: - - diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index cec637a46..70d45967e 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -504,4 +504,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.45.0] workflows_execution \ No newline at end of file +- [python v1.45.0] workflows_execution + +## 2023-09-27 01:00:25 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.45.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md index 2b0a7e10b..5104b3f18 100755 --- a/workflows_execution/docs/models/shared/workflowexecution.md +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -15,7 +15,7 @@ | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[*Any*] | :heavy_check_mark: | N/A | +| `flow` | list[[Union[Section, Step]](../../models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | | `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | diff --git a/workflows_execution/docs/models/shared/workflowexecutionflow.md b/workflows_execution/docs/models/shared/workflowexecutionflow.md new file mode 100755 index 000000000..98333b192 --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowexecutionflow.md @@ -0,0 +1,17 @@ +# WorkflowExecutionFlow + + +## Supported Types + +### Section + +```python +workflowExecutionFlow: shared.Section = /* values here */ +``` + +### Step + +```python +workflowExecutionFlow: shared.Step = /* values here */ +``` + diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md index 65bf3bfcf..295d71354 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionslim.md +++ b/workflows_execution/docs/models/shared/workflowexecutionslim.md @@ -3,27 +3,27 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[*Any*] | :heavy_check_mark: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | -| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | -| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | -| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | +| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | +| `flow` | list[[Union[SectionSimplified, StepSimplified]](../../models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | +| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionslimflow.md b/workflows_execution/docs/models/shared/workflowexecutionslimflow.md new file mode 100755 index 000000000..72a110645 --- /dev/null +++ b/workflows_execution/docs/models/shared/workflowexecutionslimflow.md @@ -0,0 +1,17 @@ +# WorkflowExecutionSlimFlow + + +## Supported Types + +### SectionSimplified + +```python +workflowExecutionSlimFlow: shared.SectionSimplified = /* values here */ +``` + +### StepSimplified + +```python +workflowExecutionSlimFlow: shared.StepSimplified = /* values here */ +``` + diff --git a/workflows_execution/docs/sdks/epilot/README.md b/workflows_execution/docs/sdks/epilot/README.md index b3dbf5c30..652e748a1 100755 --- a/workflows_execution/docs/sdks/epilot/README.md +++ b/workflows_execution/docs/sdks/epilot/README.md @@ -1,5 +1,6 @@ # Epilot SDK + ## Overview Workflows Executions: Service for Workflow Executions which covers executions of processes defined in an Organization diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index 613f3bddd..f8211a355 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -1,4 +1,5 @@ # Workflows +(*workflows*) ## Overview diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index bf4d8926c..39e761a2c 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -80,6 +80,7 @@ docs/models/operations/updateexecutionrequest.md docs/models/operations/updateexecutionresponse.md docs/models/operations/updatesteprequest.md docs/models/operations/updatestepresponse.md +docs/models/shared/workflowexecutionflow.md docs/models/shared/workflowexecution.md docs/models/shared/updateentityattributessource.md docs/models/shared/updateentityattributestarget.md @@ -106,6 +107,7 @@ docs/models/shared/errorresp.md docs/models/shared/workflowexecutioncreatereq.md docs/models/shared/createstepreq.md docs/models/shared/closingreasonresp.md +docs/models/shared/workflowexecutionslimflow.md docs/models/shared/workflowexecutionslim.md docs/models/shared/sectionsimplified.md docs/models/shared/stepsimplified.md diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 1f00659dd..99b02bf0b 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.91.0 - generationVersion: 2.129.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.86.0 + core: 2.86.1 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.45.0 + version: 1.45.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index b195d2c7e..5bcd8557d 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.45.0", + version="1.45.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json>=0.5.12", + "dataclasses-json>=0.6.1", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py index 5f5743502..2ba183cc5 100755 --- a/workflows_execution/src/epilot/models/shared/__init__.py +++ b/workflows_execution/src/epilot/models/shared/__init__.py @@ -38,4 +38,4 @@ from .workflowexecutionupdatereq import * from .workflowstatus import * -__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionSlim","WorkflowExecutionUpdateReq","WorkflowStatus"] +__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index ef1e853a5..4516e3a5d 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -4,6 +4,8 @@ import dataclasses from ..shared import closingreason as shared_closingreason from ..shared import dynamicduedate as shared_dynamicduedate +from ..shared import section as shared_section +from ..shared import step as shared_step from ..shared import stepid as shared_stepid from ..shared import triggertype as shared_triggertype from ..shared import updateentityattributes as shared_updateentityattributes @@ -11,14 +13,20 @@ from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class WorkflowExecutionFlow: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class WorkflowExecution: - flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) + flow: list[Union[shared_section.Section, shared_step.Step]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index b45d829c8..3646333d2 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -4,21 +4,29 @@ import dataclasses from ..shared import closingreason as shared_closingreason from ..shared import dynamicduedate as shared_dynamicduedate +from ..shared import sectionsimplified as shared_sectionsimplified from ..shared import stepid as shared_stepid +from ..shared import stepsimplified as shared_stepsimplified from ..shared import triggertype as shared_triggertype from ..shared import updateentityattributes as shared_updateentityattributes from ..shared import workflowcontext as shared_workflowcontext from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class WorkflowExecutionSlimFlow: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class WorkflowExecutionSlim: - flow: list[Any] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) + flow: list[Union[shared_sectionsimplified.SectionSimplified, shared_stepsimplified.StepSimplified]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 38aed11be..bed19304d 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.45.0' - gen_version: str = '2.129.1' + sdk_version: str = '1.45.1' + gen_version: str = '2.131.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 05eafba6c..b0aeb54de 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +import sys import base64 import json import re @@ -796,3 +797,10 @@ def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: d value = global_value return value + + +def decoder_with_discriminator(field_name): + def decode_fx(obj): + kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) + return unmarshal_json(json.dumps(obj), kls) + return decode_fx From b3e9f64eedd1d380cc2aa6c50628b2f80a4f03e9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 29 Sep 2023 01:00:26 +0000 Subject: [PATCH 76/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.3 --- workflows_execution/README.md | 12 +- workflows_execution/RELEASES.md | 10 +- workflows_execution/USAGE.md | 12 +- .../operations/createexecutionresponse.md | 8 +- .../models/operations/createsteprequest.md | 8 +- .../models/operations/createstepresponse.md | 8 +- .../operations/deleteexecutionrequest.md | 2 +- .../operations/deleteexecutionresponse.md | 6 +- .../models/operations/deletesteprequest.md | 4 +- .../models/operations/deletestepresponse.md | 6 +- .../getclosingreasonexecutionrequest.md | 2 +- .../getclosingreasonexecutionresponse.md | 8 +- .../models/operations/getexecutionrequest.md | 2 +- .../models/operations/getexecutionresponse.md | 8 +- .../operations/getexecutionsresponse.md | 14 +- .../operations/searchexecutionsresponse.md | 14 +- .../models/operations/searchstepsresponse.md | 8 +- .../operations/updateexecutionrequest.md | 8 +- .../operations/updateexecutionresponse.md | 6 +- .../models/operations/updatesteprequest.md | 10 +- .../models/operations/updatestepresponse.md | 8 +- .../docs/models/shared/automationconfig.md | 2 +- .../docs/models/shared/closingreason.md | 4 +- .../docs/models/shared/closingreasonresp.md | 6 +- .../docs/models/shared/createstepreq.md | 16 +-- .../docs/models/shared/dynamicduedate.md | 12 +- .../docs/models/shared/searchexecutionsreq.md | 16 +-- .../models/shared/searchexecutionsresp.md | 8 +- .../docs/models/shared/searchstepsreq.md | 20 +-- .../docs/models/shared/searchstepsresp.md | 8 +- .../docs/models/shared/section.md | 10 +- .../docs/models/shared/sectionsimplified.md | 14 +- .../docs/models/shared/security.md | 2 +- .../docs/models/shared/step.md | 20 +-- .../docs/models/shared/stepextended.md | 28 ++-- .../docs/models/shared/steprequirement.md | 10 +- .../models/shared/steprequirementcondition.md | 8 -- .../docs/models/shared/stepsimplified.md | 22 +-- .../models/shared/updateentityattributes.md | 8 +- .../shared/updateentityattributestarget.md | 4 +- .../docs/models/shared/updatestepreq.md | 10 +- .../docs/models/shared/workflowcontext.md | 6 +- .../docs/models/shared/workflowexecution.md | 18 +-- .../shared/workflowexecutioncreatereq.md | 12 +- .../models/shared/workflowexecutionslim.md | 48 +++---- .../shared/workflowexecutionupdatereq.md | 8 +- .../docs/sdks/workflows/README.md | 132 +++++++++--------- workflows_execution/files.gen | 1 - workflows_execution/gen.yaml | 8 +- workflows_execution/pylintrc | 4 +- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/createstepreq.py | 2 +- .../epilot/models/shared/steppositionat.py | 2 +- .../epilot/models/shared/steprequirement.py | 7 +- .../src/epilot/sdkconfiguration.py | 5 +- workflows_execution/src/epilot/utils/utils.py | 79 +++++++++-- workflows_execution/src/epilot/workflows.py | 34 ++--- 58 files changed, 409 insertions(+), 353 deletions(-) delete mode 100755 workflows_execution/docs/models/shared/steprequirementcondition.md diff --git a/workflows_execution/README.md b/workflows_execution/README.md index ea66748a6..c6904a82d 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -22,17 +22,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'quo', + 'wearily', ], contexts=[ shared.WorkflowContext( - id='2ddf7cc7-8ca1-4ba9-a8fc-816742cb7392', - schema='perferendis', - title='Mrs.', + id='', + schema='Strontium', + title='teal 6th Bespoke', ), ], - trigger=shared.TriggerType.AUTOMATIC, - workflow_id='sed', + trigger=shared.TriggerType.MANUAL, + workflow_id='CLI Cadillac', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 70d45967e..c0b422b21 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -512,4 +512,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.45.1] workflows_execution \ No newline at end of file +- [python v1.45.1] workflows_execution + +## 2023-09-29 01:00:06 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.46.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 7c231bea6..e19bed789 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -13,17 +13,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'corrupti', + 'wearily', ], contexts=[ shared.WorkflowContext( - id='9bd9d8d6-9a67-44e0-b467-cc8796ed151a', - schema='perferendis', - title='Mrs.', + id='', + schema='Strontium', + title='teal 6th Bespoke', ), ], - trigger=shared.TriggerType.AUTOMATIC, - workflow_id='sapiente', + trigger=shared.TriggerType.MANUAL, + workflow_id='CLI Cadillac', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/docs/models/operations/createexecutionresponse.md b/workflows_execution/docs/models/operations/createexecutionresponse.md index 0f8214911..bf9d495ef 100755 --- a/workflows_execution/docs/models/operations/createexecutionresponse.md +++ b/workflows_execution/docs/models/operations/createexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - if the execution is created successfully | \ No newline at end of file +| `workflow_execution` | [Optional[shared.WorkflowExecution]](undefined/models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - if the execution is created successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createsteprequest.md b/workflows_execution/docs/models/operations/createsteprequest.md index 000e6db96..353512b9f 100755 --- a/workflows_execution/docs/models/operations/createsteprequest.md +++ b/workflows_execution/docs/models/operations/createsteprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `create_step_req` | [shared.CreateStepReq](../../models/shared/createstepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `create_step_req` | [Optional[shared.CreateStepReq]](undefined/models/shared/createstepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createstepresponse.md b/workflows_execution/docs/models/operations/createstepresponse.md index fadabf76a..5355541ab 100755 --- a/workflows_execution/docs/models/operations/createstepresponse.md +++ b/workflows_execution/docs/models/operations/createstepresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is created with success | \ No newline at end of file +| `step` | [Optional[shared.Step]](undefined/models/shared/step.md) | :heavy_minus_sign: | Success - if the step is created with success | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionrequest.md b/workflows_execution/docs/models/operations/deleteexecutionrequest.md index d634c0546..0ab766f3e 100755 --- a/workflows_execution/docs/models/operations/deleteexecutionrequest.md +++ b/workflows_execution/docs/models/operations/deleteexecutionrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution to de deleted. | \ No newline at end of file +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution to de deleted. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionresponse.md b/workflows_execution/docs/models/operations/deleteexecutionresponse.md index c23839e9b..d6607e1b3 100755 --- a/workflows_execution/docs/models/operations/deleteexecutionresponse.md +++ b/workflows_execution/docs/models/operations/deleteexecutionresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Failed to authenticate | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Failed to authenticate | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletesteprequest.md b/workflows_execution/docs/models/operations/deletesteprequest.md index 27d21b658..b13b7140b 100755 --- a/workflows_execution/docs/models/operations/deletesteprequest.md +++ b/workflows_execution/docs/models/operations/deletesteprequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | -| `step_id` | *str* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | +| `step_id` | *Optional[str]* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletestepresponse.md b/workflows_execution/docs/models/operations/deletestepresponse.md index 0934c481d..bdfa960b2 100755 --- a/workflows_execution/docs/models/operations/deletestepresponse.md +++ b/workflows_execution/docs/models/operations/deletestepresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md index b15a5a046..d85288eff 100755 --- a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md index d911d4349..8d9d200f4 100755 --- a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `closing_reason_resp` | [Optional[shared.ClosingReasonResp]](../../models/shared/closingreasonresp.md) | :heavy_minus_sign: | returns all Closing Reasons for this Execution | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Issues | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `closing_reason_resp` | [Optional[shared.ClosingReasonResp]](undefined/models/shared/closingreasonresp.md) | :heavy_minus_sign: | returns all Closing Reasons for this Execution | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Issues | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionrequest.md b/workflows_execution/docs/models/operations/getexecutionrequest.md index 3250d15a4..265f9a5ae 100755 --- a/workflows_execution/docs/models/operations/getexecutionrequest.md +++ b/workflows_execution/docs/models/operations/getexecutionrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionresponse.md b/workflows_execution/docs/models/operations/getexecutionresponse.md index e6a1f321c..5a480a90b 100755 --- a/workflows_execution/docs/models/operations/getexecutionresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - execution loaded with success. Empty response execution was not found. | \ No newline at end of file +| `workflow_execution` | [Optional[shared.WorkflowExecution]](undefined/models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - execution loaded with success. Empty response execution was not found. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md index fffc027d8..abf63cf5e 100755 --- a/workflows_execution/docs/models/operations/getexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](undefined/models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchexecutionsresponse.md b/workflows_execution/docs/models/operations/searchexecutionsresponse.md index 290a76350..ba377e5da 100755 --- a/workflows_execution/docs/models/operations/searchexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/searchexecutionsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `search_executions_resp` | [Optional[shared.SearchExecutionsResp]](../../models/shared/searchexecutionsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `search_executions_resp` | [Optional[shared.SearchExecutionsResp]](undefined/models/shared/searchexecutionsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchstepsresponse.md b/workflows_execution/docs/models/operations/searchstepsresponse.md index 7d1044ed4..ce5d18b59 100755 --- a/workflows_execution/docs/models/operations/searchstepsresponse.md +++ b/workflows_execution/docs/models/operations/searchstepsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `search_steps_resp` | [Optional[shared.SearchStepsResp]](../../models/shared/searchstepsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `search_steps_resp` | [Optional[shared.SearchStepsResp]](undefined/models/shared/searchstepsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionrequest.md b/workflows_execution/docs/models/operations/updateexecutionrequest.md index 708cc9d0c..669f9ceb5 100755 --- a/workflows_execution/docs/models/operations/updateexecutionrequest.md +++ b/workflows_execution/docs/models/operations/updateexecutionrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `workflow_execution_update_req` | [shared.WorkflowExecutionUpdateReq](../../models/shared/workflowexecutionupdatereq.md) | :heavy_check_mark: | Patch Updates for Workflow Execution payload. | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `workflow_execution_update_req` | [Optional[shared.WorkflowExecutionUpdateReq]](undefined/models/shared/workflowexecutionupdatereq.md) | :heavy_check_mark: | Patch Updates for Workflow Execution payload. | +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionresponse.md b/workflows_execution/docs/models/operations/updateexecutionresponse.md index b592d1272..1422b6d2f 100755 --- a/workflows_execution/docs/models/operations/updateexecutionresponse.md +++ b/workflows_execution/docs/models/operations/updateexecutionresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatesteprequest.md b/workflows_execution/docs/models/operations/updatesteprequest.md index dce266d7d..4bbdf817a 100755 --- a/workflows_execution/docs/models/operations/updatesteprequest.md +++ b/workflows_execution/docs/models/operations/updatesteprequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `update_step_req` | [shared.UpdateStepReq](../../models/shared/updatestepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | -| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | -| `step_id` | *str* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `update_step_req` | [Optional[shared.UpdateStepReq]](undefined/models/shared/updatestepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | +| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | +| `step_id` | *Optional[str]* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatestepresponse.md b/workflows_execution/docs/models/operations/updatestepresponse.md index 87148acbb..b222d203d 100755 --- a/workflows_execution/docs/models/operations/updatestepresponse.md +++ b/workflows_execution/docs/models/operations/updatestepresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is updated successfully | \ No newline at end of file +| `step` | [Optional[shared.Step]](undefined/models/shared/step.md) | :heavy_minus_sign: | Success - if the step is updated successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/automationconfig.md b/workflows_execution/docs/models/shared/automationconfig.md index 54a5b2e0c..2bf8d6e12 100755 --- a/workflows_execution/docs/models/shared/automationconfig.md +++ b/workflows_execution/docs/models/shared/automationconfig.md @@ -9,4 +9,4 @@ Configuration for automation execution to run | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `execution_id` | *Optional[str]* | :heavy_minus_sign: | Id of the automation execution which ran | | `execution_status` | *Optional[str]* | :heavy_minus_sign: | Status of Automation Execution. Types can be found in Automation API | -| `flow_id` | *str* | :heavy_check_mark: | Id of the configured automation to run | \ No newline at end of file +| `flow_id` | *Optional[str]* | :heavy_check_mark: | Id of the configured automation to run | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreason.md b/workflows_execution/docs/models/shared/closingreason.md index 16265534e..b2e41a943 100755 --- a/workflows_execution/docs/models/shared/closingreason.md +++ b/workflows_execution/docs/models/shared/closingreason.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *str* | :heavy_check_mark: | N/A | -| `title` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `title` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md index 212eb603e..f6c0cb38e 100755 --- a/workflows_execution/docs/models/shared/closingreasonresp.md +++ b/workflows_execution/docs/models/shared/closingreasonresp.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md index 211014c86..b78bfcb0c 100755 --- a/workflows_execution/docs/models/shared/createstepreq.md +++ b/workflows_execution/docs/models/shared/createstepreq.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `insertion_index` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `insertion_index` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/dynamicduedate.md b/workflows_execution/docs/models/shared/dynamicduedate.md index 6c21dbf98..a027af7ff 100755 --- a/workflows_execution/docs/models/shared/dynamicduedate.md +++ b/workflows_execution/docs/models/shared/dynamicduedate.md @@ -5,9 +5,9 @@ set a Duedate for a step then a specific ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `action_type_condition` | [Optional[DynamicDueDateActionTypeCondition]](../../models/shared/dynamicduedateactiontypecondition.md) | :heavy_minus_sign: | N/A | -| `number_of_units` | *float* | :heavy_check_mark: | N/A | -| `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `time_period` | [DynamicDueDateTimePeriod](../../models/shared/dynamicduedatetimeperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `action_type_condition` | [Optional[shared.DynamicDueDateActionTypeCondition]](undefined/models/shared/dynamicduedateactiontypecondition.md) | :heavy_minus_sign: | N/A | +| `number_of_units` | *Optional[float]* | :heavy_check_mark: | N/A | +| `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `time_period` | [Optional[shared.DynamicDueDateTimePeriod]](undefined/models/shared/dynamicduedatetimeperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsreq.md b/workflows_execution/docs/models/shared/searchexecutionsreq.md index d6196fa75..055ed3e0c 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsreq.md +++ b/workflows_execution/docs/models/shared/searchexecutionsreq.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `assigned_to` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `pagination` | [Optional[ExecutionPaginationDynamo]](../../models/shared/executionpaginationdynamo.md) | :heavy_minus_sign: | N/A | -| `sorting` | [Optional[SearchSorting]](../../models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | -| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `assigned_to` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `pagination` | [Optional[shared.ExecutionPaginationDynamo]](undefined/models/shared/executionpaginationdynamo.md) | :heavy_minus_sign: | N/A | +| `sorting` | [Optional[shared.SearchSorting]](undefined/models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md index 57b1c081c..cdc8d41b7 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsresp.md +++ b/workflows_execution/docs/models/shared/searchexecutionsresp.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `executions` | list[[WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | -| `last_evaluated_key` | [Optional[LastEvaluatedKey]](../../models/shared/lastevaluatedkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `executions` | list[[shared.WorkflowExecutionSlim](undefined/models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | +| `last_evaluated_key` | [Optional[shared.LastEvaluatedKey]](undefined/models/shared/lastevaluatedkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsreq.md b/workflows_execution/docs/models/shared/searchstepsreq.md index 795934b29..0f6984af1 100755 --- a/workflows_execution/docs/models/shared/searchstepsreq.md +++ b/workflows_execution/docs/models/shared/searchstepsreq.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -| `assigned_to` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `execution_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `pagination` | [Optional[SearchPagination]](../../models/shared/searchpagination.md) | :heavy_minus_sign: | N/A | -| `sorting` | [Optional[SearchSorting]](../../models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | -| `status` | [Optional[SearchStepsReqStatus]](../../models/shared/searchstepsreqstatus.md) | :heavy_minus_sign: | N/A | -| `step_name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `assigned_to` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `execution_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `pagination` | [Optional[shared.SearchPagination]](undefined/models/shared/searchpagination.md) | :heavy_minus_sign: | N/A | +| `sorting` | [Optional[shared.SearchSorting]](undefined/models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.SearchStepsReqStatus]](undefined/models/shared/searchstepsreqstatus.md) | :heavy_minus_sign: | N/A | +| `step_name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md index a7765ab4d..c608d34cb 100755 --- a/workflows_execution/docs/models/shared/searchstepsresp.md +++ b/workflows_execution/docs/models/shared/searchstepsresp.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `hits` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | -| `results` | list[[StepExtended](../../models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `hits` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | +| `results` | list[[shared.StepExtended](undefined/models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md index ea3bbc9ee..d825c1d3a 100755 --- a/workflows_execution/docs/models/shared/section.md +++ b/workflows_execution/docs/models/shared/section.md @@ -10,10 +10,10 @@ A group of Steps that define the progress of the Workflow | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | | +| `name` | *Optional[str]* | :heavy_check_mark: | Name for this Section | Lead Qualification | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `status` | [Optional[SectionStatus]](../../models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | -| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | +| `status` | [Optional[shared.SectionStatus]](undefined/models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | +| `steps` | list[[shared.Step](undefined/models/shared/step.md)] | :heavy_check_mark: | N/A | | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/sectionsimplified.md b/workflows_execution/docs/models/shared/sectionsimplified.md index cc616cc35..b0dbf56f2 100755 --- a/workflows_execution/docs/models/shared/sectionsimplified.md +++ b/workflows_execution/docs/models/shared/sectionsimplified.md @@ -5,10 +5,10 @@ A group of Steps that define the progress of the Workflow ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `id` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | -| `steps` | list[[StepSimplified](../../models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | | +| `name` | *Optional[str]* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `steps` | list[[shared.StepSimplified](undefined/models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/security.md b/workflows_execution/docs/models/shared/security.md index 83ee1f8f9..dbc7d2ed6 100755 --- a/workflows_execution/docs/models/shared/security.md +++ b/workflows_execution/docs/models/shared/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `bearer_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `bearer_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 892898604..849f2061f 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -7,24 +7,24 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | | `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | | `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | | `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index 12dc9a0b4..762acb6f1 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -7,27 +7,27 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `execution_id` | *str* | :heavy_check_mark: | N/A | -| `execution_name` | *str* | :heavy_check_mark: | N/A | -| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | +| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | | `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | | `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirement.md b/workflows_execution/docs/models/shared/steprequirement.md index 446f8cf98..005d05110 100755 --- a/workflows_execution/docs/models/shared/steprequirement.md +++ b/workflows_execution/docs/models/shared/steprequirement.md @@ -5,8 +5,8 @@ describe the requirement for step enablement ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `condition` | [StepRequirementCondition](../../models/shared/steprequirementcondition.md) | :heavy_check_mark: | N/A | -| `definition_id` | *str* | :heavy_check_mark: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `condition` | *Optional[str]* | :heavy_check_mark: | N/A | +| `definition_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirementcondition.md b/workflows_execution/docs/models/shared/steprequirementcondition.md deleted file mode 100755 index c34adc7d8..000000000 --- a/workflows_execution/docs/models/shared/steprequirementcondition.md +++ /dev/null @@ -1,8 +0,0 @@ -# StepRequirementCondition - - -## Values - -| Name | Value | -| -------- | -------- | -| `CLOSED` | CLOSED | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md index 8eebc05ee..4828700f7 100755 --- a/workflows_execution/docs/models/shared/stepsimplified.md +++ b/workflows_execution/docs/models/shared/stepsimplified.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *str* | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributes.md b/workflows_execution/docs/models/shared/updateentityattributes.md index 96c330966..d2d19cd82 100755 --- a/workflows_execution/docs/models/shared/updateentityattributes.md +++ b/workflows_execution/docs/models/shared/updateentityattributes.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `source` | [UpdateEntityAttributesSource](../../models/shared/updateentityattributessource.md) | :heavy_check_mark: | N/A | -| `target` | [UpdateEntityAttributesTarget](../../models/shared/updateentityattributestarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `source` | [Optional[shared.UpdateEntityAttributesSource]](undefined/models/shared/updateentityattributessource.md) | :heavy_check_mark: | N/A | +| `target` | [Optional[shared.UpdateEntityAttributesTarget]](undefined/models/shared/updateentityattributestarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributestarget.md b/workflows_execution/docs/models/shared/updateentityattributestarget.md index fa35f003c..3ca57bafe 100755 --- a/workflows_execution/docs/models/shared/updateentityattributestarget.md +++ b/workflows_execution/docs/models/shared/updateentityattributestarget.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `entity_attribute` | *str* | :heavy_check_mark: | N/A | my_status | -| `entity_schema` | *str* | :heavy_check_mark: | N/A | opportunity | \ No newline at end of file +| `entity_attribute` | *Optional[str]* | :heavy_check_mark: | N/A | my_status | +| `entity_schema` | *Optional[str]* | :heavy_check_mark: | N/A | opportunity | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index 7581706af..9b4a6a7c8 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -7,13 +7,13 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `entity_ref_id` | *str* | :heavy_check_mark: | N/A | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | +| `position` | [Optional[shared.StepPositionAt]](undefined/models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowcontext.md b/workflows_execution/docs/models/shared/workflowcontext.md index ec9e38e44..0c48b8c8c 100755 --- a/workflows_execution/docs/models/shared/workflowcontext.md +++ b/workflows_execution/docs/models/shared/workflowcontext.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *str* | :heavy_check_mark: | N/A | -| `schema` | *str* | :heavy_check_mark: | N/A | -| `title` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `schema` | *Optional[str]* | :heavy_check_mark: | N/A | +| `title` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md index 5104b3f18..f6b6929f2 100755 --- a/workflows_execution/docs/models/shared/workflowexecution.md +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -8,22 +8,22 @@ | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `configured_closing_reason_snapshot` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[[Union[Section, Step]](../../models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | +| `flow` | list[[Union[shared.Section, shared.Step]](undefined/models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | | `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[shared.StepID]](undefined/models/shared/stepid.md) | :heavy_minus_sign: | N/A | | `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[shared.TriggerType]](undefined/models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[shared.UpdateEntityAttributes](undefined/models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | | `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md index e70f5cef6..0e4f59471 100755 --- a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `workflow_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[shared.TriggerType]](undefined/models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `workflow_id` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md index 295d71354..e5e684f64 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionslim.md +++ b/workflows_execution/docs/models/shared/workflowexecutionslim.md @@ -3,27 +3,27 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[[Union[SectionSimplified, StepSimplified]](../../models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | -| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | -| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | -| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | +| `configured_closing_reason_snapshot` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | +| `flow` | list[[Union[shared.SectionSimplified, shared.StepSimplified]](undefined/models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | +| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[shared.StepID]](undefined/models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[shared.TriggerType]](undefined/models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[shared.UpdateEntityAttributes](undefined/models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md index bae2668fd..91a3ab9ba 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md @@ -9,8 +9,8 @@ | `closed_by` | *Optional[str]* | :heavy_minus_sign: | id of the user / partner user who is closing the workflow. For partner pass orgId_userId. | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `selected_closing_reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index f8211a355..b1b0a4f55 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -37,17 +37,17 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'iste', + 'wearily', ], contexts=[ shared.WorkflowContext( - id='396fea75-96eb-410f-aaa2-352c5955907a', - schema='doloribus', - title='Dr.', + id='', + schema='Strontium', + title='teal 6th Bespoke', ), ], trigger=shared.TriggerType.MANUAL, - workflow_id='mollitia', + workflow_id='CLI Cadillac', ) res = s.workflows.create_execution(req) @@ -87,17 +87,17 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - execution_id='dolorem', - execution_status='culpa', - flow_id='consequuntur', + execution_id='Ferrari Cisgender', + execution_status='huzzah Northwest purple', + flow_id='Administrator', ), execution_type=shared.StepType.AUTOMATION, - insertion_index=6531.08, - name='Francis Jerde', - section_id='velit', - status=shared.StepStatus.SKIPPED, + insertion_index=9390.66, + name='hoarse', + section_id='visualize Metal', + status=shared.StepStatus.COMPLETED, ), - execution_id='quia', + execution_id='Electronic orange regarding', ) res = s.workflows.create_step(req) @@ -135,7 +135,7 @@ s = epilot.Epilot( ) req = operations.DeleteExecutionRequest( - execution_id='quis', + execution_id='wangle', ) res = s.workflows.delete_execution(req) @@ -173,8 +173,8 @@ s = epilot.Epilot( ) req = operations.DeleteStepRequest( - execution_id='vitae', - step_id='laborum', + execution_id='Hat Hybrid', + step_id='transmitter Moore Gasoline', ) res = s.workflows.delete_step(req) @@ -215,7 +215,7 @@ s = epilot.Epilot( ) req = operations.GetClosingReasonExecutionRequest( - execution_id='animi', + execution_id='navigate Hybrid', ) res = s.workflows.get_closing_reason_execution(req) @@ -253,7 +253,7 @@ s = epilot.Epilot( ) req = operations.GetExecutionRequest( - execution_id='enim', + execution_id='Account Classical', ) res = s.workflows.get_execution(req) @@ -291,8 +291,8 @@ s = epilot.Epilot( ) req = operations.GetExecutionsRequest( - context='odit', - schema='quo', + context='Global capacitor East', + schema='sky', ) res = s.workflows.get_executions(req) @@ -330,15 +330,15 @@ s = epilot.Epilot( ) req = shared.SearchExecutionsReq( - assigned_to='sequi', + assigned_to='plum', include_done_workflows=False, - name='Vernon Ondricka Sr.', + name='SUV', pagination=shared.ExecutionPaginationDynamo( - creation_time='error', - org_id='temporibus', + creation_time='Androgynous Beauty Soft', + org_id='Customer pristine', ), - sorting=shared.SearchSorting.TRIGGER_DATE_ASC, - status=shared.WorkflowStatus.STARTED, + sorting=shared.SearchSorting.TRIGGER_DATE_DESC, + status=shared.WorkflowStatus.CLOSED, ) res = s.workflows.search_executions(req) @@ -376,17 +376,17 @@ s = epilot.Epilot( ) req = shared.SearchStepsReq( - assigned_to=9719.45, - execution_name='voluptatibus', + assigned_to=7544.22, + execution_name='Manager Van', include_done_workflows=False, manually_created=False, pagination=shared.SearchPagination( - from_=8781.94, - size=4686.51, + from_=3481.37, + size=7799.84, ), sorting=shared.SearchSorting.DUE_DATE_DESC, - status=shared.SearchStepsReqStatus.NEXT_OPEN_ITEM_IN_WORKFLOW, - step_name='ipsa', + status=shared.SearchStepsReqStatus.COMPLETE, + step_name='enterprise', ) res = s.workflows.search_steps(req) @@ -426,34 +426,34 @@ s = epilot.Epilot( req = operations.UpdateExecutionRequest( workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( assigned_to=[ - 'omnis', + 'Toys', ], - closed_by='voluptate', - closing_reason_description='cum', - completed_time='perferendis', + closed_by='Buckinghamshire Virginia Implementation', + closing_reason_description='navigating Florida', + completed_time='female firewall Bedfordshire', contexts=[ shared.WorkflowContext( - id='074f1547-1b5e-46e1-bb99-d488e1e91e45', - schema='consequatur', - title='Miss', + id='', + schema='protocol Island', + title='Concrete Movies', ), ], - due_date='quibusdam', + due_date='Chief Games', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=6471.74, - step_id='distinctio', + action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, + number_of_units=3847, + step_id='Recycled Northwest', time_period=shared.DynamicDueDateTimePeriod.MONTHS, ), selected_closing_reasons=[ shared.ClosingReason( - id='44269802-d502-4a94-bb4f-63c969e9a3ef', - title='Miss', + id='', + title='navigating', ), ], - status=shared.WorkflowStatus.DONE, + status=shared.WorkflowStatus.CLOSED, ), - execution_id='in', + execution_id='Mexico olive', ) res = s.workflows.update_execution(req) @@ -493,36 +493,36 @@ s = epilot.Epilot( req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ - 'illum', + 'India', ], - assigned_to_in_progress='maiores', + assigned_to_in_progress='regularly Omaha Folding', automation_config=shared.AutomationConfig( - execution_id='rerum', - execution_status='dicta', - flow_id='magnam', + execution_id='TLS', + execution_status='Southeast Tesla Bespoke', + flow_id='um fuchsia accusamus', ), - completed_time='cumque', - due_date='facere', + completed_time='connecting', + due_date='obese', dynamic_due_date=shared.DynamicDueDate( action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=3965.06, - step_id='laborum', - time_period=shared.DynamicDueDateTimePeriod.MONTHS, + number_of_units=7680.12, + step_id='exist synthesize', + time_period=shared.DynamicDueDateTimePeriod.WEEKS, ), - entity_ref_id='non', - name='Jon Tillman', + entity_ref_id='Technician deposit', + name='Hybrid', position=shared.StepPositionAt( - index=5884.65, - section_id='nam', + index=7029.22, + section_id='SDD', ), - started_time='id', - status=shared.StepStatus.COMPLETED, + started_time='including if Vanadium', + status=shared.StepStatus.ASSIGNED, user_ids=[ - 5332.06, + 4499.44, ], ), - execution_id='sapiente', - step_id='amet', + execution_id='Park', + step_id='mobile Northwest Blues', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 39e761a2c..531a6060a 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -93,7 +93,6 @@ docs/models/shared/section.md docs/models/shared/itemtype.md docs/models/shared/step.md docs/models/shared/stepstatus.md -docs/models/shared/steprequirementcondition.md docs/models/shared/steprequirement.md docs/models/shared/steptype.md docs/models/shared/ecpdetails.md diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 99b02bf0b..e8897a056 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.91.2 - generationVersion: 2.131.1 + speakeasyVersion: 1.91.3 + generationVersion: 2.139.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.86.1 + core: 2.87.0 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.45.1 + version: 1.46.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc index ab6495dd6..2a6cf6912 100755 --- a/workflows_execution/pylintrc +++ b/workflows_execution/pylintrc @@ -116,12 +116,12 @@ argument-naming-style=snake_case #argument-rgx= # Naming style matching correct attribute names. -attr-naming-style=snake_case +#attr-naming-style=snake_case # Regular expression matching correct attribute names. Overrides attr-naming- # style. If left empty, attribute names will be checked with the set naming # style. -#attr-rgx= +attr-rgx=[^\W\d][^\W]*|__.*__$ # Bad variable names which should always be refused, separated by a comma. bad-names= diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 5bcd8557d..85e9d98e8 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.45.1", + version="1.46.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py index 2ba183cc5..034676e62 100755 --- a/workflows_execution/src/epilot/models/shared/__init__.py +++ b/workflows_execution/src/epilot/models/shared/__init__.py @@ -38,4 +38,4 @@ from .workflowexecutionupdatereq import * from .workflowstatus import * -__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] +__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index 34ee2498e..fa4e97f18 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -18,7 +18,7 @@ class CreateStepReq: automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - insertion_index: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex'), 'exclude': lambda f: f is None }}) + insertion_index: Optional[float] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('insertionIndex'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py index 475c6e8c2..134ec284f 100755 --- a/workflows_execution/src/epilot/models/shared/steppositionat.py +++ b/workflows_execution/src/epilot/models/shared/steppositionat.py @@ -11,7 +11,7 @@ @dataclasses.dataclass class StepPositionAt: - index: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index'), 'exclude': lambda f: f is None }}) + index: Optional[float] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index 4bd250861..b6e474618 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -4,11 +4,8 @@ import dataclasses from ..shared import itemtype as shared_itemtype from dataclasses_json import Undefined, dataclass_json -from enum import Enum from epilot import utils - -class StepRequirementCondition(str, Enum): - CLOSED = 'CLOSED' +from typing import Final @dataclass_json(undefined=Undefined.EXCLUDE) @@ -16,8 +13,8 @@ class StepRequirementCondition(str, Enum): @dataclasses.dataclass class StepRequirement: r"""describe the requirement for step enablement""" - condition: StepRequirementCondition = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + CONDITION: Final[str] = dataclasses.field(default='CLOSED', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index bed19304d..91252d345 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,8 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.45.1' - gen_version: str = '2.131.1' + sdk_version: str = '1.46.0' + gen_version: str = '2.139.1' + user_agent: str = 'speakeasy-sdk/python 1.46.0 2.139.1 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index b0aeb54de..4388f3b74 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -1,9 +1,9 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -import sys import base64 import json import re +import sys from dataclasses import Field, dataclass, fields, is_dataclass, make_dataclass from datetime import date, datetime from decimal import Decimal @@ -393,17 +393,22 @@ def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delim } -def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ +def serialize_request_body(request: dataclass, request_field_name: str, nullable: bool, optional: bool, serialization_method: str, encoder=None) -> Tuple[ str, any, any]: if request is None: - return None, None, None + if not nullable and optional: + return None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], - request) + request, encoder) request_val = getattr(request, request_field_name) + if request_val is None: + if not nullable and optional: + return None, None, None + request_fields: Tuple[Field, ...] = fields(request) request_metadata = None @@ -419,9 +424,9 @@ def serialize_request_body(request: dataclass, request_field_name: str, serializ request_val) -def serialize_content_type(field_name: str, media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: +def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, list[list[any]]]: if re.match(r'(application|text)\/.*?\+*json.*', media_type) is not None: - return media_type, marshal_json(request), None + return media_type, marshal_json(request, encoder), None if re.match(r'multipart\/.*', media_type) is not None: return serialize_multipart_form(media_type, request) if re.match(r'application\/x-www-form-urlencoded.*', media_type) is not None: @@ -678,7 +683,7 @@ def _serialize_header(explode: bool, obj: any) -> str: return '' -def unmarshal_json(data, typ): +def unmarshal_json(data, typ, decoder=None): unmarshal = make_dataclass('Unmarshal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) @@ -687,15 +692,19 @@ def unmarshal_json(data, typ): except AttributeError as attr_err: raise AttributeError( f'unable to unmarshal {data} as {typ}') from attr_err - return out.res + + return out.res if decoder is None else decoder(out.res) -def marshal_json(val): +def marshal_json(val, encoder=None): marshal = make_dataclass('Marshal', [('res', type(val))], bases=(DataClassJsonMixin,)) marshaller = marshal(res=val) json_dict = marshaller.to_dict() - return json.dumps(json_dict["res"]) + + val = json_dict["res"] if encoder is None else encoder(json_dict["res"]) + + return json.dumps(val) def match_content_type(content_type: str, pattern: str) -> boolean: @@ -769,6 +778,56 @@ def decimaldecoder(val): return Decimal(str(val)) +def map_encoder(optional: bool, value_encoder: Callable): + def map_encode(val: dict): + if optional and val is None: + return None + + encoded = {} + for key, value in val.items(): + encoded[key] = value_encoder(value) + + return encoded + + return map_encode + + +def map_decoder(value_decoder: Callable): + def map_decode(val: dict): + decoded = {} + for key, value in val.items(): + decoded[key] = value_decoder(value) + + return decoded + + return map_decode + + +def list_encoder(optional: bool, value_encoder: Callable): + def list_encode(val: list): + if optional and val is None: + return None + + encoded = [] + for value in val: + encoded.append(value_encoder(value)) + + return encoded + + return list_encode + + +def list_decoder(value_decoder: Callable): + def list_decode(val: list): + decoded = [] + for value in val: + decoded.append(value_decoder(value)) + + return decoded + + return list_decode + + def get_field_name(name): def override(_, _field_name=name): return _field_name diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index a5580f138..d544d692c 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -21,13 +21,13 @@ def create_execution(self, request: shared.WorkflowExecutionCreateReq) -> operat url = base_url + '/v1/workflows/executions' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -60,13 +60,13 @@ def create_step(self, request: operations.CreateStepRequest) -> operations.Creat url = utils.generate_url(operations.CreateStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "create_step_req", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "create_step_req", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -100,7 +100,7 @@ def delete_execution(self, request: operations.DeleteExecutionRequest) -> operat url = utils.generate_url(operations.DeleteExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -130,7 +130,7 @@ def delete_step(self, request: operations.DeleteStepRequest) -> operations.Delet url = utils.generate_url(operations.DeleteStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -162,7 +162,7 @@ def get_closing_reason_execution(self, request: operations.GetClosingReasonExecu url = utils.generate_url(operations.GetClosingReasonExecutionRequest, base_url, '/v1/workflows/executions/{executionId}/closing-reasons', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -196,7 +196,7 @@ def get_execution(self, request: operations.GetExecutionRequest) -> operations.G url = utils.generate_url(operations.GetExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -231,7 +231,7 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations headers = {} query_params = utils.get_query_params(operations.GetExecutionsRequest, request) headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -264,13 +264,13 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S url = base_url + '/v1/workflows/executions/search' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -303,13 +303,13 @@ def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchSteps url = base_url + '/v1/workflows/executions/steps/search' headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "request", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -342,13 +342,13 @@ def update_execution(self, request: operations.UpdateExecutionRequest) -> operat url = utils.generate_url(operations.UpdateExecutionRequest, base_url, '/v1/workflows/executions/{executionId}', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "workflow_execution_update_req", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "workflow_execution_update_req", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -377,13 +377,13 @@ def update_step(self, request: operations.UpdateStepRequest) -> operations.Updat url = utils.generate_url(operations.UpdateStepRequest, base_url, '/v1/workflows/executions/{executionId}/steps/{stepId}', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "update_step_req", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "update_step_req", False, False, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type if data is None and form is None: raise Exception('request body is required') headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client From c1746b02b07fcecf2e1811ec351c501e56682abd Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 1 Oct 2023 01:08:16 +0000 Subject: [PATCH 77/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.92.2 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index c0b422b21..6e302312a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -520,4 +520,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.46.0] workflows_execution \ No newline at end of file +- [python v1.46.0] workflows_execution + +## 2023-10-01 01:07:59 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index e8897a056..8039f6586 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.91.3 - generationVersion: 2.139.1 + speakeasyVersion: 1.92.2 + generationVersion: 2.142.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.87.0 + core: 2.88.0 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.46.0 + version: 1.47.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 85e9d98e8..d14961b7a 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.46.0", + version="1.47.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 91252d345..4e0f4a67d 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.46.0' - gen_version: str = '2.139.1' - user_agent: str = 'speakeasy-sdk/python 1.46.0 2.139.1 1.0.0 epilot-workflows-execution' + sdk_version: str = '1.47.0' + gen_version: str = '2.142.2' + user_agent: str = 'speakeasy-sdk/python 1.47.0 2.142.2 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 26d1ff2c65a2357f3c5a6fdbe4f125da58422149 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 2 Oct 2023 01:01:10 +0000 Subject: [PATCH 78/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.92.3 --- workflows_execution/RELEASES.md | 10 +++++++++- workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- workflows_execution/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 6e302312a..5ca07716b 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -528,4 +528,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.0] workflows_execution \ No newline at end of file +- [python v1.47.0] workflows_execution + +## 2023-10-02 01:00:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 8039f6586..95920ee3e 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.92.2 - generationVersion: 2.142.2 + speakeasyVersion: 1.92.3 + generationVersion: 2.143.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.0 + core: 2.88.1 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.47.0 + version: 1.47.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index d14961b7a..dbae93dd6 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.47.0", + version="1.47.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 4e0f4a67d..7e083af6a 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.47.0' - gen_version: str = '2.142.2' - user_agent: str = 'speakeasy-sdk/python 1.47.0 2.142.2 1.0.0 epilot-workflows-execution' + sdk_version: str = '1.47.1' + gen_version: str = '2.143.2' + user_agent: str = 'speakeasy-sdk/python 1.47.1 2.143.2 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From b4f8708ee14f1cae57b56001777f042cb030e172 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 5 Oct 2023 01:00:43 +0000 Subject: [PATCH 79/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.94.0 --- workflows_execution/RELEASES.md | 10 +++++++++- .../docs/models/shared/steprequirement.md | 10 +++++----- .../docs/models/shared/steprequirementcondition.md | 8 ++++++++ workflows_execution/files.gen | 1 + workflows_execution/gen.yaml | 8 ++++---- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/__init__.py | 2 +- .../src/epilot/models/shared/steprequirement.py | 7 +++++-- workflows_execution/src/epilot/sdkconfiguration.py | 6 +++--- 9 files changed, 37 insertions(+), 17 deletions(-) create mode 100755 workflows_execution/docs/models/shared/steprequirementcondition.md diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 5ca07716b..5b053a81a 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -536,4 +536,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.1] workflows_execution \ No newline at end of file +- [python v1.47.1] workflows_execution + +## 2023-10-05 01:00:27 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.2] workflows_execution \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirement.md b/workflows_execution/docs/models/shared/steprequirement.md index 005d05110..9006a54e3 100755 --- a/workflows_execution/docs/models/shared/steprequirement.md +++ b/workflows_execution/docs/models/shared/steprequirement.md @@ -5,8 +5,8 @@ describe the requirement for step enablement ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `condition` | *Optional[str]* | :heavy_check_mark: | N/A | -| `definition_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `condition` | [Optional[shared.StepRequirementCondition]](undefined/models/shared/steprequirementcondition.md) | :heavy_check_mark: | N/A | +| `definition_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirementcondition.md b/workflows_execution/docs/models/shared/steprequirementcondition.md new file mode 100755 index 000000000..c34adc7d8 --- /dev/null +++ b/workflows_execution/docs/models/shared/steprequirementcondition.md @@ -0,0 +1,8 @@ +# StepRequirementCondition + + +## Values + +| Name | Value | +| -------- | -------- | +| `CLOSED` | CLOSED | \ No newline at end of file diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 531a6060a..39e761a2c 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -93,6 +93,7 @@ docs/models/shared/section.md docs/models/shared/itemtype.md docs/models/shared/step.md docs/models/shared/stepstatus.md +docs/models/shared/steprequirementcondition.md docs/models/shared/steprequirement.md docs/models/shared/steptype.md docs/models/shared/ecpdetails.md diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 95920ee3e..36a6a8b38 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.92.3 - generationVersion: 2.143.2 + speakeasyVersion: 1.94.0 + generationVersion: 2.147.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.1 + core: 2.88.2 deprecations: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.47.1 + version: 1.47.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index dbae93dd6..1457ede42 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.47.1", + version="1.47.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py index 034676e62..2ba183cc5 100755 --- a/workflows_execution/src/epilot/models/shared/__init__.py +++ b/workflows_execution/src/epilot/models/shared/__init__.py @@ -38,4 +38,4 @@ from .workflowexecutionupdatereq import * from .workflowstatus import * -__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] +__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index b6e474618..4bd250861 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -4,8 +4,11 @@ import dataclasses from ..shared import itemtype as shared_itemtype from dataclasses_json import Undefined, dataclass_json +from enum import Enum from epilot import utils -from typing import Final + +class StepRequirementCondition(str, Enum): + CLOSED = 'CLOSED' @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,8 +16,8 @@ @dataclasses.dataclass class StepRequirement: r"""describe the requirement for step enablement""" + condition: StepRequirementCondition = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) definition_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - CONDITION: Final[str] = dataclasses.field(default='CLOSED', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('condition') }}) diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 7e083af6a..02e3a3642 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.47.1' - gen_version: str = '2.143.2' - user_agent: str = 'speakeasy-sdk/python 1.47.1 2.143.2 1.0.0 epilot-workflows-execution' + sdk_version: str = '1.47.2' + gen_version: str = '2.147.0' + user_agent: str = 'speakeasy-sdk/python 1.47.2 2.147.0 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 570fe5e4cd51f90d84e1f9b3c60803c8223dcbca Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 7 Oct 2023 00:59:40 +0000 Subject: [PATCH 80/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.96.1 --- workflows_execution/README.md | 3 +- workflows_execution/RELEASES.md | 10 ++- workflows_execution/USAGE.md | 3 +- .../docs/sdks/workflows/README.md | 86 ++++--------------- workflows_execution/gen.yaml | 11 +-- workflows_execution/setup.py | 2 +- .../src/epilot/models/__init__.py | 1 + workflows_execution/src/epilot/sdk.py | 8 +- .../src/epilot/sdkconfiguration.py | 6 +- 9 files changed, 46 insertions(+), 84 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index c6904a82d..907f7010c 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -31,8 +31,7 @@ req = shared.WorkflowExecutionCreateReq( title='teal 6th Bespoke', ), ], - trigger=shared.TriggerType.MANUAL, - workflow_id='CLI Cadillac', + workflow_id='connect', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 5b053a81a..9e0110226 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -544,4 +544,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.2] workflows_execution \ No newline at end of file +- [python v1.47.2] workflows_execution + +## 2023-10-07 00:59:23 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.48.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index e19bed789..e68db8e23 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -22,8 +22,7 @@ req = shared.WorkflowExecutionCreateReq( title='teal 6th Bespoke', ), ], - trigger=shared.TriggerType.MANUAL, - workflow_id='CLI Cadillac', + workflow_id='connect', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index b1b0a4f55..11dada167 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -46,8 +46,7 @@ req = shared.WorkflowExecutionCreateReq( title='teal 6th Bespoke', ), ], - trigger=shared.TriggerType.MANUAL, - workflow_id='CLI Cadillac', + workflow_id='connect', ) res = s.workflows.create_execution(req) @@ -87,17 +86,11 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - execution_id='Ferrari Cisgender', - execution_status='huzzah Northwest purple', - flow_id='Administrator', + flow_id='Ferrari Cisgender', ), - execution_type=shared.StepType.AUTOMATION, - insertion_index=9390.66, - name='hoarse', - section_id='visualize Metal', - status=shared.StepStatus.COMPLETED, + name='huzzah Northwest purple', ), - execution_id='Electronic orange regarding', + execution_id='Administrator', ) res = s.workflows.create_step(req) @@ -290,10 +283,7 @@ s = epilot.Epilot( ), ) -req = operations.GetExecutionsRequest( - context='Global capacitor East', - schema='sky', -) +req = operations.GetExecutionsRequest() res = s.workflows.get_executions(req) @@ -330,15 +320,7 @@ s = epilot.Epilot( ) req = shared.SearchExecutionsReq( - assigned_to='plum', - include_done_workflows=False, - name='SUV', - pagination=shared.ExecutionPaginationDynamo( - creation_time='Androgynous Beauty Soft', - org_id='Customer pristine', - ), - sorting=shared.SearchSorting.TRIGGER_DATE_DESC, - status=shared.WorkflowStatus.CLOSED, + pagination=shared.ExecutionPaginationDynamo(), ) res = s.workflows.search_executions(req) @@ -376,17 +358,7 @@ s = epilot.Epilot( ) req = shared.SearchStepsReq( - assigned_to=7544.22, - execution_name='Manager Van', - include_done_workflows=False, - manually_created=False, - pagination=shared.SearchPagination( - from_=3481.37, - size=7799.84, - ), - sorting=shared.SearchSorting.DUE_DATE_DESC, - status=shared.SearchStepsReqStatus.COMPLETE, - step_name='enterprise', + pagination=shared.SearchPagination(), ) res = s.workflows.search_steps(req) @@ -428,32 +400,25 @@ req = operations.UpdateExecutionRequest( assigned_to=[ 'Toys', ], - closed_by='Buckinghamshire Virginia Implementation', - closing_reason_description='navigating Florida', - completed_time='female firewall Bedfordshire', contexts=[ shared.WorkflowContext( id='', - schema='protocol Island', - title='Concrete Movies', + schema='Buckinghamshire Virginia Implementation', + title='navigating Florida', ), ], - due_date='Chief Games', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.STEP_CLOSED, - number_of_units=3847, - step_id='Recycled Northwest', + number_of_units=7681.17, time_period=shared.DynamicDueDateTimePeriod.MONTHS, ), selected_closing_reasons=[ shared.ClosingReason( id='', - title='navigating', + title='firewall', ), ], - status=shared.WorkflowStatus.CLOSED, ), - execution_id='Mexico olive', + execution_id='maroon', ) res = s.workflows.update_execution(req) @@ -495,34 +460,21 @@ req = operations.UpdateStepRequest( assigned_to=[ 'India', ], - assigned_to_in_progress='regularly Omaha Folding', automation_config=shared.AutomationConfig( - execution_id='TLS', - execution_status='Southeast Tesla Bespoke', - flow_id='um fuchsia accusamus', + flow_id='regularly Omaha Folding', ), - completed_time='connecting', - due_date='obese', dynamic_due_date=shared.DynamicDueDate( - action_type_condition=shared.DynamicDueDateActionTypeCondition.WORKFLOW_STARTED, - number_of_units=7680.12, - step_id='exist synthesize', + number_of_units=1968.04, time_period=shared.DynamicDueDateTimePeriod.WEEKS, ), - entity_ref_id='Technician deposit', - name='Hybrid', - position=shared.StepPositionAt( - index=7029.22, - section_id='SDD', - ), - started_time='including if Vanadium', - status=shared.StepStatus.ASSIGNED, + entity_ref_id='yellow transmitter fairly', + position=shared.StepPositionAt(), user_ids=[ - 4499.44, + 5550.61, ], ), - execution_id='Park', - step_id='mobile Northwest Blues', + execution_id='um fuchsia accusamus', + step_id='connecting', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 36a6a8b38..7dc6527de 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,21 +2,22 @@ configVersion: 1.0.0 management: docChecksum: 81d3b6de60d7686bb0f4425d1890021f docVersion: 1.0.0 - speakeasyVersion: 1.94.0 - generationVersion: 2.147.0 + speakeasyVersion: 1.96.1 + generationVersion: 2.150.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.2 + core: 2.88.4 deprecations: 2.81.1 - globalSecurity: 2.81.1 + globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.47.2 + version: 1.48.0 author: epilot description: Python Client SDK for Epilot + flattenGlobalSecurity: false maxMethodParams: 0 packageName: epilot-workflows-execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 1457ede42..1fabe46bf 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.47.2", + version="1.48.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/__init__.py b/workflows_execution/src/epilot/models/__init__.py index 889f8adcf..36628d6cc 100755 --- a/workflows_execution/src/epilot/models/__init__.py +++ b/workflows_execution/src/epilot/models/__init__.py @@ -1,2 +1,3 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +# __init__.py diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 04159a992..0871a3188 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -14,7 +14,7 @@ class Epilot: sdk_configuration: SDKConfiguration def __init__(self, - security: shared.Security = None, + bearer_auth: str, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, @@ -23,8 +23,8 @@ def __init__(self, ) -> None: """Instantiates the SDK configuring it with the provided parameters. - :param security: The security details required for authentication - :type security: shared.Security + :param bearer_auth: The bearer_auth required for authentication + :type bearer_auth: str :param server_idx: The index of the server to use for all operations :type server_idx: int :param server_url: The server URL to use for all operations @@ -39,8 +39,10 @@ def __init__(self, if client is None: client = requests_http.Session() + security_client = utils.configure_security_client(client, security) + if server_url is not None: if url_params is not None: server_url = utils.template_url(server_url, url_params) diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 02e3a3642..784f1b818 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.47.2' - gen_version: str = '2.147.0' - user_agent: str = 'speakeasy-sdk/python 1.47.2 2.147.0 1.0.0 epilot-workflows-execution' + sdk_version: str = '1.48.0' + gen_version: str = '2.150.0' + user_agent: str = 'speakeasy-sdk/python 1.48.0 2.150.0 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From b3aa7e544f59dab5874b6eeb2f449106f453492d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 11 Oct 2023 01:00:13 +0000 Subject: [PATCH 81/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.97.1 --- workflows_execution/README.md | 2 +- workflows_execution/RELEASES.md | 10 +++- .../docs/models/shared/step.md | 50 ++++++++--------- .../docs/models/shared/stepextended.md | 56 +++++++++---------- .../docs/models/shared/stepid.md | 8 +-- .../docs/models/shared/stepsimplified.md | 22 ++++---- .../docs/models/shared/updatestepreq.md | 3 +- .../docs/sdks/workflows/README.md | 13 +++-- workflows_execution/gen.yaml | 8 +-- workflows_execution/setup.py | 2 +- .../src/epilot/models/shared/step.py | 6 +- .../src/epilot/models/shared/stepextended.py | 6 +- .../src/epilot/models/shared/stepid.py | 4 ++ .../epilot/models/shared/stepsimplified.py | 6 +- .../src/epilot/models/shared/updatestepreq.py | 7 ++- workflows_execution/src/epilot/sdk.py | 6 +- .../src/epilot/sdkconfiguration.py | 6 +- workflows_execution/src/epilot/workflows.py | 2 + 18 files changed, 125 insertions(+), 92 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 907f7010c..352fb1398 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -55,7 +55,7 @@ if res.workflow_execution is not None: * [get_execution](docs/sdks/workflows/README.md#get_execution) - getExecution * [get_executions](docs/sdks/workflows/README.md#get_executions) - getExecutions * [search_executions](docs/sdks/workflows/README.md#search_executions) - searchExecutions -* [search_steps](docs/sdks/workflows/README.md#search_steps) - searchSteps +* [~~search_steps~~](docs/sdks/workflows/README.md#search_steps) - searchSteps :warning: **Deprecated** * [update_execution](docs/sdks/workflows/README.md#update_execution) - updateExecution * [update_step](docs/sdks/workflows/README.md#update_step) - updateStep diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 9e0110226..2cf70f309 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -552,4 +552,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.48.0] workflows_execution \ No newline at end of file +- [python v1.48.0] workflows_execution + +## 2023-10-11 00:59:56 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.97.1 (2.152.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.48.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 849f2061f..12a23a921 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -3,28 +3,28 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | +| `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index 762acb6f1..f02c93ad2 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -3,31 +3,31 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | -| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | +| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `created` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | +| ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | +| `execution_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepid.md b/workflows_execution/docs/models/shared/stepid.md index fb5ff618a..27e78872a 100755 --- a/workflows_execution/docs/models/shared/stepid.md +++ b/workflows_execution/docs/models/shared/stepid.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `entity_ref_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md index 4828700f7..e3bca5167 100755 --- a/workflows_execution/docs/models/shared/stepsimplified.md +++ b/workflows_execution/docs/models/shared/stepsimplified.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | -| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | +| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `name` | *Optional[str]* | :heavy_check_mark: | N/A | +| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index 9b4a6a7c8..ed1a39310 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -11,9 +11,10 @@ | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | | `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `entity_ref_id` | *Optional[str]* | :heavy_check_mark: | N/A | +| ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use stepId | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | `position` | [Optional[shared.StepPositionAt]](undefined/models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index 11dada167..2e7d01b92 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -15,7 +15,7 @@ Interact with workflow executions - start / close / retrieve one or all / search * [get_execution](#get_execution) - getExecution * [get_executions](#get_executions) - getExecutions * [search_executions](#search_executions) - searchExecutions -* [search_steps](#search_steps) - searchSteps +* [~~search_steps~~](#search_steps) - searchSteps :warning: **Deprecated** * [update_execution](#update_execution) - updateExecution * [update_step](#update_step) - updateStep @@ -341,10 +341,12 @@ if res.search_executions_resp is not None: **[operations.SearchExecutionsResponse](../../models/operations/searchexecutionsresponse.md)** -## search_steps +## ~~search_steps~~ Search workflow execution steps by different filters. +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ### Example Usage ```python @@ -467,14 +469,13 @@ req = operations.UpdateStepRequest( number_of_units=1968.04, time_period=shared.DynamicDueDateTimePeriod.WEEKS, ), - entity_ref_id='yellow transmitter fairly', position=shared.StepPositionAt(), user_ids=[ - 5550.61, + 8505.4, ], ), - execution_id='um fuchsia accusamus', - step_id='connecting', + execution_id='Southeast Tesla Bespoke', + step_id='um fuchsia accusamus', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 7dc6527de..f9e809e8a 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 81d3b6de60d7686bb0f4425d1890021f + docChecksum: e637b2c8c0c6b9dfb5326fcb9a2f88a8 docVersion: 1.0.0 - speakeasyVersion: 1.96.1 - generationVersion: 2.150.0 + speakeasyVersion: 1.97.1 + generationVersion: 2.152.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -15,7 +15,7 @@ features: globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.48.0 + version: 1.48.1 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 1fabe46bf..9b704bc80 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.48.0", + version="1.48.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index d54e7c29d..faa125f7b 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -18,7 +18,6 @@ @dataclasses.dataclass class Step: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) @@ -37,6 +36,11 @@ class Step: r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""enabled flag results from calculating the requirements""" + entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) + r"""This field is deprecated. It will be soon removed. Please use only id. + + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + """ execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index de0910961..0b6ef40d4 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -20,7 +20,6 @@ @dataclasses.dataclass class StepExtended: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) execution_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionName') }}) execution_status: shared_workflowstatus.WorkflowStatus = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionStatus') }}) @@ -43,6 +42,11 @@ class StepExtended: r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) r"""enabled flag results from calculating the requirements""" + entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) + r"""This field is deprecated. It will be soon removed. Please use only id. + + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + """ execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py index 21bf36d76..621c8918d 100755 --- a/workflows_execution/src/epilot/models/shared/stepid.py +++ b/workflows_execution/src/epilot/models/shared/stepid.py @@ -12,6 +12,10 @@ @dataclasses.dataclass class StepID: entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) + r"""This field is deprecated. It will be soon removed. Please use only id. + + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + """ id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py index 410667617..36a69bf3a 100755 --- a/workflows_execution/src/epilot/models/shared/stepsimplified.py +++ b/workflows_execution/src/epilot/models/shared/stepsimplified.py @@ -15,7 +15,6 @@ @dataclasses.dataclass class StepSimplified: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) @@ -23,6 +22,11 @@ class StepSimplified: ecp: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ecp'), 'exclude': lambda f: f is None }}) r"""Details regarding ECP for the workflow step""" enabled: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enabled'), 'exclude': lambda f: f is None }}) + entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) + r"""This field is deprecated. It will be soon removed. Please use only id. + + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + """ execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index dedc29088..d5c7149d9 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -15,7 +15,6 @@ @dataclasses.dataclass class UpdateStepReq: - entity_ref_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId') }}) assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" @@ -25,10 +24,16 @@ class UpdateStepReq: due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) r"""set a Duedate for a step then a specific""" + entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) + r"""This field is deprecated. Please use stepId + + Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + """ name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) position: Optional[shared_steppositionat.StepPositionAt] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('position'), 'exclude': lambda f: f is None }}) started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) + step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index 0871a3188..e0f44acfc 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -14,7 +14,7 @@ class Epilot: sdk_configuration: SDKConfiguration def __init__(self, - bearer_auth: str, + security: shared.Security = None, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, @@ -23,8 +23,8 @@ def __init__(self, ) -> None: """Instantiates the SDK configuring it with the provided parameters. - :param bearer_auth: The bearer_auth required for authentication - :type bearer_auth: str + :param security: The security details required for authentication + :type security: shared.Security :param server_idx: The index of the server to use for all operations :type server_idx: int :param server_url: The server URL to use for all operations diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 784f1b818..08ef0e033 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.48.0' - gen_version: str = '2.150.0' - user_agent: str = 'speakeasy-sdk/python 1.48.0 2.150.0 1.0.0 epilot-workflows-execution' + sdk_version: str = '1.48.1' + gen_version: str = '2.152.1' + user_agent: str = 'speakeasy-sdk/python 1.48.1 2.152.1 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index d544d692c..8a6846ece 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -298,6 +298,8 @@ def search_executions(self, request: shared.SearchExecutionsReq) -> operations.S def search_steps(self, request: shared.SearchStepsReq) -> operations.SearchStepsResponse: r"""searchSteps Search workflow execution steps by different filters. + + Deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. """ base_url = utils.template_url(*self.sdk_configuration.get_server_details()) From 9521963cfa5ad114fa5c43f13e863f7404c073c4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 13 Oct 2023 01:02:15 +0000 Subject: [PATCH 82/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.99.1 --- workflows_execution/README.md | 1 + workflows_execution/RELEASES.md | 10 +++- workflows_execution/USAGE.md | 1 + .../operations/createexecutionresponse.md | 8 ++-- .../models/operations/createsteprequest.md | 8 ++-- .../models/operations/createstepresponse.md | 8 ++-- .../operations/deleteexecutionrequest.md | 2 +- .../operations/deleteexecutionresponse.md | 6 +-- .../models/operations/deletesteprequest.md | 4 +- .../models/operations/deletestepresponse.md | 6 +-- .../getclosingreasonexecutionrequest.md | 2 +- .../getclosingreasonexecutionresponse.md | 8 ++-- .../models/operations/getexecutionrequest.md | 2 +- .../models/operations/getexecutionresponse.md | 8 ++-- .../operations/getexecutionsresponse.md | 14 +++--- .../operations/searchexecutionsresponse.md | 14 +++--- .../models/operations/searchstepsresponse.md | 8 ++-- .../operations/updateexecutionrequest.md | 8 ++-- .../operations/updateexecutionresponse.md | 6 +-- .../models/operations/updatesteprequest.md | 10 ++-- .../models/operations/updatestepresponse.md | 8 ++-- .../docs/models/shared/automationconfig.md | 2 +- .../docs/models/shared/closingreason.md | 4 +- .../docs/models/shared/closingreasonresp.md | 6 +-- .../docs/models/shared/createstepreq.md | 16 +++---- .../docs/models/shared/dynamicduedate.md | 12 ++--- .../docs/models/shared/searchexecutionsreq.md | 16 +++---- .../models/shared/searchexecutionsresp.md | 8 ++-- .../docs/models/shared/searchstepsreq.md | 20 ++++---- .../docs/models/shared/searchstepsresp.md | 8 ++-- .../docs/models/shared/section.md | 10 ++-- .../docs/models/shared/sectionsimplified.md | 14 +++--- .../docs/models/shared/security.md | 2 +- .../docs/models/shared/step.md | 18 +++---- .../docs/models/shared/stepextended.md | 26 +++++----- .../docs/models/shared/steprequirement.md | 10 ++-- .../docs/models/shared/stepsimplified.md | 12 ++--- .../models/shared/updateentityattributes.md | 8 ++-- .../shared/updateentityattributestarget.md | 4 +- .../docs/models/shared/updatestepreq.md | 8 ++-- .../docs/models/shared/workflowcontext.md | 6 +-- .../docs/models/shared/workflowexecution.md | 18 +++---- .../shared/workflowexecutioncreatereq.md | 12 ++--- .../models/shared/workflowexecutionslim.md | 48 +++++++++---------- .../shared/workflowexecutionupdatereq.md | 8 ++-- .../docs/sdks/workflows/README.md | 11 +++++ workflows_execution/gen.yaml | 8 ++-- workflows_execution/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 6 +-- 49 files changed, 243 insertions(+), 222 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index 352fb1398..f8b1af154 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -38,6 +38,7 @@ res = s.workflows.create_execution(req) if res.workflow_execution is not None: # handle response + pass ``` diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 2cf70f309..b3b547615 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -560,4 +560,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.97.1 (2.152.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.48.1] workflows_execution \ No newline at end of file +- [python v1.48.1] workflows_execution + +## 2023-10-13 01:01:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.99.1 (2.154.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.48.2] workflows_execution \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index e68db8e23..95673a88c 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -29,5 +29,6 @@ res = s.workflows.create_execution(req) if res.workflow_execution is not None: # handle response + pass ``` \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createexecutionresponse.md b/workflows_execution/docs/models/operations/createexecutionresponse.md index bf9d495ef..0f8214911 100755 --- a/workflows_execution/docs/models/operations/createexecutionresponse.md +++ b/workflows_execution/docs/models/operations/createexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution` | [Optional[shared.WorkflowExecution]](undefined/models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - if the execution is created successfully | \ No newline at end of file +| `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - if the execution is created successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createsteprequest.md b/workflows_execution/docs/models/operations/createsteprequest.md index 353512b9f..000e6db96 100755 --- a/workflows_execution/docs/models/operations/createsteprequest.md +++ b/workflows_execution/docs/models/operations/createsteprequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `create_step_req` | [Optional[shared.CreateStepReq]](undefined/models/shared/createstepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `create_step_req` | [shared.CreateStepReq](../../models/shared/createstepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/createstepresponse.md b/workflows_execution/docs/models/operations/createstepresponse.md index 5355541ab..fadabf76a 100755 --- a/workflows_execution/docs/models/operations/createstepresponse.md +++ b/workflows_execution/docs/models/operations/createstepresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `step` | [Optional[shared.Step]](undefined/models/shared/step.md) | :heavy_minus_sign: | Success - if the step is created with success | \ No newline at end of file +| `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is created with success | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionrequest.md b/workflows_execution/docs/models/operations/deleteexecutionrequest.md index 0ab766f3e..d634c0546 100755 --- a/workflows_execution/docs/models/operations/deleteexecutionrequest.md +++ b/workflows_execution/docs/models/operations/deleteexecutionrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution to de deleted. | \ No newline at end of file +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution to de deleted. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deleteexecutionresponse.md b/workflows_execution/docs/models/operations/deleteexecutionresponse.md index d6607e1b3..c23839e9b 100755 --- a/workflows_execution/docs/models/operations/deleteexecutionresponse.md +++ b/workflows_execution/docs/models/operations/deleteexecutionresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Failed to authenticate | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Failed to authenticate | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletesteprequest.md b/workflows_execution/docs/models/operations/deletesteprequest.md index b13b7140b..27d21b658 100755 --- a/workflows_execution/docs/models/operations/deletesteprequest.md +++ b/workflows_execution/docs/models/operations/deletesteprequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | -| `step_id` | *Optional[str]* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | +| `step_id` | *str* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/deletestepresponse.md b/workflows_execution/docs/models/operations/deletestepresponse.md index bdfa960b2..0934c481d 100755 --- a/workflows_execution/docs/models/operations/deletestepresponse.md +++ b/workflows_execution/docs/models/operations/deletestepresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md index d85288eff..b15a5a046 100755 --- a/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md index 8d9d200f4..d911d4349 100755 --- a/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md +++ b/workflows_execution/docs/models/operations/getclosingreasonexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `closing_reason_resp` | [Optional[shared.ClosingReasonResp]](undefined/models/shared/closingreasonresp.md) | :heavy_minus_sign: | returns all Closing Reasons for this Execution | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Internal Issues | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `closing_reason_resp` | [Optional[shared.ClosingReasonResp]](../../models/shared/closingreasonresp.md) | :heavy_minus_sign: | returns all Closing Reasons for this Execution | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Internal Issues | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionrequest.md b/workflows_execution/docs/models/operations/getexecutionrequest.md index 265f9a5ae..3250d15a4 100755 --- a/workflows_execution/docs/models/operations/getexecutionrequest.md +++ b/workflows_execution/docs/models/operations/getexecutionrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionresponse.md b/workflows_execution/docs/models/operations/getexecutionresponse.md index 5a480a90b..e6a1f321c 100755 --- a/workflows_execution/docs/models/operations/getexecutionresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution` | [Optional[shared.WorkflowExecution]](undefined/models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - execution loaded with success. Empty response execution was not found. | \ No newline at end of file +| `workflow_execution` | [Optional[shared.WorkflowExecution]](../../models/shared/workflowexecution.md) | :heavy_minus_sign: | Success - execution loaded with success. Empty response execution was not found. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md index abf63cf5e..fffc027d8 100755 --- a/workflows_execution/docs/models/operations/getexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](undefined/models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchexecutionsresponse.md b/workflows_execution/docs/models/operations/searchexecutionsresponse.md index ba377e5da..290a76350 100755 --- a/workflows_execution/docs/models/operations/searchexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/searchexecutionsresponse.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `search_executions_resp` | [Optional[shared.SearchExecutionsResp]](undefined/models/shared/searchexecutionsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `search_executions_resp` | [Optional[shared.SearchExecutionsResp]](../../models/shared/searchexecutionsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/searchstepsresponse.md b/workflows_execution/docs/models/operations/searchstepsresponse.md index ce5d18b59..7d1044ed4 100755 --- a/workflows_execution/docs/models/operations/searchstepsresponse.md +++ b/workflows_execution/docs/models/operations/searchstepsresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `search_steps_resp` | [Optional[shared.SearchStepsResp]](undefined/models/shared/searchstepsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `search_steps_resp` | [Optional[shared.SearchStepsResp]](../../models/shared/searchstepsresp.md) | :heavy_minus_sign: | Success - filtered steps are returned | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionrequest.md b/workflows_execution/docs/models/operations/updateexecutionrequest.md index 669f9ceb5..708cc9d0c 100755 --- a/workflows_execution/docs/models/operations/updateexecutionrequest.md +++ b/workflows_execution/docs/models/operations/updateexecutionrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `workflow_execution_update_req` | [Optional[shared.WorkflowExecutionUpdateReq]](undefined/models/shared/workflowexecutionupdatereq.md) | :heavy_check_mark: | Patch Updates for Workflow Execution payload. | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `workflow_execution_update_req` | [shared.WorkflowExecutionUpdateReq](../../models/shared/workflowexecutionupdatereq.md) | :heavy_check_mark: | Patch Updates for Workflow Execution payload. | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updateexecutionresponse.md b/workflows_execution/docs/models/operations/updateexecutionresponse.md index 1422b6d2f..b592d1272 100755 --- a/workflows_execution/docs/models/operations/updateexecutionresponse.md +++ b/workflows_execution/docs/models/operations/updateexecutionresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatesteprequest.md b/workflows_execution/docs/models/operations/updatesteprequest.md index 4bbdf817a..dce266d7d 100755 --- a/workflows_execution/docs/models/operations/updatesteprequest.md +++ b/workflows_execution/docs/models/operations/updatesteprequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `update_step_req` | [Optional[shared.UpdateStepReq]](undefined/models/shared/updatestepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | Id of the execution | -| `step_id` | *Optional[str]* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `update_step_req` | [shared.UpdateStepReq](../../models/shared/updatestepreq.md) | :heavy_check_mark: | Workflow Execution Step payload | +| `execution_id` | *str* | :heavy_check_mark: | Id of the execution | +| `step_id` | *str* | :heavy_check_mark: | Short uuid (length 6) to identify the Workflow Execution Step. | \ No newline at end of file diff --git a/workflows_execution/docs/models/operations/updatestepresponse.md b/workflows_execution/docs/models/operations/updatestepresponse.md index b222d203d..87148acbb 100755 --- a/workflows_execution/docs/models/operations/updatestepresponse.md +++ b/workflows_execution/docs/models/operations/updatestepresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `error_resp` | [Optional[shared.ErrorResp]](undefined/models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Validation Errors | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `step` | [Optional[shared.Step]](undefined/models/shared/step.md) | :heavy_minus_sign: | Success - if the step is updated successfully | \ No newline at end of file +| `step` | [Optional[shared.Step]](../../models/shared/step.md) | :heavy_minus_sign: | Success - if the step is updated successfully | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/automationconfig.md b/workflows_execution/docs/models/shared/automationconfig.md index 2bf8d6e12..54a5b2e0c 100755 --- a/workflows_execution/docs/models/shared/automationconfig.md +++ b/workflows_execution/docs/models/shared/automationconfig.md @@ -9,4 +9,4 @@ Configuration for automation execution to run | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `execution_id` | *Optional[str]* | :heavy_minus_sign: | Id of the automation execution which ran | | `execution_status` | *Optional[str]* | :heavy_minus_sign: | Status of Automation Execution. Types can be found in Automation API | -| `flow_id` | *Optional[str]* | :heavy_check_mark: | Id of the configured automation to run | \ No newline at end of file +| `flow_id` | *str* | :heavy_check_mark: | Id of the configured automation to run | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreason.md b/workflows_execution/docs/models/shared/closingreason.md index b2e41a943..16265534e 100755 --- a/workflows_execution/docs/models/shared/closingreason.md +++ b/workflows_execution/docs/models/shared/closingreason.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `title` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | +| `title` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md index f6c0cb38e..212eb603e 100755 --- a/workflows_execution/docs/models/shared/closingreasonresp.md +++ b/workflows_execution/docs/models/shared/closingreasonresp.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/createstepreq.md b/workflows_execution/docs/models/shared/createstepreq.md index b78bfcb0c..211014c86 100755 --- a/workflows_execution/docs/models/shared/createstepreq.md +++ b/workflows_execution/docs/models/shared/createstepreq.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `insertion_index` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `insertion_index` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/dynamicduedate.md b/workflows_execution/docs/models/shared/dynamicduedate.md index a027af7ff..6c21dbf98 100755 --- a/workflows_execution/docs/models/shared/dynamicduedate.md +++ b/workflows_execution/docs/models/shared/dynamicduedate.md @@ -5,9 +5,9 @@ set a Duedate for a step then a specific ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `action_type_condition` | [Optional[shared.DynamicDueDateActionTypeCondition]](undefined/models/shared/dynamicduedateactiontypecondition.md) | :heavy_minus_sign: | N/A | -| `number_of_units` | *Optional[float]* | :heavy_check_mark: | N/A | -| `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `time_period` | [Optional[shared.DynamicDueDateTimePeriod]](undefined/models/shared/dynamicduedatetimeperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `action_type_condition` | [Optional[DynamicDueDateActionTypeCondition]](../../models/shared/dynamicduedateactiontypecondition.md) | :heavy_minus_sign: | N/A | +| `number_of_units` | *float* | :heavy_check_mark: | N/A | +| `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `time_period` | [DynamicDueDateTimePeriod](../../models/shared/dynamicduedatetimeperiod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsreq.md b/workflows_execution/docs/models/shared/searchexecutionsreq.md index 055ed3e0c..d6196fa75 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsreq.md +++ b/workflows_execution/docs/models/shared/searchexecutionsreq.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `assigned_to` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `pagination` | [Optional[shared.ExecutionPaginationDynamo]](undefined/models/shared/executionpaginationdynamo.md) | :heavy_minus_sign: | N/A | -| `sorting` | [Optional[shared.SearchSorting]](undefined/models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `assigned_to` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `pagination` | [Optional[ExecutionPaginationDynamo]](../../models/shared/executionpaginationdynamo.md) | :heavy_minus_sign: | N/A | +| `sorting` | [Optional[SearchSorting]](../../models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md index cdc8d41b7..57b1c081c 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsresp.md +++ b/workflows_execution/docs/models/shared/searchexecutionsresp.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `executions` | list[[shared.WorkflowExecutionSlim](undefined/models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | -| `last_evaluated_key` | [Optional[shared.LastEvaluatedKey]](undefined/models/shared/lastevaluatedkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `executions` | list[[WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | +| `last_evaluated_key` | [Optional[LastEvaluatedKey]](../../models/shared/lastevaluatedkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsreq.md b/workflows_execution/docs/models/shared/searchstepsreq.md index 0f6984af1..795934b29 100755 --- a/workflows_execution/docs/models/shared/searchstepsreq.md +++ b/workflows_execution/docs/models/shared/searchstepsreq.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `assigned_to` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `execution_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `pagination` | [Optional[shared.SearchPagination]](undefined/models/shared/searchpagination.md) | :heavy_minus_sign: | N/A | -| `sorting` | [Optional[shared.SearchSorting]](undefined/models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.SearchStepsReqStatus]](undefined/models/shared/searchstepsreqstatus.md) | :heavy_minus_sign: | N/A | -| `step_name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `assigned_to` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `execution_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `include_done_workflows` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `pagination` | [Optional[SearchPagination]](../../models/shared/searchpagination.md) | :heavy_minus_sign: | N/A | +| `sorting` | [Optional[SearchSorting]](../../models/shared/searchsorting.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[SearchStepsReqStatus]](../../models/shared/searchstepsreqstatus.md) | :heavy_minus_sign: | N/A | +| `step_name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md index c608d34cb..a7765ab4d 100755 --- a/workflows_execution/docs/models/shared/searchstepsresp.md +++ b/workflows_execution/docs/models/shared/searchstepsresp.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `hits` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | -| `results` | list[[shared.StepExtended](undefined/models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `hits` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | +| `results` | list[[StepExtended](../../models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md index d825c1d3a..ea3bbc9ee 100755 --- a/workflows_execution/docs/models/shared/section.md +++ b/workflows_execution/docs/models/shared/section.md @@ -10,10 +10,10 @@ A group of Steps that define the progress of the Workflow | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | | -| `name` | *Optional[str]* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `status` | [Optional[shared.SectionStatus]](undefined/models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | -| `steps` | list[[shared.Step](undefined/models/shared/step.md)] | :heavy_check_mark: | N/A | | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | | +| `status` | [Optional[SectionStatus]](../../models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | +| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/sectionsimplified.md b/workflows_execution/docs/models/shared/sectionsimplified.md index b0dbf56f2..cc616cc35 100755 --- a/workflows_execution/docs/models/shared/sectionsimplified.md +++ b/workflows_execution/docs/models/shared/sectionsimplified.md @@ -5,10 +5,10 @@ A group of Steps that define the progress of the Workflow ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | | -| `name` | *Optional[str]* | :heavy_check_mark: | Name for this Section | Lead Qualification | -| `steps` | list[[shared.StepSimplified](undefined/models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `id` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | +| `steps` | list[[StepSimplified](../../models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/security.md b/workflows_execution/docs/models/shared/security.md index dbc7d2ed6..83ee1f8f9 100755 --- a/workflows_execution/docs/models/shared/security.md +++ b/workflows_execution/docs/models/shared/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `bearer_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `bearer_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index 12a23a921..e7880b9ec 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -7,24 +7,24 @@ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | | ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | | `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | | `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | | `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index f02c93ad2..4741dcc7d 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -7,27 +7,27 @@ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | enabled flag results from calculating the requirements | | ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | -| `execution_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `execution_status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | +| `execution_id` | *str* | :heavy_check_mark: | N/A | +| `execution_name` | *str* | :heavy_check_mark: | N/A | +| `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | | `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | | `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/steprequirement.md b/workflows_execution/docs/models/shared/steprequirement.md index 9006a54e3..446f8cf98 100755 --- a/workflows_execution/docs/models/shared/steprequirement.md +++ b/workflows_execution/docs/models/shared/steprequirement.md @@ -5,8 +5,8 @@ describe the requirement for step enablement ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `condition` | [Optional[shared.StepRequirementCondition]](undefined/models/shared/steprequirementcondition.md) | :heavy_check_mark: | N/A | -| `definition_id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `condition` | [StepRequirementCondition](../../models/shared/steprequirementcondition.md) | :heavy_check_mark: | N/A | +| `definition_id` | *str* | :heavy_check_mark: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md index e3bca5167..e15d5ded7 100755 --- a/workflows_execution/docs/models/shared/stepsimplified.md +++ b/workflows_execution/docs/models/shared/stepsimplified.md @@ -6,11 +6,11 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `ecp` | [Optional[shared.ECPDetails]](undefined/models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `ecp` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | | `enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | -| `execution_type` | [Optional[shared.StepType]](undefined/models/shared/steptype.md) | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `name` | *Optional[str]* | :heavy_check_mark: | N/A | -| `requirements` | list[[shared.StepRequirement](undefined/models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | -| `type` | [Optional[shared.ItemType]](undefined/models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | +| `id` | *str* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributes.md b/workflows_execution/docs/models/shared/updateentityattributes.md index d2d19cd82..96c330966 100755 --- a/workflows_execution/docs/models/shared/updateentityattributes.md +++ b/workflows_execution/docs/models/shared/updateentityattributes.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `source` | [Optional[shared.UpdateEntityAttributesSource]](undefined/models/shared/updateentityattributessource.md) | :heavy_check_mark: | N/A | -| `target` | [Optional[shared.UpdateEntityAttributesTarget]](undefined/models/shared/updateentityattributestarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `source` | [UpdateEntityAttributesSource](../../models/shared/updateentityattributessource.md) | :heavy_check_mark: | N/A | +| `target` | [UpdateEntityAttributesTarget](../../models/shared/updateentityattributestarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updateentityattributestarget.md b/workflows_execution/docs/models/shared/updateentityattributestarget.md index 3ca57bafe..fa35f003c 100755 --- a/workflows_execution/docs/models/shared/updateentityattributestarget.md +++ b/workflows_execution/docs/models/shared/updateentityattributestarget.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `entity_attribute` | *Optional[str]* | :heavy_check_mark: | N/A | my_status | -| `entity_schema` | *Optional[str]* | :heavy_check_mark: | N/A | opportunity | \ No newline at end of file +| `entity_attribute` | *str* | :heavy_check_mark: | N/A | my_status | +| `entity_schema` | *str* | :heavy_check_mark: | N/A | opportunity | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index ed1a39310..1f460c421 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -7,14 +7,14 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | -| `automation_config` | [Optional[shared.AutomationConfig]](undefined/models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | +| `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use stepId | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `position` | [Optional[shared.StepPositionAt]](undefined/models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | +| `position` | [Optional[StepPositionAt]](../../models/shared/steppositionat.md) | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.StepStatus]](undefined/models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | +| `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowcontext.md b/workflows_execution/docs/models/shared/workflowcontext.md index 0c48b8c8c..ec9e38e44 100755 --- a/workflows_execution/docs/models/shared/workflowcontext.md +++ b/workflows_execution/docs/models/shared/workflowcontext.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *Optional[str]* | :heavy_check_mark: | N/A | -| `schema` | *Optional[str]* | :heavy_check_mark: | N/A | -| `title` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *str* | :heavy_check_mark: | N/A | +| `schema` | *str* | :heavy_check_mark: | N/A | +| `title` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md index f6b6929f2..5104b3f18 100755 --- a/workflows_execution/docs/models/shared/workflowexecution.md +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -8,22 +8,22 @@ | `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[[Union[shared.Section, shared.Step]](undefined/models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | +| `flow` | list[[Union[Section, Step]](../../models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | | `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `next_open_step` | [Optional[shared.StepID]](undefined/models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | | `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[shared.TriggerType]](undefined/models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[shared.UpdateEntityAttributes](undefined/models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | | `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md index 0e4f59471..e70f5cef6 100755 --- a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[shared.TriggerType]](undefined/models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `workflow_id` | *Optional[str]* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `workflow_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md index e5e684f64..295d71354 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionslim.md +++ b/workflows_execution/docs/models/shared/workflowexecutionslim.md @@ -3,27 +3,27 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | -| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[[Union[shared.SectionSimplified, shared.StepSimplified]](undefined/models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | -| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `next_open_step` | [Optional[shared.StepID]](undefined/models/shared/stepid.md) | :heavy_minus_sign: | N/A | -| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | -| `trigger` | [Optional[shared.TriggerType]](undefined/models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[shared.UpdateEntityAttributes](undefined/models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | -| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | +| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | +| `flow` | list[[Union[SectionSimplified, StepSimplified]](../../models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | +| `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | +| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | +| `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md index 91a3ab9ba..bae2668fd 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md @@ -9,8 +9,8 @@ | `closed_by` | *Optional[str]* | :heavy_minus_sign: | id of the user / partner user who is closing the workflow. For partner pass orgId_userId. | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `contexts` | list[[shared.WorkflowContext](undefined/models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `dynamic_due_date` | [Optional[shared.DynamicDueDate]](undefined/models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `selected_closing_reasons` | list[[shared.ClosingReason](undefined/models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.WorkflowStatus]](undefined/models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | +| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index 2e7d01b92..ee7f0dae8 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -53,6 +53,7 @@ res = s.workflows.create_execution(req) if res.workflow_execution is not None: # handle response + pass ``` ### Parameters @@ -97,6 +98,7 @@ res = s.workflows.create_step(req) if res.step is not None: # handle response + pass ``` ### Parameters @@ -135,6 +137,7 @@ res = s.workflows.delete_execution(req) if res.status_code == 200: # handle response + pass ``` ### Parameters @@ -174,6 +177,7 @@ res = s.workflows.delete_step(req) if res.status_code == 200: # handle response + pass ``` ### Parameters @@ -215,6 +219,7 @@ res = s.workflows.get_closing_reason_execution(req) if res.closing_reason_resp is not None: # handle response + pass ``` ### Parameters @@ -253,6 +258,7 @@ res = s.workflows.get_execution(req) if res.workflow_execution is not None: # handle response + pass ``` ### Parameters @@ -289,6 +295,7 @@ res = s.workflows.get_executions(req) if res.workflow_execution_slims is not None: # handle response + pass ``` ### Parameters @@ -327,6 +334,7 @@ res = s.workflows.search_executions(req) if res.search_executions_resp is not None: # handle response + pass ``` ### Parameters @@ -367,6 +375,7 @@ res = s.workflows.search_steps(req) if res.search_steps_resp is not None: # handle response + pass ``` ### Parameters @@ -427,6 +436,7 @@ res = s.workflows.update_execution(req) if res.status_code == 200: # handle response + pass ``` ### Parameters @@ -482,6 +492,7 @@ res = s.workflows.update_step(req) if res.step is not None: # handle response + pass ``` ### Parameters diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index f9e809e8a..c5fa5ccba 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,20 +2,20 @@ configVersion: 1.0.0 management: docChecksum: e637b2c8c0c6b9dfb5326fcb9a2f88a8 docVersion: 1.0.0 - speakeasyVersion: 1.97.1 - generationVersion: 2.152.1 + speakeasyVersion: 1.99.1 + generationVersion: 2.154.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.4 + core: 2.88.6 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.48.1 + version: 1.48.2 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 9b704bc80..259b1d0df 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.48.1", + version="1.48.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 08ef0e033..ef84b9c0d 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.48.1' - gen_version: str = '2.152.1' - user_agent: str = 'speakeasy-sdk/python 1.48.1 2.152.1 1.0.0 epilot-workflows-execution' + sdk_version: str = '1.48.2' + gen_version: str = '2.154.1' + user_agent: str = 'speakeasy-sdk/python 1.48.2 2.154.1 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From e76bbb7384118285756f61fe9a0d81dadf39fdb4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 18 Oct 2023 01:00:59 +0000 Subject: [PATCH 83/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.101.0 --- workflows_execution/README.md | 6 +- workflows_execution/RELEASES.md | 10 +- workflows_execution/USAGE.md | 6 +- .../operations/getexecutionsresponse.md | 2 +- .../docs/models/shared/closingreasonresp.md | 2 +- .../docs/models/shared/ecpdetails.md | 8 +- .../models/shared/searchexecutionsresp.md | 2 +- .../docs/models/shared/searchstepsresp.md | 2 +- .../docs/models/shared/section.md | 6 +- .../docs/models/shared/sectionsimplified.md | 2 +- .../docs/models/shared/step.md | 8 +- .../docs/models/shared/stepextended.md | 10 +- .../docs/models/shared/stepjourney.md | 10 ++ .../docs/models/shared/stepsimplified.md | 3 +- .../docs/models/shared/updatestepreq.md | 4 +- .../docs/models/shared/workflowexecution.md | 12 +- .../shared/workflowexecutioncreatereq.md | 4 +- .../models/shared/workflowexecutionslim.md | 12 +- .../shared/workflowexecutionupdatereq.md | 6 +- .../docs/sdks/workflows/README.md | 44 +++---- workflows_execution/files.gen | 6 +- workflows_execution/gen.yaml | 10 +- workflows_execution/pylintrc | 2 +- workflows_execution/setup.py | 26 ++-- .../models/operations/createexecution.py | 1 - .../epilot/models/operations/createstep.py | 2 - .../models/operations/deleteexecution.py | 2 - .../epilot/models/operations/deletestep.py | 2 - .../operations/getclosingreasonexecution.py | 2 - .../epilot/models/operations/getexecution.py | 2 - .../epilot/models/operations/getexecutions.py | 6 +- .../models/operations/searchexecutions.py | 1 - .../epilot/models/operations/searchsteps.py | 1 - .../models/operations/updateexecution.py | 2 - .../epilot/models/operations/updatestep.py | 2 - .../src/epilot/models/shared/__init__.py | 3 +- .../epilot/models/shared/automationconfig.py | 1 - .../src/epilot/models/shared/closingreason.py | 1 - .../epilot/models/shared/closingreasonresp.py | 5 +- .../src/epilot/models/shared/createstepreq.py | 1 - .../epilot/models/shared/dynamicduedate.py | 1 - .../src/epilot/models/shared/ecpdetails.py | 4 +- .../src/epilot/models/shared/errorresp.py | 1 - .../shared/executionpaginationdynamo.py | 1 - .../epilot/models/shared/lastevaluatedkey.py | 1 - .../models/shared/searchexecutionsreq.py | 1 - .../models/shared/searchexecutionsresp.py | 5 +- .../epilot/models/shared/searchpagination.py | 1 - .../epilot/models/shared/searchstepsreq.py | 1 - .../epilot/models/shared/searchstepsresp.py | 5 +- .../src/epilot/models/shared/section.py | 9 +- .../epilot/models/shared/sectionsimplified.py | 5 +- .../src/epilot/models/shared/security.py | 1 - .../src/epilot/models/shared/step.py | 13 +- .../src/epilot/models/shared/stepextended.py | 15 ++- .../src/epilot/models/shared/stepid.py | 1 - .../src/epilot/models/shared/stepjourney.py | 17 +++ .../epilot/models/shared/steppositionat.py | 1 - .../epilot/models/shared/steprequirement.py | 1 - .../epilot/models/shared/stepsimplified.py | 7 +- .../models/shared/updateentityattributes.py | 2 - .../src/epilot/models/shared/updatestepreq.py | 7 +- .../epilot/models/shared/workflowcontext.py | 1 - .../epilot/models/shared/workflowexecution.py | 16 ++- .../shared/workflowexecutioncreatereq.py | 7 +- .../models/shared/workflowexecutionslim.py | 16 ++- .../shared/workflowexecutionupdatereq.py | 9 +- workflows_execution/src/epilot/sdk.py | 5 +- .../src/epilot/sdkconfiguration.py | 13 +- .../src/epilot/utils/retries.py | 5 +- workflows_execution/src/epilot/utils/utils.py | 117 ++++++++++-------- workflows_execution/src/epilot/workflows.py | 4 +- 72 files changed, 272 insertions(+), 258 deletions(-) create mode 100755 workflows_execution/docs/models/shared/stepjourney.md create mode 100755 workflows_execution/src/epilot/models/shared/stepjourney.py diff --git a/workflows_execution/README.md b/workflows_execution/README.md index f8b1af154..bd140062e 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -27,11 +27,11 @@ req = shared.WorkflowExecutionCreateReq( contexts=[ shared.WorkflowContext( id='', - schema='Strontium', - title='teal 6th Bespoke', + schema='Shoes', + title='schemas', ), ], - workflow_id='connect', + workflow_id='teal', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index b3b547615..07f386172 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -568,4 +568,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.99.1 (2.154.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.48.2] workflows_execution \ No newline at end of file +- [python v1.48.2] workflows_execution + +## 2023-10-18 01:00:42 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.0.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 95673a88c..3aeb08c54 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -18,11 +18,11 @@ req = shared.WorkflowExecutionCreateReq( contexts=[ shared.WorkflowContext( id='', - schema='Strontium', - title='teal 6th Bespoke', + schema='Shoes', + title='schemas', ), ], - workflow_id='connect', + workflow_id='teal', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/docs/models/operations/getexecutionsresponse.md b/workflows_execution/docs/models/operations/getexecutionsresponse.md index fffc027d8..b41b2a9fe 100755 --- a/workflows_execution/docs/models/operations/getexecutionsresponse.md +++ b/workflows_execution/docs/models/operations/getexecutionsresponse.md @@ -9,4 +9,4 @@ | `error_resp` | [Optional[shared.ErrorResp]](../../models/shared/errorresp.md) | :heavy_minus_sign: | Other errors | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `workflow_execution_slims` | list[[shared.WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file +| `workflow_execution_slims` | List[[shared.WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_minus_sign: | Success - executions loaded with success. Empty array if org has no executions. | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/closingreasonresp.md b/workflows_execution/docs/models/shared/closingreasonresp.md index 212eb603e..6eaa7be13 100755 --- a/workflows_execution/docs/models/shared/closingreasonresp.md +++ b/workflows_execution/docs/models/shared/closingreasonresp.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `reasons` | List[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/ecpdetails.md b/workflows_execution/docs/models/shared/ecpdetails.md index 6febd5a06..ca1cbf782 100755 --- a/workflows_execution/docs/models/shared/ecpdetails.md +++ b/workflows_execution/docs/models/shared/ecpdetails.md @@ -5,6 +5,8 @@ Details regarding ECP for the workflow step ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `label` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `journey` | [Optional[StepJourney]](../../models/shared/stepjourney.md) | :heavy_minus_sign: | N/A | +| `label` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchexecutionsresp.md b/workflows_execution/docs/models/shared/searchexecutionsresp.md index 57b1c081c..483b4bac9 100755 --- a/workflows_execution/docs/models/shared/searchexecutionsresp.md +++ b/workflows_execution/docs/models/shared/searchexecutionsresp.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `executions` | list[[WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | +| `executions` | List[[WorkflowExecutionSlim](../../models/shared/workflowexecutionslim.md)] | :heavy_check_mark: | N/A | | `last_evaluated_key` | [Optional[LastEvaluatedKey]](../../models/shared/lastevaluatedkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/searchstepsresp.md b/workflows_execution/docs/models/shared/searchstepsresp.md index a7765ab4d..9c2a65557 100755 --- a/workflows_execution/docs/models/shared/searchstepsresp.md +++ b/workflows_execution/docs/models/shared/searchstepsresp.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | | `hits` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | -| `results` | list[[StepExtended](../../models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `results` | List[[StepExtended](../../models/shared/stepextended.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/section.md b/workflows_execution/docs/models/shared/section.md index ea3bbc9ee..b10d5179e 100755 --- a/workflows_execution/docs/models/shared/section.md +++ b/workflows_execution/docs/models/shared/section.md @@ -7,13 +7,13 @@ A group of Steps that define the progress of the Workflow | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `id` | *str* | :heavy_check_mark: | N/A | | | `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `status` | [Optional[SectionStatus]](../../models/shared/sectionstatus.md) | :heavy_minus_sign: | N/A | | -| `steps` | list[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | +| `steps` | List[[Step](../../models/shared/step.md)] | :heavy_check_mark: | N/A | | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file +| ~~`user_ids`~~ | List[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/sectionsimplified.md b/workflows_execution/docs/models/shared/sectionsimplified.md index cc616cc35..b811bf334 100755 --- a/workflows_execution/docs/models/shared/sectionsimplified.md +++ b/workflows_execution/docs/models/shared/sectionsimplified.md @@ -10,5 +10,5 @@ A group of Steps that define the progress of the Workflow | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `id` | *str* | :heavy_check_mark: | N/A | | | `name` | *str* | :heavy_check_mark: | Name for this Section | Lead Qualification | -| `steps` | list[[StepSimplified](../../models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | +| `steps` | List[[StepSimplified](../../models/shared/stepsimplified.md)] | :heavy_check_mark: | N/A | | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/step.md b/workflows_execution/docs/models/shared/step.md index e7880b9ec..769b4b790 100755 --- a/workflows_execution/docs/models/shared/step.md +++ b/workflows_execution/docs/models/shared/step.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | @@ -19,12 +19,14 @@ | `execution_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | +| `installer` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `journey` | [Optional[StepJourney]](../../models/shared/stepjourney.md) | :heavy_minus_sign: | N/A | | `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | | `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `requirements` | List[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| ~~`user_ids`~~ | List[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepextended.md b/workflows_execution/docs/models/shared/stepextended.md index 4741dcc7d..57dac6b1c 100755 --- a/workflows_execution/docs/models/shared/stepextended.md +++ b/workflows_execution/docs/models/shared/stepextended.md @@ -5,11 +5,11 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `contexts` | List[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `created` | *Optional[str]* | :heavy_minus_sign: | N/A | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | @@ -22,12 +22,14 @@ | `execution_status` | [WorkflowStatus](../../models/shared/workflowstatus.md) | :heavy_check_mark: | N/A | | `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | +| `installer` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | +| `journey` | [Optional[StepJourney]](../../models/shared/stepjourney.md) | :heavy_minus_sign: | N/A | | `last_updated` | *Optional[str]* | :heavy_minus_sign: | N/A | | `manually_created` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `requirements` | List[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `section_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| ~~`user_ids`~~ | List[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepjourney.md b/workflows_execution/docs/models/shared/stepjourney.md new file mode 100755 index 000000000..03111fed3 --- /dev/null +++ b/workflows_execution/docs/models/shared/stepjourney.md @@ -0,0 +1,10 @@ +# StepJourney + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `journey_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/stepsimplified.md b/workflows_execution/docs/models/shared/stepsimplified.md index e15d5ded7..08ed23047 100755 --- a/workflows_execution/docs/models/shared/stepsimplified.md +++ b/workflows_execution/docs/models/shared/stepsimplified.md @@ -11,6 +11,7 @@ | ~~`entity_ref_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. It will be soon removed. Please use only id. | | `execution_type` | [Optional[StepType]](../../models/shared/steptype.md) | :heavy_minus_sign: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | +| `installer` | [Optional[ECPDetails]](../../models/shared/ecpdetails.md) | :heavy_minus_sign: | Details regarding ECP for the workflow step | | `name` | *str* | :heavy_check_mark: | N/A | -| `requirements` | list[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | +| `requirements` | List[[StepRequirement](../../models/shared/steprequirement.md)] | :heavy_minus_sign: | N/A | | `type` | [ItemType](../../models/shared/itemtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/updatestepreq.md b/workflows_execution/docs/models/shared/updatestepreq.md index 1f460c421..dcd81d069 100755 --- a/workflows_execution/docs/models/shared/updatestepreq.md +++ b/workflows_execution/docs/models/shared/updatestepreq.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | `assigned_to_in_progress` | *Optional[str]* | :heavy_minus_sign: | The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task | | `automation_config` | [Optional[AutomationConfig]](../../models/shared/automationconfig.md) | :heavy_minus_sign: | Configuration for automation execution to run | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | N/A | @@ -17,4 +17,4 @@ | `started_time` | *Optional[str]* | :heavy_minus_sign: | N/A | | `status` | [Optional[StepStatus]](../../models/shared/stepstatus.md) | :heavy_minus_sign: | N/A | | `step_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| ~~`user_ids`~~ | list[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file +| ~~`user_ids`~~ | List[*float*] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use assignedTo | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecution.md b/workflows_execution/docs/models/shared/workflowexecution.md index 5104b3f18..1fcb1acc4 100755 --- a/workflows_execution/docs/models/shared/workflowexecution.md +++ b/workflows_execution/docs/models/shared/workflowexecution.md @@ -5,25 +5,25 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `configured_closing_reason_snapshot` | List[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | List[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[[Union[Section, Step]](../../models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | +| `flow` | List[[Union[Section, Step]](../../models/shared/workflowexecutionflow.md)] | :heavy_check_mark: | N/A | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | | `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | | `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | List[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | | `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | | `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | List[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | | `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md index e70f5cef6..0676325fb 100755 --- a/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutioncreatereq.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | +| `contexts` | List[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | | `workflow_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionslim.md b/workflows_execution/docs/models/shared/workflowexecutionslim.md index 295d71354..8bf9d2854 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionslim.md +++ b/workflows_execution/docs/models/shared/workflowexecutionslim.md @@ -5,25 +5,25 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `configured_closing_reason_snapshot` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `configured_closing_reason_snapshot` | List[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `contexts` | List[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `creation_time` | *Optional[str]* | :heavy_minus_sign: | Creation timestamp which will double as started time as well | | `definition_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | Due date for finishing the workflow | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | | `enable_ecp_workflow` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether this workflow is available for End Customer Portal or not. By default it's not. | -| `flow` | list[[Union[SectionSimplified, StepSimplified]](../../models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | +| `flow` | List[[Union[SectionSimplified, StepSimplified]](../../models/shared/workflowexecutionslimflow.md)] | :heavy_check_mark: | N/A | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | `last_modified_by` | *Optional[str]* | :heavy_minus_sign: | Id of the user who closed workflow | | `last_update_time` | *Optional[str]* | :heavy_minus_sign: | Last Update timestamp | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | `next_open_step` | [Optional[StepID]](../../models/shared/stepid.md) | :heavy_minus_sign: | N/A | | `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | List[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | | `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | | `trigger` | [Optional[TriggerType]](../../models/shared/triggertype.md) | :heavy_minus_sign: | N/A | -| `update_entity_attributes` | list[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | +| `update_entity_attributes` | List[[UpdateEntityAttributes](../../models/shared/updateentityattributes.md)] | :heavy_minus_sign: | N/A | | `version` | *Optional[int]* | :heavy_minus_sign: | Version of the workflow execution | \ No newline at end of file diff --git a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md index bae2668fd..494cbe4e6 100755 --- a/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md +++ b/workflows_execution/docs/models/shared/workflowexecutionupdatereq.md @@ -5,12 +5,12 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `assigned_to` | list[*str*] | :heavy_minus_sign: | N/A | +| `assigned_to` | List[*str*] | :heavy_minus_sign: | N/A | | `closed_by` | *Optional[str]* | :heavy_minus_sign: | id of the user / partner user who is closing the workflow. For partner pass orgId_userId. | | `closing_reason_description` | *Optional[str]* | :heavy_minus_sign: | N/A | | `completed_time` | *Optional[str]* | :heavy_minus_sign: | Completed time of the workflow execution | -| `contexts` | list[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | +| `contexts` | List[[WorkflowContext](../../models/shared/workflowcontext.md)] | :heavy_minus_sign: | N/A | | `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | | `dynamic_due_date` | [Optional[DynamicDueDate]](../../models/shared/dynamicduedate.md) | :heavy_minus_sign: | set a Duedate for a step then a specific | -| `selected_closing_reasons` | list[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | +| `selected_closing_reasons` | List[[ClosingReason](../../models/shared/closingreason.md)] | :heavy_minus_sign: | N/A | | `status` | [Optional[WorkflowStatus]](../../models/shared/workflowstatus.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index ee7f0dae8..ea04f5696 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -42,11 +42,11 @@ req = shared.WorkflowExecutionCreateReq( contexts=[ shared.WorkflowContext( id='', - schema='Strontium', - title='teal 6th Bespoke', + schema='Shoes', + title='schemas', ), ], - workflow_id='connect', + workflow_id='teal', ) res = s.workflows.create_execution(req) @@ -87,11 +87,11 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - flow_id='Ferrari Cisgender', + flow_id='deposit', ), - name='huzzah Northwest purple', + name='Mazda', ), - execution_id='Administrator', + execution_id='Transexual', ) res = s.workflows.create_step(req) @@ -130,7 +130,7 @@ s = epilot.Epilot( ) req = operations.DeleteExecutionRequest( - execution_id='wangle', + execution_id='Industrial', ) res = s.workflows.delete_execution(req) @@ -169,8 +169,8 @@ s = epilot.Epilot( ) req = operations.DeleteStepRequest( - execution_id='Hat Hybrid', - step_id='transmitter Moore Gasoline', + execution_id='Gender', + step_id='Hat', ) res = s.workflows.delete_step(req) @@ -212,7 +212,7 @@ s = epilot.Epilot( ) req = operations.GetClosingReasonExecutionRequest( - execution_id='navigate Hybrid', + execution_id='generate', ) res = s.workflows.get_closing_reason_execution(req) @@ -251,7 +251,7 @@ s = epilot.Epilot( ) req = operations.GetExecutionRequest( - execution_id='Account Classical', + execution_id='Genderflux', ) res = s.workflows.get_execution(req) @@ -414,22 +414,22 @@ req = operations.UpdateExecutionRequest( contexts=[ shared.WorkflowContext( id='', - schema='Buckinghamshire Virginia Implementation', - title='navigating Florida', + schema='boldly', + title='purple', ), ], dynamic_due_date=shared.DynamicDueDate( - number_of_units=7681.17, + number_of_units=9427.59, time_period=shared.DynamicDueDateTimePeriod.MONTHS, ), selected_closing_reasons=[ shared.ClosingReason( id='', - title='firewall', + title='Implementation', ), ], ), - execution_id='maroon', + execution_id='Loan', ) res = s.workflows.update_execution(req) @@ -473,19 +473,19 @@ req = operations.UpdateStepRequest( 'India', ], automation_config=shared.AutomationConfig( - flow_id='regularly Omaha Folding', + flow_id='sympathy', ), dynamic_due_date=shared.DynamicDueDate( - number_of_units=1968.04, - time_period=shared.DynamicDueDateTimePeriod.WEEKS, + number_of_units=6596.78, + time_period=shared.DynamicDueDateTimePeriod.DAYS, ), position=shared.StepPositionAt(), user_ids=[ - 8505.4, + 6418.65, ], ), - execution_id='Southeast Tesla Bespoke', - step_id='um fuchsia accusamus', + execution_id='Folding', + step_id='Health', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/files.gen b/workflows_execution/files.gen index 39e761a2c..7deb89b71 100755 --- a/workflows_execution/files.gen +++ b/workflows_execution/files.gen @@ -32,8 +32,9 @@ src/epilot/models/shared/itemtype.py src/epilot/models/shared/step.py src/epilot/models/shared/stepstatus.py src/epilot/models/shared/steprequirement.py -src/epilot/models/shared/steptype.py +src/epilot/models/shared/stepjourney.py src/epilot/models/shared/ecpdetails.py +src/epilot/models/shared/steptype.py src/epilot/models/shared/dynamicduedate.py src/epilot/models/shared/automationconfig.py src/epilot/models/shared/sectionstatus.py @@ -95,8 +96,9 @@ docs/models/shared/step.md docs/models/shared/stepstatus.md docs/models/shared/steprequirementcondition.md docs/models/shared/steprequirement.md -docs/models/shared/steptype.md +docs/models/shared/stepjourney.md docs/models/shared/ecpdetails.md +docs/models/shared/steptype.md docs/models/shared/dynamicduedateactiontypecondition.md docs/models/shared/dynamicduedatetimeperiod.md docs/models/shared/dynamicduedate.md diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index c5fa5ccba..1d7bfccf3 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -1,21 +1,21 @@ configVersion: 1.0.0 management: - docChecksum: e637b2c8c0c6b9dfb5326fcb9a2f88a8 + docChecksum: 4111adf1684fd3890f128a4a6df2a55c docVersion: 1.0.0 - speakeasyVersion: 1.99.1 - generationVersion: 2.154.1 + speakeasyVersion: 1.101.0 + generationVersion: 2.161.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.6 + core: 3.0.2 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.48.2 + version: 2.0.0 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/workflows_execution/pylintrc b/workflows_execution/pylintrc index 2a6cf6912..1ed32214e 100755 --- a/workflows_execution/pylintrc +++ b/workflows_execution/pylintrc @@ -88,7 +88,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.8 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 259b1d0df..91f39f4f6 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,33 +10,31 @@ setuptools.setup( name="epilot-workflows-execution", - version="1.48.2", + version="2.0.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi>=2022.12.7", - "charset-normalizer>=2.1.1", + "certifi>=2023.7.22", + "charset-normalizer>=3.2.0", "dataclasses-json>=0.6.1", - "idna>=3.3", + "idna>=3.4", "jsonpath-python>=1.0.6 ", - "marshmallow>=3.17.1", - "marshmallow-enum>=1.5.1", - "mypy-extensions>=0.4.3", - "packaging>=21.3", - "pyparsing>=3.0.9", + "marshmallow>=3.19.0", + "mypy-extensions>=1.0.0", + "packaging>=23.1", "python-dateutil>=2.8.2", - "requests>=2.28.1", + "requests>=2.31.0", "six>=1.16.0", - "typing-inspect>=0.8.0", - "typing_extensions>=4.3.0", - "urllib3>=1.26.12", + "typing-inspect>=0.9.0", + "typing_extensions>=4.7.1", + "urllib3>=2.0.4", ], extras_require={ "dev":["pylint==2.16.2"] }, package_dir={'': 'src'}, - python_requires='>=3.9' + python_requires='>=3.8' ) diff --git a/workflows_execution/src/epilot/models/operations/createexecution.py b/workflows_execution/src/epilot/models/operations/createexecution.py index 2d344c523..af1becec4 100755 --- a/workflows_execution/src/epilot/models/operations/createexecution.py +++ b/workflows_execution/src/epilot/models/operations/createexecution.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class CreateExecutionResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/createstep.py b/workflows_execution/src/epilot/models/operations/createstep.py index ca0627eeb..8a83f4fb1 100755 --- a/workflows_execution/src/epilot/models/operations/createstep.py +++ b/workflows_execution/src/epilot/models/operations/createstep.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class CreateStepRequest: create_step_req: shared_createstepreq.CreateStepReq = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) @@ -20,7 +19,6 @@ class CreateStepRequest: - @dataclasses.dataclass class CreateStepResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/deleteexecution.py b/workflows_execution/src/epilot/models/operations/deleteexecution.py index c834e372b..592cc611f 100755 --- a/workflows_execution/src/epilot/models/operations/deleteexecution.py +++ b/workflows_execution/src/epilot/models/operations/deleteexecution.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class DeleteExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) @@ -16,7 +15,6 @@ class DeleteExecutionRequest: - @dataclasses.dataclass class DeleteExecutionResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/deletestep.py b/workflows_execution/src/epilot/models/operations/deletestep.py index f59cb46e4..8cced6d28 100755 --- a/workflows_execution/src/epilot/models/operations/deletestep.py +++ b/workflows_execution/src/epilot/models/operations/deletestep.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class DeleteStepRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) @@ -18,7 +17,6 @@ class DeleteStepRequest: - @dataclasses.dataclass class DeleteStepResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py index c29203bf0..d1b45a9ae 100755 --- a/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py +++ b/workflows_execution/src/epilot/models/operations/getclosingreasonexecution.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class GetClosingReasonExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) @@ -17,7 +16,6 @@ class GetClosingReasonExecutionRequest: - @dataclasses.dataclass class GetClosingReasonExecutionResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/getexecution.py b/workflows_execution/src/epilot/models/operations/getexecution.py index 743d0d661..ac545de17 100755 --- a/workflows_execution/src/epilot/models/operations/getexecution.py +++ b/workflows_execution/src/epilot/models/operations/getexecution.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class GetExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) @@ -17,7 +16,6 @@ class GetExecutionRequest: - @dataclasses.dataclass class GetExecutionResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/getexecutions.py b/workflows_execution/src/epilot/models/operations/getexecutions.py index a6b41c300..f07b2c350 100755 --- a/workflows_execution/src/epilot/models/operations/getexecutions.py +++ b/workflows_execution/src/epilot/models/operations/getexecutions.py @@ -5,8 +5,7 @@ import requests as requests_http from ..shared import errorresp as shared_errorresp from ..shared import workflowexecutionslim as shared_workflowexecutionslim -from typing import Optional - +from typing import List, Optional @dataclasses.dataclass @@ -19,7 +18,6 @@ class GetExecutionsRequest: - @dataclasses.dataclass class GetExecutionsResponse: content_type: str = dataclasses.field() @@ -30,7 +28,7 @@ class GetExecutionsResponse: r"""Other errors""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - workflow_execution_slims: Optional[list[shared_workflowexecutionslim.WorkflowExecutionSlim]] = dataclasses.field(default=None) + workflow_execution_slims: Optional[List[shared_workflowexecutionslim.WorkflowExecutionSlim]] = dataclasses.field(default=None) r"""Success - executions loaded with success. Empty array if org has no executions.""" diff --git a/workflows_execution/src/epilot/models/operations/searchexecutions.py b/workflows_execution/src/epilot/models/operations/searchexecutions.py index 903425e2d..ab72d1a50 100755 --- a/workflows_execution/src/epilot/models/operations/searchexecutions.py +++ b/workflows_execution/src/epilot/models/operations/searchexecutions.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class SearchExecutionsResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/searchsteps.py b/workflows_execution/src/epilot/models/operations/searchsteps.py index 2b412613b..42b28da0b 100755 --- a/workflows_execution/src/epilot/models/operations/searchsteps.py +++ b/workflows_execution/src/epilot/models/operations/searchsteps.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class SearchStepsResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/updateexecution.py b/workflows_execution/src/epilot/models/operations/updateexecution.py index 417170e05..d209a7c4d 100755 --- a/workflows_execution/src/epilot/models/operations/updateexecution.py +++ b/workflows_execution/src/epilot/models/operations/updateexecution.py @@ -8,7 +8,6 @@ from typing import Optional - @dataclasses.dataclass class UpdateExecutionRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) @@ -19,7 +18,6 @@ class UpdateExecutionRequest: - @dataclasses.dataclass class UpdateExecutionResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/operations/updatestep.py b/workflows_execution/src/epilot/models/operations/updatestep.py index eef303430..177fc0798 100755 --- a/workflows_execution/src/epilot/models/operations/updatestep.py +++ b/workflows_execution/src/epilot/models/operations/updatestep.py @@ -9,7 +9,6 @@ from typing import Optional - @dataclasses.dataclass class UpdateStepRequest: execution_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'executionId', 'style': 'simple', 'explode': False }}) @@ -22,7 +21,6 @@ class UpdateStepRequest: - @dataclasses.dataclass class UpdateStepResponse: content_type: str = dataclasses.field() diff --git a/workflows_execution/src/epilot/models/shared/__init__.py b/workflows_execution/src/epilot/models/shared/__init__.py index 2ba183cc5..d3941762d 100755 --- a/workflows_execution/src/epilot/models/shared/__init__.py +++ b/workflows_execution/src/epilot/models/shared/__init__.py @@ -23,6 +23,7 @@ from .step import * from .stepextended import * from .stepid import * +from .stepjourney import * from .steppositionat import * from .steprequirement import * from .stepsimplified import * @@ -38,4 +39,4 @@ from .workflowexecutionupdatereq import * from .workflowstatus import * -__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] +__all__ = ["AutomationConfig","ClosingReason","ClosingReasonResp","CreateStepReq","DynamicDueDate","DynamicDueDateActionTypeCondition","DynamicDueDateTimePeriod","ECPDetails","ErrorResp","ExecutionPaginationDynamo","ItemType","LastEvaluatedKey","SearchExecutionsReq","SearchExecutionsResp","SearchPagination","SearchSorting","SearchStepsReq","SearchStepsReqStatus","SearchStepsResp","Section","SectionSimplified","SectionStatus","Security","Step","StepExtended","StepID","StepJourney","StepPositionAt","StepRequirement","StepRequirementCondition","StepSimplified","StepStatus","StepType","TriggerType","UpdateEntityAttributes","UpdateEntityAttributesSource","UpdateEntityAttributesTarget","UpdateStepReq","WorkflowContext","WorkflowExecution","WorkflowExecutionCreateReq","WorkflowExecutionFlow","WorkflowExecutionSlim","WorkflowExecutionSlimFlow","WorkflowExecutionUpdateReq","WorkflowStatus"] diff --git a/workflows_execution/src/epilot/models/shared/automationconfig.py b/workflows_execution/src/epilot/models/shared/automationconfig.py index 2fd098178..cf22f1986 100755 --- a/workflows_execution/src/epilot/models/shared/automationconfig.py +++ b/workflows_execution/src/epilot/models/shared/automationconfig.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class AutomationConfig: r"""Configuration for automation execution to run""" diff --git a/workflows_execution/src/epilot/models/shared/closingreason.py b/workflows_execution/src/epilot/models/shared/closingreason.py index c05f785c0..18daa2488 100755 --- a/workflows_execution/src/epilot/models/shared/closingreason.py +++ b/workflows_execution/src/epilot/models/shared/closingreason.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ClosingReason: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) diff --git a/workflows_execution/src/epilot/models/shared/closingreasonresp.py b/workflows_execution/src/epilot/models/shared/closingreasonresp.py index 0bf61e1c1..ad672e4ce 100755 --- a/workflows_execution/src/epilot/models/shared/closingreasonresp.py +++ b/workflows_execution/src/epilot/models/shared/closingreasonresp.py @@ -5,13 +5,12 @@ from ..shared import closingreason as shared_closingreason from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ClosingReasonResp: - reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) + reasons: Optional[List[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reasons'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/createstepreq.py b/workflows_execution/src/epilot/models/shared/createstepreq.py index fa4e97f18..76fbf96b3 100755 --- a/workflows_execution/src/epilot/models/shared/createstepreq.py +++ b/workflows_execution/src/epilot/models/shared/createstepreq.py @@ -11,7 +11,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class CreateStepReq: name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) diff --git a/workflows_execution/src/epilot/models/shared/dynamicduedate.py b/workflows_execution/src/epilot/models/shared/dynamicduedate.py index 9fec09da4..18b82aee4 100755 --- a/workflows_execution/src/epilot/models/shared/dynamicduedate.py +++ b/workflows_execution/src/epilot/models/shared/dynamicduedate.py @@ -18,7 +18,6 @@ class DynamicDueDateTimePeriod(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class DynamicDueDate: r"""set a Duedate for a step then a specific""" diff --git a/workflows_execution/src/epilot/models/shared/ecpdetails.py b/workflows_execution/src/epilot/models/shared/ecpdetails.py index fe802e363..c9d7e69de 100755 --- a/workflows_execution/src/epilot/models/shared/ecpdetails.py +++ b/workflows_execution/src/epilot/models/shared/ecpdetails.py @@ -2,16 +2,18 @@ from __future__ import annotations import dataclasses +from ..shared import stepjourney as shared_stepjourney from dataclasses_json import Undefined, dataclass_json from epilot import utils from typing import Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ECPDetails: r"""Details regarding ECP for the workflow step""" + journey: Optional[shared_stepjourney.StepJourney] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey'), 'exclude': lambda f: f is None }}) label: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('label'), 'exclude': lambda f: f is None }}) + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/errorresp.py b/workflows_execution/src/epilot/models/shared/errorresp.py index 512a8c4a4..e728f6796 100755 --- a/workflows_execution/src/epilot/models/shared/errorresp.py +++ b/workflows_execution/src/epilot/models/shared/errorresp.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ErrorResp: message: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('message'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py index 580bdf97c..c37524765 100755 --- a/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py +++ b/workflows_execution/src/epilot/models/shared/executionpaginationdynamo.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class ExecutionPaginationDynamo: creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py index 84e152323..4c1fc16b7 100755 --- a/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py +++ b/workflows_execution/src/epilot/models/shared/lastevaluatedkey.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class LastEvaluatedKey: creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py index 0d9cbc0c2..4dd064006 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsreq.py @@ -11,7 +11,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SearchExecutionsReq: assigned_to: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py index 7a33a9c8b..a2fdaaf1a 100755 --- a/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchexecutionsresp.py @@ -6,14 +6,13 @@ from ..shared import workflowexecutionslim as shared_workflowexecutionslim from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SearchExecutionsResp: - executions: list[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) + executions: List[shared_workflowexecutionslim.WorkflowExecutionSlim] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executions') }}) last_evaluated_key: Optional[shared_lastevaluatedkey.LastEvaluatedKey] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastEvaluatedKey'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchpagination.py b/workflows_execution/src/epilot/models/shared/searchpagination.py index befdf20e2..28740aca6 100755 --- a/workflows_execution/src/epilot/models/shared/searchpagination.py +++ b/workflows_execution/src/epilot/models/shared/searchpagination.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SearchPagination: from_: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('from'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchstepsreq.py b/workflows_execution/src/epilot/models/shared/searchstepsreq.py index 91dca83db..32bf6bd12 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsreq.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsreq.py @@ -16,7 +16,6 @@ class SearchStepsReqStatus(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SearchStepsReq: assigned_to: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/searchstepsresp.py b/workflows_execution/src/epilot/models/shared/searchstepsresp.py index d948ad22d..5d65f6348 100755 --- a/workflows_execution/src/epilot/models/shared/searchstepsresp.py +++ b/workflows_execution/src/epilot/models/shared/searchstepsresp.py @@ -5,14 +5,13 @@ from ..shared import stepextended as shared_stepextended from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SearchStepsResp: hits: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('hits'), 'exclude': lambda f: f is None }}) - results: Optional[list[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) + results: Optional[List[shared_stepextended.StepExtended]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('results'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/section.py b/workflows_execution/src/epilot/models/shared/section.py index e3e2e2a41..e87c00d6a 100755 --- a/workflows_execution/src/epilot/models/shared/section.py +++ b/workflows_execution/src/epilot/models/shared/section.py @@ -7,25 +7,24 @@ from ..shared import step as shared_step from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Section: r"""A group of Steps that define the progress of the Workflow""" id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name for this Section""" - steps: list[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) + steps: List[shared_step.Step] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_sectionstatus.SectionStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) + user_ids: Optional[List[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. diff --git a/workflows_execution/src/epilot/models/shared/sectionsimplified.py b/workflows_execution/src/epilot/models/shared/sectionsimplified.py index b5a1d4923..34fdf5853 100755 --- a/workflows_execution/src/epilot/models/shared/sectionsimplified.py +++ b/workflows_execution/src/epilot/models/shared/sectionsimplified.py @@ -6,18 +6,17 @@ from ..shared import stepsimplified as shared_stepsimplified from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class SectionSimplified: r"""A group of Steps that define the progress of the Workflow""" id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name for this Section""" - steps: list[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) + steps: List[shared_stepsimplified.StepSimplified] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('steps') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/security.py b/workflows_execution/src/epilot/models/shared/security.py index b3eaf2ddc..6cd735f54 100755 --- a/workflows_execution/src/epilot/models/shared/security.py +++ b/workflows_execution/src/epilot/models/shared/security.py @@ -4,7 +4,6 @@ import dataclasses - @dataclasses.dataclass class Security: bearer_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) diff --git a/workflows_execution/src/epilot/models/shared/step.py b/workflows_execution/src/epilot/models/shared/step.py index faa125f7b..80686adc9 100755 --- a/workflows_execution/src/epilot/models/shared/step.py +++ b/workflows_execution/src/epilot/models/shared/step.py @@ -6,22 +6,22 @@ from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import ecpdetails as shared_ecpdetails from ..shared import itemtype as shared_itemtype +from ..shared import stepjourney as shared_stepjourney from ..shared import steprequirement as shared_steprequirement from ..shared import stepstatus as shared_stepstatus from ..shared import steptype as shared_steptype from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Step: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) @@ -43,13 +43,16 @@ class Step: """ execution_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId'), 'exclude': lambda f: f is None }}) execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + installer: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installer'), 'exclude': lambda f: f is None }}) + r"""Details regarding ECP for the workflow step""" + journey: Optional[shared_stepjourney.StepJourney] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey'), 'exclude': lambda f: f is None }}) last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + requirements: Optional[List[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) + user_ids: Optional[List[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. diff --git a/workflows_execution/src/epilot/models/shared/stepextended.py b/workflows_execution/src/epilot/models/shared/stepextended.py index 0b6ef40d4..d8745df3e 100755 --- a/workflows_execution/src/epilot/models/shared/stepextended.py +++ b/workflows_execution/src/epilot/models/shared/stepextended.py @@ -6,6 +6,7 @@ from ..shared import dynamicduedate as shared_dynamicduedate from ..shared import ecpdetails as shared_ecpdetails from ..shared import itemtype as shared_itemtype +from ..shared import stepjourney as shared_stepjourney from ..shared import steprequirement as shared_steprequirement from ..shared import stepstatus as shared_stepstatus from ..shared import steptype as shared_steptype @@ -13,11 +14,10 @@ from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class StepExtended: execution_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionId') }}) @@ -26,13 +26,13 @@ class StepExtended: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) type: shared_itemtype.ItemType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) r"""Configuration for automation execution to run""" completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + contexts: Optional[List[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }}) definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) @@ -48,13 +48,16 @@ class StepExtended: Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) + installer: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installer'), 'exclude': lambda f: f is None }}) + r"""Details regarding ECP for the workflow step""" + journey: Optional[shared_stepjourney.StepJourney] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journey'), 'exclude': lambda f: f is None }}) last_updated: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastUpdated'), 'exclude': lambda f: f is None }}) manually_created: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('manuallyCreated'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + requirements: Optional[List[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) section_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sectionId'), 'exclude': lambda f: f is None }}) started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) + user_ids: Optional[List[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. diff --git a/workflows_execution/src/epilot/models/shared/stepid.py b/workflows_execution/src/epilot/models/shared/stepid.py index 621c8918d..20e7f2df4 100755 --- a/workflows_execution/src/epilot/models/shared/stepid.py +++ b/workflows_execution/src/epilot/models/shared/stepid.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class StepID: entity_ref_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityRefId'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/stepjourney.py b/workflows_execution/src/epilot/models/shared/stepjourney.py new file mode 100755 index 000000000..59ce059f9 --- /dev/null +++ b/workflows_execution/src/epilot/models/shared/stepjourney.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from dataclasses_json import Undefined, dataclass_json +from epilot import utils +from typing import Optional + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class StepJourney: + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + journey_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('journeyId'), 'exclude': lambda f: f is None }}) + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + + diff --git a/workflows_execution/src/epilot/models/shared/steppositionat.py b/workflows_execution/src/epilot/models/shared/steppositionat.py index 134ec284f..8085f165b 100755 --- a/workflows_execution/src/epilot/models/shared/steppositionat.py +++ b/workflows_execution/src/epilot/models/shared/steppositionat.py @@ -8,7 +8,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class StepPositionAt: index: Optional[float] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('index'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/steprequirement.py b/workflows_execution/src/epilot/models/shared/steprequirement.py index 4bd250861..927cb11f0 100755 --- a/workflows_execution/src/epilot/models/shared/steprequirement.py +++ b/workflows_execution/src/epilot/models/shared/steprequirement.py @@ -12,7 +12,6 @@ class StepRequirementCondition(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class StepRequirement: r"""describe the requirement for step enablement""" diff --git a/workflows_execution/src/epilot/models/shared/stepsimplified.py b/workflows_execution/src/epilot/models/shared/stepsimplified.py index 36a69bf3a..67a1b01cb 100755 --- a/workflows_execution/src/epilot/models/shared/stepsimplified.py +++ b/workflows_execution/src/epilot/models/shared/stepsimplified.py @@ -8,11 +8,10 @@ from ..shared import steptype as shared_steptype from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class StepSimplified: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) @@ -28,6 +27,8 @@ class StepSimplified: Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. """ execution_type: Optional[shared_steptype.StepType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('executionType'), 'exclude': lambda f: f is None }}) - requirements: Optional[list[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) + installer: Optional[shared_ecpdetails.ECPDetails] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('installer'), 'exclude': lambda f: f is None }}) + r"""Details regarding ECP for the workflow step""" + requirements: Optional[List[shared_steprequirement.StepRequirement]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requirements'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/updateentityattributes.py b/workflows_execution/src/epilot/models/shared/updateentityattributes.py index 6f41a0047..a59d8edd8 100755 --- a/workflows_execution/src/epilot/models/shared/updateentityattributes.py +++ b/workflows_execution/src/epilot/models/shared/updateentityattributes.py @@ -13,7 +13,6 @@ class UpdateEntityAttributesSource(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateEntityAttributesTarget: entity_attribute: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('entityAttribute') }}) @@ -23,7 +22,6 @@ class UpdateEntityAttributesTarget: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateEntityAttributes: source: UpdateEntityAttributesSource = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('source') }}) diff --git a/workflows_execution/src/epilot/models/shared/updatestepreq.py b/workflows_execution/src/epilot/models/shared/updatestepreq.py index d5c7149d9..07c43ddc8 100755 --- a/workflows_execution/src/epilot/models/shared/updatestepreq.py +++ b/workflows_execution/src/epilot/models/shared/updatestepreq.py @@ -8,14 +8,13 @@ from ..shared import stepstatus as shared_stepstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class UpdateStepReq: - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) assigned_to_in_progress: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedToInProgress'), 'exclude': lambda f: f is None }}) r"""The user which moved the step/task to the IN_PROGRESS state. The user should also be present in the assignedTo property of the step/task""" automation_config: Optional[shared_automationconfig.AutomationConfig] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('automationConfig'), 'exclude': lambda f: f is None }}) @@ -34,7 +33,7 @@ class UpdateStepReq: started_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('startedTime'), 'exclude': lambda f: f is None }}) status: Optional[shared_stepstatus.StepStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) step_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stepId'), 'exclude': lambda f: f is None }}) - user_ids: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) + user_ids: Optional[List[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userIds'), 'exclude': lambda f: f is None }}) r"""This field is deprecated. Please use assignedTo Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. diff --git a/workflows_execution/src/epilot/models/shared/workflowcontext.py b/workflows_execution/src/epilot/models/shared/workflowcontext.py index 823fc1c18..cbbaf904a 100755 --- a/workflows_execution/src/epilot/models/shared/workflowcontext.py +++ b/workflows_execution/src/epilot/models/shared/workflowcontext.py @@ -7,7 +7,6 @@ @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WorkflowContext: id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) diff --git a/workflows_execution/src/epilot/models/shared/workflowexecution.py b/workflows_execution/src/epilot/models/shared/workflowexecution.py index 4516e3a5d..6ee860a4f 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecution.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecution.py @@ -13,8 +13,7 @@ from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional, Union - +from typing import List, Optional, Union @dataclasses.dataclass @@ -23,16 +22,15 @@ class WorkflowExecutionFlow: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WorkflowExecution: - flow: list[Union[shared_section.Section, shared_step.Step]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + flow: List[Union[shared_section.Section, shared_step.Step]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) r"""Completed time of the workflow execution""" - configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + configured_closing_reason_snapshot: Optional[List[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) + contexts: Optional[List[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) r"""Creation timestamp which will double as started time as well""" definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) @@ -50,10 +48,10 @@ class WorkflowExecution: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) + selected_closing_reasons: Optional[List[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) + update_entity_attributes: Optional[List[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) r"""Version of the workflow execution""" diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py index f369d61f6..5eb801300 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutioncreatereq.py @@ -6,16 +6,15 @@ from ..shared import workflowcontext as shared_workflowcontext from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WorkflowExecutionCreateReq: workflow_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workflowId') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + contexts: Optional[List[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py index 3646333d2..cc5fd95b7 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionslim.py @@ -13,8 +13,7 @@ from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional, Union - +from typing import List, Optional, Union @dataclasses.dataclass @@ -23,16 +22,15 @@ class WorkflowExecutionSlimFlow: @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WorkflowExecutionSlim: - flow: list[Union[shared_sectionsimplified.SectionSimplified, shared_stepsimplified.StepSimplified]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + flow: List[Union[shared_sectionsimplified.SectionSimplified, shared_stepsimplified.StepSimplified]] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('flow') }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) r"""Completed time of the workflow execution""" - configured_closing_reason_snapshot: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + configured_closing_reason_snapshot: Optional[List[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuredClosingReasonSnapshot'), 'exclude': lambda f: f is None }}) + contexts: Optional[List[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) creation_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('creationTime'), 'exclude': lambda f: f is None }}) r"""Creation timestamp which will double as started time as well""" definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) @@ -50,10 +48,10 @@ class WorkflowExecutionSlim: name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) next_open_step: Optional[shared_stepid.StepID] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('nextOpenStep'), 'exclude': lambda f: f is None }}) org_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('orgId'), 'exclude': lambda f: f is None }}) - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) + selected_closing_reasons: Optional[List[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) trigger: Optional[shared_triggertype.TriggerType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('trigger'), 'exclude': lambda f: f is None }}) - update_entity_attributes: Optional[list[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) + update_entity_attributes: Optional[List[shared_updateentityattributes.UpdateEntityAttributes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('updateEntityAttributes'), 'exclude': lambda f: f is None }}) version: Optional[int] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('version'), 'exclude': lambda f: f is None }}) r"""Version of the workflow execution""" diff --git a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py index c06f16898..4ee3e44fe 100755 --- a/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py +++ b/workflows_execution/src/epilot/models/shared/workflowexecutionupdatereq.py @@ -8,24 +8,23 @@ from ..shared import workflowstatus as shared_workflowstatus from dataclasses_json import Undefined, dataclass_json from epilot import utils -from typing import Optional +from typing import List, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class WorkflowExecutionUpdateReq: - assigned_to: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) + assigned_to: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignedTo'), 'exclude': lambda f: f is None }}) closed_by: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closedBy'), 'exclude': lambda f: f is None }}) r"""id of the user / partner user who is closing the workflow. For partner pass orgId_userId.""" closing_reason_description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('closingReasonDescription'), 'exclude': lambda f: f is None }}) completed_time: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('completedTime'), 'exclude': lambda f: f is None }}) r"""Completed time of the workflow execution""" - contexts: Optional[list[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) + contexts: Optional[List[shared_workflowcontext.WorkflowContext]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('contexts'), 'exclude': lambda f: f is None }}) due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }}) dynamic_due_date: Optional[shared_dynamicduedate.DynamicDueDate] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dynamicDueDate'), 'exclude': lambda f: f is None }}) r"""set a Duedate for a step then a specific""" - selected_closing_reasons: Optional[list[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) + selected_closing_reasons: Optional[List[shared_closingreason.ClosingReason]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('selectedClosingReasons'), 'exclude': lambda f: f is None }}) status: Optional[shared_workflowstatus.WorkflowStatus] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) diff --git a/workflows_execution/src/epilot/sdk.py b/workflows_execution/src/epilot/sdk.py index e0f44acfc..d7503c182 100755 --- a/workflows_execution/src/epilot/sdk.py +++ b/workflows_execution/src/epilot/sdk.py @@ -5,6 +5,7 @@ from .workflows import Workflows from epilot import utils from epilot.models import shared +from typing import Dict class Epilot: r"""Workflows Executions: Service for Workflow Executions which covers executions of processes defined in an Organization""" @@ -17,7 +18,7 @@ def __init__(self, security: shared.Security = None, server_idx: int = None, server_url: str = None, - url_params: dict[str, str] = None, + url_params: Dict[str, str] = None, client: requests_http.Session = None, retry_config: utils.RetryConfig = None ) -> None: @@ -30,7 +31,7 @@ def __init__(self, :param server_url: The server URL to use for all operations :type server_url: str :param url_params: Parameters to optionally template the server URL with - :type url_params: dict[str, str] + :type url_params: Dict[str, str] :param client: The requests.Session HTTP client to use for all operations :type client: requests_http.Session :param retry_config: The utils.RetryConfig to use globally diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index ef84b9c0d..1b67a2009 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -2,8 +2,9 @@ import requests from dataclasses import dataclass - +from typing import Dict, Tuple from .utils.retries import RetryConfig +from .utils import utils SERVERS = [ @@ -19,14 +20,14 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.48.2' - gen_version: str = '2.154.1' - user_agent: str = 'speakeasy-sdk/python 1.48.2 2.154.1 1.0.0 epilot-workflows-execution' + sdk_version: str = '2.0.0' + gen_version: str = '2.161.0' + user_agent: str = 'speakeasy-sdk/python 2.0.0 2.161.0 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None - def get_server_details(self) -> tuple[str, dict[str, str]]: + def get_server_details(self) -> Tuple[str, Dict[str, str]]: if self.server_url: - return self.server_url.removesuffix('/'), {} + return utils.remove_suffix(self.server_url, '/'), {} if self.server_idx is None: self.server_idx = 0 diff --git a/workflows_execution/src/epilot/utils/retries.py b/workflows_execution/src/epilot/utils/retries.py index 2138c1b5e..25f49a1f2 100755 --- a/workflows_execution/src/epilot/utils/retries.py +++ b/workflows_execution/src/epilot/utils/retries.py @@ -2,6 +2,7 @@ import random import time +from typing import List import requests @@ -32,9 +33,9 @@ def __init__(self, strategy: str, backoff: BackoffStrategy, retry_connection_err class Retries: config: RetryConfig - status_codes: list[str] + status_codes: List[str] - def __init__(self, config: RetryConfig, status_codes: list[str]): + def __init__(self, config: RetryConfig, status_codes: List[str]): self.config = config self.status_codes = status_codes diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index 4388f3b74..ccfad9f7a 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -9,7 +9,8 @@ from decimal import Decimal from email.message import Message from enum import Enum -from typing import Any, Callable, Optional, Tuple, Union, get_args, get_origin +from typing import (Any, Callable, Dict, List, Optional, Tuple, Union, + get_args, get_origin) from xmlrpc.client import boolean import dateutil.parser @@ -19,14 +20,14 @@ class SecurityClient: client: requests.Session - query_params: dict[str, str] = {} + query_params: Dict[str, str] = {} def __init__(self, client: requests.Session): self.client = client def request(self, method, url, **kwargs): params = kwargs.get('params', {}) - kwargs["params"] = self.query_params | params + kwargs["params"] = {**self.query_params, **params} return self.client.request(method, url, **kwargs) @@ -69,7 +70,7 @@ def _parse_security_option(client: SecurityClient, option: dataclass): client, metadata, getattr(option, opt_field.name)) -def _parse_security_scheme(client: SecurityClient, scheme_metadata: dict, scheme: any): +def _parse_security_scheme(client: SecurityClient, scheme_metadata: Dict, scheme: any): scheme_type = scheme_metadata.get('type') sub_type = scheme_metadata.get('sub_type') @@ -93,7 +94,7 @@ def _parse_security_scheme(client: SecurityClient, scheme_metadata: dict, scheme client, scheme_metadata, scheme_metadata, scheme) -def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, security_metadata: dict, value: any): +def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: Dict, security_metadata: Dict, value: any): scheme_type = scheme_metadata.get('type') sub_type = scheme_metadata.get('sub_type') @@ -145,7 +146,7 @@ def _parse_basic_auth_scheme(client: SecurityClient, scheme: dataclass): def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, - gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: + gbls: Dict[str, Dict[str, Dict[str, Any]]] = None) -> str: path_param_fields: Tuple[Field, ...] = fields(clazz) for field in path_param_fields: request_metadata = field.metadata.get('request') @@ -174,16 +175,16 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass '{' + key + '}', value, 1) else: if param_metadata.get('style', 'simple') == 'simple': - if isinstance(param, list): - pp_vals: list[str] = [] + if isinstance(param, List): + pp_vals: List[str] = [] for pp_val in param: if pp_val is None: continue pp_vals.append(_val_to_string(pp_val)) path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif isinstance(param, dict): - pp_vals: list[str] = [] + elif isinstance(param, Dict): + pp_vals: List[str] = [] for pp_key in param: if param[pp_key] is None: continue @@ -196,7 +197,7 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) elif not isinstance(param, (str, int, float, complex, bool, Decimal)): - pp_vals: list[str] = [] + pp_vals: List[str] = [] param_fields: Tuple[Field, ...] = fields(param) for param_field in param_fields: param_value_metadata = param_field.metadata.get( @@ -222,14 +223,14 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) - return server_url.removesuffix("/") + path + return remove_suffix(server_url, '/') + path def is_optional(field): return get_origin(field) is Union and type(None) in get_args(field) -def template_url(url_with_params: str, params: dict[str, str]) -> str: +def template_url(url_with_params: str, params: Dict[str, str]) -> str: for key, value in params.items(): url_with_params = url_with_params.replace( '{' + key + '}', value) @@ -237,9 +238,9 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: return url_with_params -def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ - str, list[str]]: - params: dict[str, list[str]] = {} +def get_query_params(clazz: type, query_params: dataclass, gbls: Dict[str, Dict[str, Dict[str, Any]]] = None) -> Dict[ + str, List[str]]: + params: Dict[str, List[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) for field in param_fields: @@ -269,24 +270,24 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ else: style = metadata.get('style', 'form') if style == 'deepObject': - params = params | _get_deep_object_query_params( - metadata, f_name, value) + params = {**params, **_get_deep_object_query_params( + metadata, f_name, value)} elif style == 'form': - params = params | _get_delimited_query_params( - metadata, f_name, value, ",") + params = {**params, **_get_delimited_query_params( + metadata, f_name, value, ",")} elif style == 'pipeDelimited': - params = params | _get_delimited_query_params( - metadata, f_name, value, "|") + params = {**params, **_get_delimited_query_params( + metadata, f_name, value, "|")} else: raise Exception('not yet implemented') return params -def get_headers(headers_params: dataclass) -> dict[str, str]: +def get_headers(headers_params: dataclass) -> Dict[str, str]: if headers_params is None: return {} - headers: dict[str, str] = {} + headers: Dict[str, str] = {} param_fields: Tuple[Field, ...] = fields(headers_params) for field in param_fields: @@ -303,8 +304,8 @@ def get_headers(headers_params: dataclass) -> dict[str, str]: return headers -def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[str, str]: - params: dict[str, str] = {} +def _get_serialized_params(metadata: Dict, field_name: str, obj: any) -> Dict[str, str]: + params: Dict[str, str] = {} serialization = metadata.get('serialization', '') if serialization == 'json': @@ -313,8 +314,8 @@ def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[st return params -def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - params: dict[str, list[str]] = {} +def _get_deep_object_query_params(metadata: Dict, field_name: str, obj: any) -> Dict[str, List[str]]: + params: Dict[str, List[str]] = {} if obj is None: return params @@ -330,7 +331,7 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> if obj_val is None: continue - if isinstance(obj_val, list): + if isinstance(obj_val, List): for val in obj_val: if val is None: continue @@ -348,12 +349,12 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> params[ f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ _val_to_string(obj_val)] - elif isinstance(obj, dict): + elif isinstance(obj, Dict): for key, value in obj.items(): if value is None: continue - if isinstance(value, list): + if isinstance(value, List): for val in value: if val is None: continue @@ -379,8 +380,8 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ - str, list[str]]: +def _get_delimited_query_params(metadata: Dict, field_name: str, obj: any, delimiter: str) -> Dict[ + str, List[str]]: return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) @@ -424,7 +425,7 @@ def serialize_request_body(request: dataclass, request_field_name: str, nullable request_val) -def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, list[list[any]]]: +def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, List[List[any]]]: if re.match(r'(application|text)\/.*?\+*json.*', media_type) is not None: return media_type, marshal_json(request, encoder), None if re.match(r'multipart\/.*', media_type) is not None: @@ -440,8 +441,8 @@ def serialize_content_type(field_name: str, media_type: str, request: dataclass, f"invalid request body type {type(request)} for mediaType {media_type}") -def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: - form: list[list[any]] = [] +def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, any, List[List[any]]]: + form: List[List[any]] = [] request_fields = fields(request) for field in request_fields: @@ -482,7 +483,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, else: field_name = field_metadata.get( "field_name", field.name) - if isinstance(val, list): + if isinstance(val, List): for value in val: if value is None: continue @@ -493,8 +494,8 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, return media_type, None, form -def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: +def serialize_dict(original: Dict, explode: bool, field_name, existing: Optional[Dict[str, List[str]]]) -> Dict[ + str, List[str]]: if existing is None: existing = [] @@ -514,8 +515,8 @@ def serialize_dict(original: dict, explode: bool, field_name, existing: Optional return existing -def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: - form: dict[str, list[str]] = {} +def serialize_form_data(field_name: str, data: dataclass) -> Dict[str, any]: + form: Dict[str, List[str]] = {} if is_dataclass(data): for field in fields(data): @@ -533,12 +534,12 @@ def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: form[field_name] = [marshal_json(val)] else: if metadata.get('style', 'form') == 'form': - form = form | _populate_form( - field_name, metadata.get('explode', True), val, _get_form_field_name, ",") + form = {**form, **_populate_form( + field_name, metadata.get('explode', True), val, _get_form_field_name, ",")} else: raise Exception( f'Invalid form style for field {field.name}') - elif isinstance(data, dict): + elif isinstance(data, Dict): for key, value in data.items(): form[key] = [_val_to_string(value)] else: @@ -557,8 +558,8 @@ def _get_form_field_name(obj_field: Field) -> str: def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, delimiter: str) -> \ - dict[str, list[str]]: - params: dict[str, list[str]] = {} + Dict[str, List[str]]: + params: Dict[str, List[str]] = {} if obj is None: return params @@ -584,7 +585,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if len(items) > 0: params[field_name] = [delimiter.join(items)] - elif isinstance(obj, dict): + elif isinstance(obj, Dict): items = [] for key, value in obj.items(): if value is None: @@ -597,7 +598,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if len(items) > 0: params[field_name] = [delimiter.join(items)] - elif isinstance(obj, list): + elif isinstance(obj, List): items = [] for value in obj: @@ -651,7 +652,7 @@ def _serialize_header(explode: bool, obj: any) -> str: if len(items) > 0: return ','.join(items) - elif isinstance(obj, dict): + elif isinstance(obj, Dict): items = [] for key, value in obj.items(): @@ -666,7 +667,7 @@ def _serialize_header(explode: bool, obj: any) -> str: if len(items) > 0: return ','.join([str(item) for item in items]) - elif isinstance(obj, list): + elif isinstance(obj, List): items = [] for value in obj: @@ -779,7 +780,7 @@ def decimaldecoder(val): def map_encoder(optional: bool, value_encoder: Callable): - def map_encode(val: dict): + def map_encode(val: Dict): if optional and val is None: return None @@ -793,7 +794,7 @@ def map_encode(val: dict): def map_decoder(value_decoder: Callable): - def map_decode(val: dict): + def map_decode(val: Dict): decoded = {} for key, value in val.items(): decoded[key] = value_decoder(value) @@ -804,7 +805,7 @@ def map_decode(val: dict): def list_encoder(optional: bool, value_encoder: Callable): - def list_encode(val: list): + def list_encode(val: List): if optional and val is None: return None @@ -818,7 +819,7 @@ def list_encode(val: list): def list_decoder(value_decoder: Callable): - def list_decode(val: list): + def list_decode(val: List): decoded = [] for value in val: decoded.append(value_decoder(value)) @@ -846,7 +847,7 @@ def _val_to_string(val): return str(val) -def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: dict[str, dict[str, dict[str, Any]]]): +def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: Dict[str, Dict[str, Dict[str, Any]]]): if value is None and gbls is not None: if 'parameters' in gbls: if param_type in gbls['parameters']: @@ -863,3 +864,9 @@ def decode_fx(obj): kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) return unmarshal_json(json.dumps(obj), kls) return decode_fx + + +def remove_suffix(input_string, suffix): + if suffix and input_string.endswith(suffix): + return input_string[:-len(suffix)] + return input_string diff --git a/workflows_execution/src/epilot/workflows.py b/workflows_execution/src/epilot/workflows.py index 8a6846ece..a53f0456c 100755 --- a/workflows_execution/src/epilot/workflows.py +++ b/workflows_execution/src/epilot/workflows.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import errors, operations, shared -from typing import Optional +from typing import List, Optional class Workflows: r"""Interact with workflow executions - start / close / retrieve one or all / search / delete""" @@ -242,7 +242,7 @@ def get_executions(self, request: operations.GetExecutionsRequest) -> operations if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[list[shared.WorkflowExecutionSlim]]) + out = utils.unmarshal_json(http_res.text, Optional[List[shared.WorkflowExecutionSlim]]) res.workflow_execution_slims = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) From f26db7afcbf4097f890c05188b6b05a0275f5881 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 21 Oct 2023 00:58:48 +0000 Subject: [PATCH 84/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.104.0 --- workflows_execution/README.md | 8 +-- workflows_execution/RELEASES.md | 10 +++- workflows_execution/USAGE.md | 8 +-- .../docs/sdks/workflows/README.md | 52 +++++++++---------- workflows_execution/gen.yaml | 11 ++-- workflows_execution/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 6 +-- workflows_execution/src/epilot/utils/utils.py | 20 +++++++ 8 files changed, 74 insertions(+), 43 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index bd140062e..fc320b3de 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -22,16 +22,16 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'wearily', + 'string', ], contexts=[ shared.WorkflowContext( id='', - schema='Shoes', - title='schemas', + schema='string', + title='string', ), ], - workflow_id='teal', + workflow_id='string', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 07f386172..714bd22b3 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -576,4 +576,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.0.0] workflows_execution \ No newline at end of file +- [python v2.0.0] workflows_execution + +## 2023-10-21 00:58:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.0] workflows_execution \ No newline at end of file diff --git a/workflows_execution/USAGE.md b/workflows_execution/USAGE.md index 3aeb08c54..f27882311 100755 --- a/workflows_execution/USAGE.md +++ b/workflows_execution/USAGE.md @@ -13,16 +13,16 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'wearily', + 'string', ], contexts=[ shared.WorkflowContext( id='', - schema='Shoes', - title='schemas', + schema='string', + title='string', ), ], - workflow_id='teal', + workflow_id='string', ) res = s.workflows.create_execution(req) diff --git a/workflows_execution/docs/sdks/workflows/README.md b/workflows_execution/docs/sdks/workflows/README.md index ea04f5696..81bb2e622 100755 --- a/workflows_execution/docs/sdks/workflows/README.md +++ b/workflows_execution/docs/sdks/workflows/README.md @@ -37,16 +37,16 @@ s = epilot.Epilot( req = shared.WorkflowExecutionCreateReq( assigned_to=[ - 'wearily', + 'string', ], contexts=[ shared.WorkflowContext( id='', - schema='Shoes', - title='schemas', + schema='string', + title='string', ), ], - workflow_id='teal', + workflow_id='string', ) res = s.workflows.create_execution(req) @@ -87,11 +87,11 @@ s = epilot.Epilot( req = operations.CreateStepRequest( create_step_req=shared.CreateStepReq( automation_config=shared.AutomationConfig( - flow_id='deposit', + flow_id='string', ), - name='Mazda', + name='string', ), - execution_id='Transexual', + execution_id='string', ) res = s.workflows.create_step(req) @@ -130,7 +130,7 @@ s = epilot.Epilot( ) req = operations.DeleteExecutionRequest( - execution_id='Industrial', + execution_id='string', ) res = s.workflows.delete_execution(req) @@ -169,8 +169,8 @@ s = epilot.Epilot( ) req = operations.DeleteStepRequest( - execution_id='Gender', - step_id='Hat', + execution_id='string', + step_id='string', ) res = s.workflows.delete_step(req) @@ -212,7 +212,7 @@ s = epilot.Epilot( ) req = operations.GetClosingReasonExecutionRequest( - execution_id='generate', + execution_id='string', ) res = s.workflows.get_closing_reason_execution(req) @@ -251,7 +251,7 @@ s = epilot.Epilot( ) req = operations.GetExecutionRequest( - execution_id='Genderflux', + execution_id='string', ) res = s.workflows.get_execution(req) @@ -409,27 +409,27 @@ s = epilot.Epilot( req = operations.UpdateExecutionRequest( workflow_execution_update_req=shared.WorkflowExecutionUpdateReq( assigned_to=[ - 'Toys', + 'string', ], contexts=[ shared.WorkflowContext( id='', - schema='boldly', - title='purple', + schema='string', + title='string', ), ], dynamic_due_date=shared.DynamicDueDate( - number_of_units=9427.59, - time_period=shared.DynamicDueDateTimePeriod.MONTHS, + number_of_units=1932.48, + time_period=shared.DynamicDueDateTimePeriod.WEEKS, ), selected_closing_reasons=[ shared.ClosingReason( id='', - title='Implementation', + title='string', ), ], ), - execution_id='Loan', + execution_id='string', ) res = s.workflows.update_execution(req) @@ -470,22 +470,22 @@ s = epilot.Epilot( req = operations.UpdateStepRequest( update_step_req=shared.UpdateStepReq( assigned_to=[ - 'India', + 'string', ], automation_config=shared.AutomationConfig( - flow_id='sympathy', + flow_id='string', ), dynamic_due_date=shared.DynamicDueDate( - number_of_units=6596.78, - time_period=shared.DynamicDueDateTimePeriod.DAYS, + number_of_units=444.49, + time_period=shared.DynamicDueDateTimePeriod.WEEKS, ), position=shared.StepPositionAt(), user_ids=[ - 6418.65, + 9439.44, ], ), - execution_id='Folding', - step_id='Health', + execution_id='string', + step_id='string', ) res = s.workflows.update_step(req) diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index 1d7bfccf3..d6c3f357a 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,22 +2,25 @@ configVersion: 1.0.0 management: docChecksum: 4111adf1684fd3890f128a4a6df2a55c docVersion: 1.0.0 - speakeasyVersion: 1.101.0 - generationVersion: 2.161.0 + speakeasyVersion: 1.104.0 + generationVersion: 2.169.0 generation: + repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 3.0.2 + core: 3.3.0 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 2.0.0 + version: 2.1.0 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false + installationURL: https://github.com/epilot-dev/sdk-python.git#subdirectory=workflows_execution maxMethodParams: 0 packageName: epilot-workflows-execution + repoSubDirectory: workflows_execution diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index 91f39f4f6..e2006a46c 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="2.0.0", + version="2.1.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 1b67a2009..66d5780c4 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -20,9 +20,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '2.0.0' - gen_version: str = '2.161.0' - user_agent: str = 'speakeasy-sdk/python 2.0.0 2.161.0 1.0.0 epilot-workflows-execution' + sdk_version: str = '2.1.0' + gen_version: str = '2.169.0' + user_agent: str = 'speakeasy-sdk/python 2.1.0 2.169.0 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/workflows_execution/src/epilot/utils/utils.py b/workflows_execution/src/epilot/utils/utils.py index ccfad9f7a..3ab126104 100755 --- a/workflows_execution/src/epilot/utils/utils.py +++ b/workflows_execution/src/epilot/utils/utils.py @@ -759,6 +759,8 @@ def bigintencode(val: int): def bigintdecoder(val): + if isinstance(val, float): + raise ValueError(f"{val} is a float") return int(val) @@ -828,6 +830,24 @@ def list_decode(val: List): return list_decode +def union_encoder(all_encoders: Dict[str, Callable]): + def selective_encoder(val: any): + if type(val) in all_encoders: + return all_encoders[type(val)](val) + return val + return selective_encoder + +def union_decoder(all_decoders: List[Callable]): + def selective_decoder(val: any): + decoded = val + for decoder in all_decoders: + try: + decoded = decoder(val) + break + except (TypeError, ValueError): + continue + return decoded + return selective_decoder def get_field_name(name): def override(_, _field_name=name): From a4a238f97111f88a73370fa7ffab90bccb601f91 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 28 Oct 2023 00:58:24 +0000 Subject: [PATCH 85/85] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.109.0 --- workflows_execution/README.md | 119 ++++++++++++++++++ workflows_execution/RELEASES.md | 10 +- workflows_execution/gen.yaml | 8 +- workflows_execution/setup.py | 2 +- .../src/epilot/sdkconfiguration.py | 6 +- 5 files changed, 136 insertions(+), 9 deletions(-) diff --git a/workflows_execution/README.md b/workflows_execution/README.md index fc320b3de..47381f690 100755 --- a/workflows_execution/README.md +++ b/workflows_execution/README.md @@ -79,6 +79,125 @@ return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: + + + +# Error Handling + +Handling errors in your SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type. + + + + + + + +# Server Selection + +## Select Server by Index + +You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: + +| # | Server | Variables | +| - | ------ | --------- | +| 0 | `https://workflows-execution.sls.epilot.io` | None | + +For example: + + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), + server_idx=0 +) + +req = shared.WorkflowExecutionCreateReq( + assigned_to=[ + 'string', + ], + contexts=[ + shared.WorkflowContext( + id='', + schema='string', + title='string', + ), + ], + workflow_id='string', +) + +res = s.workflows.create_execution(req) + +if res.workflow_execution is not None: + # handle response + pass +``` + + +## Override Server URL Per-Client + +The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example: + + +```python +import epilot +from epilot.models import shared + +s = epilot.Epilot( + security=shared.Security( + bearer_auth="", + ), + server_url="https://workflows-execution.sls.epilot.io" +) + +req = shared.WorkflowExecutionCreateReq( + assigned_to=[ + 'string', + ], + contexts=[ + shared.WorkflowContext( + id='', + schema='string', + title='string', + ), + ], + workflow_id='string', +) + +res = s.workflows.create_execution(req) + +if res.workflow_execution is not None: + # handle response + pass +``` + + + + + +# Custom HTTP Client + +The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object. + + +For example, you could specify a header for every request that your sdk makes as follows: + +```python +import epilot +import requests + +http_client = requests.Session() +http_client.headers.update({'x-custom-header': 'someValue'}) +s = epilot.Epilot(client: http_client) +``` + + + + diff --git a/workflows_execution/RELEASES.md b/workflows_execution/RELEASES.md index 714bd22b3..e6bdaabea 100644 --- a/workflows_execution/RELEASES.md +++ b/workflows_execution/RELEASES.md @@ -584,4 +584,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml - Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.0] workflows_execution \ No newline at end of file +- [python v2.1.0] workflows_execution + +## 2023-10-28 00:58:08 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/workflows-execution.yaml +- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.1] workflows_execution \ No newline at end of file diff --git a/workflows_execution/gen.yaml b/workflows_execution/gen.yaml index d6c3f357a..a2fe86bae 100644 --- a/workflows_execution/gen.yaml +++ b/workflows_execution/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 4111adf1684fd3890f128a4a6df2a55c docVersion: 1.0.0 - speakeasyVersion: 1.104.0 - generationVersion: 2.169.0 + speakeasyVersion: 1.109.0 + generationVersion: 2.173.0 generation: repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot @@ -11,12 +11,12 @@ generation: telemetryEnabled: false features: python: - core: 3.3.0 + core: 3.3.1 deprecations: 2.81.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 2.1.0 + version: 2.1.1 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/workflows_execution/setup.py b/workflows_execution/setup.py index e2006a46c..913ff0fd7 100755 --- a/workflows_execution/setup.py +++ b/workflows_execution/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-workflows-execution", - version="2.1.0", + version="2.1.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/workflows_execution/src/epilot/sdkconfiguration.py b/workflows_execution/src/epilot/sdkconfiguration.py index 66d5780c4..a3e696586 100755 --- a/workflows_execution/src/epilot/sdkconfiguration.py +++ b/workflows_execution/src/epilot/sdkconfiguration.py @@ -20,9 +20,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '2.1.0' - gen_version: str = '2.169.0' - user_agent: str = 'speakeasy-sdk/python 2.1.0 2.169.0 1.0.0 epilot-workflows-execution' + sdk_version: str = '2.1.1' + gen_version: str = '2.173.0' + user_agent: str = 'speakeasy-sdk/python 2.1.1 2.173.0 1.0.0 epilot-workflows-execution' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: