Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate Workflows Definition SDK #82

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
63709e5
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.357.3
speakeasybot Aug 8, 2024
6315312
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.358.0
speakeasybot Aug 9, 2024
ee7a9d8
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.361.1
speakeasybot Aug 11, 2024
42aeb31
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.368.0
speakeasybot Aug 15, 2024
59b7cba
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.376.0
speakeasybot Aug 20, 2024
5b3cdb4
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.383.2
speakeasybot Aug 30, 2024
6aa99ff
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.392.1
speakeasybot Sep 7, 2024
e48dcf3
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.394.0
speakeasybot Sep 10, 2024
86a019d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.396.6
speakeasybot Sep 13, 2024
4971945
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.400.1
speakeasybot Sep 20, 2024
54142d0
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.403.3
speakeasybot Sep 27, 2024
8fbb113
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.405.6
speakeasybot Oct 1, 2024
739cc00
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.406.0
speakeasybot Oct 3, 2024
c2109a2
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.411.1
speakeasybot Oct 8, 2024
2898013
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.421.1
speakeasybot Oct 24, 2024
a1bb8a9
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.423.5
speakeasybot Oct 31, 2024
7efa0e8
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.426.0
speakeasybot Nov 5, 2024
0bdd84e
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.431.0
speakeasybot Nov 6, 2024
47d4971
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.436.0
speakeasybot Nov 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions workflows_definition/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This allows generated code to be indexed correctly
*.py linguist-generated=false
9 changes: 9 additions & 0 deletions workflows_definition/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
README-PYPI.md
.venv/
venv/
src/*.egg-info/
__pycache__/
.pytest_cache/
.python-version
.DS_Store
pyrightconfig.json
1 change: 1 addition & 0 deletions workflows_definition/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
223 changes: 223 additions & 0 deletions workflows_definition/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
lockVersion: 2.0.0
id: 8727d4ad-f9cf-4aa1-993f-c90fc6591190
management:
docChecksum: 8a2ff4be25db818a35891d602baa4a25
docVersion: 1.0.0
speakeasyVersion: 1.436.0
generationVersion: 2.455.2
releaseVersion: 1.10.3
configChecksum: 303e3e270c3ea187dd8fb7d6839a19d3
repoURL: https://github.com/epilot-dev/sdk-python.git
repoSubDirectory: workflows_definition
installationURL: https://github.com/epilot-dev/sdk-python.git#subdirectory=workflows_definition
features:
python:
additionalDependencies: 1.0.0
core: 5.6.4
defaultEnabledRetries: 0.2.0
deprecations: 3.0.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.2
flattening: 3.1.0
globalSecurity: 3.0.2
globalSecurityCallbacks: 1.0.0
globalSecurityFlattening: 1.0.0
globalServerURLs: 3.0.0
methodArguments: 1.0.2
responseFormat: 1.0.1
retries: 3.0.2
sdkHooks: 1.0.0
tests: 1.6.0
unions: 3.0.3
generatedFiles:
- .gitattributes
- .python-version
- .vscode/settings.json
- CONTRIBUTING.md
- USAGE.md
- docs/models/actiontypecondition.md
- docs/models/automationconfig.md
- docs/models/changereasonstatusreq.md
- docs/models/changereasonstatusrequest.md
- docs/models/closingreason.md
- docs/models/closingreasonid.md
- docs/models/closingreasons.md
- docs/models/closingreasonsids.md
- docs/models/closingreasonsstatus.md
- docs/models/condition.md
- docs/models/definitionnotfoundresp.md
- docs/models/deletedefinitionrequest.md
- docs/models/dynamicduedate.md
- docs/models/ecpdetails.md
- docs/models/errorresp.md
- docs/models/flow.md
- docs/models/getallclosingreasonsrequest.md
- docs/models/getdefinitionrequest.md
- docs/models/getworkflowclosingreasonsrequest.md
- docs/models/itemtype.md
- docs/models/maxallowedlimit.md
- docs/models/section.md
- docs/models/security.md
- docs/models/setworkflowclosingreasonsrequest.md
- docs/models/source.md
- docs/models/step.md
- docs/models/stepdescription.md
- docs/models/stepjourney.md
- docs/models/steprequirement.md
- docs/models/steptype.md
- docs/models/target.md
- docs/models/timeperiod.md
- docs/models/updatedefinitionrequest.md
- docs/models/updateentityattributes.md
- docs/models/utils/retryconfig.md
- docs/models/workflowdefinition.md
- docs/sdks/closingreasonsdk/README.md
- docs/sdks/sdk/README.md
- docs/sdks/workflows/README.md
- poetry.toml
- py.typed
- pylintrc
- pyproject.toml
- scripts/prepare-readme.py
- scripts/publish.sh
- src/openapi/__init__.py
- src/openapi/_hooks/__init__.py
- src/openapi/_hooks/sdkhooks.py
- src/openapi/_hooks/types.py
- src/openapi/_version.py
- src/openapi/basesdk.py
- src/openapi/closing_reason_sdk.py
- src/openapi/httpclient.py
- src/openapi/models/__init__.py
- src/openapi/models/changereasonstatusop.py
- src/openapi/models/changereasonstatusreq.py
- src/openapi/models/closingreason.py
- src/openapi/models/closingreasonid.py
- src/openapi/models/closingreasons.py
- src/openapi/models/closingreasonsids.py
- src/openapi/models/closingreasonsstatus.py
- src/openapi/models/definitionnotfoundresp.py
- src/openapi/models/deletedefinitionop.py
- src/openapi/models/dynamicduedate.py
- src/openapi/models/ecpdetails.py
- src/openapi/models/errorresp.py
- src/openapi/models/getallclosingreasonsop.py
- src/openapi/models/getdefinitionop.py
- src/openapi/models/getworkflowclosingreasonsop.py
- src/openapi/models/itemtype.py
- src/openapi/models/maxallowedlimit.py
- src/openapi/models/sdkerror.py
- src/openapi/models/section.py
- src/openapi/models/security.py
- src/openapi/models/setworkflowclosingreasonsop.py
- src/openapi/models/step.py
- src/openapi/models/stepdescription.py
- src/openapi/models/stepjourney.py
- src/openapi/models/steprequirement.py
- src/openapi/models/steptype.py
- src/openapi/models/updatedefinitionop.py
- src/openapi/models/updateentityattributes.py
- src/openapi/models/workflowdefinition.py
- src/openapi/py.typed
- src/openapi/sdk.py
- src/openapi/sdkconfiguration.py
- src/openapi/types/__init__.py
- src/openapi/types/basemodel.py
- src/openapi/utils/__init__.py
- src/openapi/utils/annotations.py
- src/openapi/utils/enums.py
- src/openapi/utils/eventstreaming.py
- src/openapi/utils/forms.py
- src/openapi/utils/headers.py
- src/openapi/utils/logger.py
- src/openapi/utils/metadata.py
- src/openapi/utils/queryparams.py
- src/openapi/utils/requestbodies.py
- src/openapi/utils/retries.py
- src/openapi/utils/security.py
- src/openapi/utils/serializers.py
- src/openapi/utils/url.py
- src/openapi/utils/values.py
- src/openapi/workflows.py
examples:
changeReasonStatus:
speakeasy-default-change-reason-status:
parameters:
path:
reasonId: "<value>"
createClosingReason:
"":
requestBody:
application/json: {"status": "ACTIVE", "title": "better offer"}
responses:
"201":
application/json: {"status": "ACTIVE", "title": "<value>"}
getAllClosingReasons:
"":
parameters:
query:
includeInactive: true
responses:
"200":
application/json: {"reasons": []}
createDefinition:
"":
requestBody:
application/json: {"assignedTo": ["952802", "80225"], "closingReasons": [], "creationTime": "2021-04-27T12:01:13.000Z", "description": "Lead Qualification description", "dueDate": "2022-08-04T12:00:00.000Z", "flow": [{"name": "Initial Information Gathering", "order": 1, "steps": [{"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "name": "Call client and confirm address and product", "order": 1, "type": "STEP"}, {"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "name": "Check product availability", "order": 2, "type": "STEP"}, {"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "name": "Send email confirming contact with the client", "order": 3, "type": "STEP"}], "type": "SECTION"}, {"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "name": "Print and send catalog", "order": 2, "type": "STEP"}], "lastUpdateTime": "2021-04-27T12:01:13.000Z", "name": "Lead Qualification", "updateEntityAttributes": []}
responses:
"200":
application/json: {"assignedTo": ["952802", "80225"], "closingReasons": [], "creationTime": "2021-08-04T21:13:50.373Z", "description": "Lead Qualification description", "dueDate": "2022-08-04T12:00:00.000Z", "flow": [{"id": "5892na2", "name": "Initial Information Gathering", "order": 1, "steps": [{"assignedTo": ["48829"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "2hja82a", "name": "Call client and confirm address and product", "order": 1, "type": "STEP"}, {"assignedTo": ["45390"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "ga92ha2", "name": "Check product availability", "order": 2, "type": "STEP"}, {"assignedTo": ["8230"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "jga92ha", "name": "Send email confirming contact with the client", "order": 3, "type": "STEP"}], "type": "SECTION"}, {"assignedTo": ["8239"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "0a7g22a", "name": "Print and send catalog", "order": 2, "type": "STEP"}], "id": "25n2k52ja", "lastUpdateTime": "2021-08-04T21:13:50.373Z", "name": "Lead Qualification", "updateEntityAttributes": []}
"400": {}
deleteDefinition:
"":
parameters:
path:
definitionId: "CustomerRequest"
getDefinition:
"":
parameters:
path:
definitionId: "7hj28a"
responses:
"200":
application/json: {"assignedTo": ["952802", "80225"], "closingReasons": [{"id": "ffoowef"}, {"id": "hebwoeu"}, {"id": "mbnoenq"}], "creationTime": "2021-08-04T21:13:50.373Z", "dueDate": "2022-08-04T12:00:00.000Z", "flow": [{"id": "5892na2", "name": "Initial Information Gathering", "order": 1, "steps": [{"assignedTo": ["923432"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "2hja82a", "name": "Call client and confirm address and product", "order": 1, "type": "STEP"}, {"assignedTo": ["45488"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "ga92ha2", "name": "Check product availability", "order": 2, "type": "STEP"}, {"assignedTo": ["45488"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "jga92ha", "name": "Send email confirming contact with the client", "order": 3, "type": "STEP"}], "type": "SECTION"}, {"assignedTo": ["8988"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "0a7g22a", "name": "Print and send catalog", "order": 2, "type": "STEP"}], "id": "25n2k52ja", "lastUpdateTime": "2021-08-04T21:13:50.373Z", "name": "Lead Qualification", "updateEntityAttributes": []}
"400": {}
"404": {}
getDefinitions:
"":
responses:
"200":
application/json: [{"assignedTo": ["18625", "90252"], "closingReasons": [{"id": "x739cew"}, {"id": "x739cew"}, {"id": "x739cew"}], "creationTime": "2021-08-04T21:13:50.373Z", "description": "Lead Qualification description", "dueDate": "2021-08-04T21:13:50.373Z", "flow": [{"id": "5892na2", "name": "Initial Information Gathering", "order": 1, "steps": [{"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "2hja82a", "name": "Call client and confirm address and product", "order": 1, "type": "STEP"}, {"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "ga92ha2", "name": "Check product availability", "order": 2, "type": "STEP"}, {"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "jga92ha", "name": "Send email confirming contact with the client", "order": 3, "type": "STEP"}], "type": "SECTION"}, {"assignedTo": ["123482"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "0a7g22a", "name": "Print and send catalog", "order": 2, "type": "STEP"}], "id": "25n2k52ja", "lastUpdateTime": "2021-08-04T21:13:50.373Z", "name": "Lead Qualification", "updateEntityAttributes": []}]
"500": {}
getMaxAllowedLimit:
"":
responses:
"200":
application/json: {"currentNoOfWorkflows": 5, "maxAllowed": 7}
"500": {}
getWorkflowClosingReasons:
"":
parameters:
path:
definitionId: "fxcwfw"
responses:
"200":
application/json: {"reasons": []}
setWorkflowClosingReasons:
"":
parameters:
path:
definitionId: "7889"
requestBody:
application/json: {"reasons": []}
updateDefinition:
"":
parameters:
path:
definitionId: "7hj28a"
requestBody:
application/json: {"assignedTo": ["952802", "80225"], "closingReasons": [], "creationTime": "2021-08-04T21:13:50.373Z", "dueDate": "2022-08-04T12:00:00.000Z", "flow": [{"id": "5892na2", "name": "Initial Information Gathering", "order": 1, "steps": [{"assignedTo": ["8988"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "2hja82a", "name": "Call client and confirm address and product", "order": 1, "type": "STEP"}, {"assignedTo": ["8988"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "ga92ha2", "name": "Check product availability", "order": 2, "type": "STEP"}, {"assignedTo": ["8988"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "jga92ha", "name": "Send email confirming contact with the client", "order": 3, "type": "STEP"}], "type": "SECTION"}, {"assignedTo": ["8988"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "0a7g22a", "name": "Print and send catalog", "order": 2, "type": "STEP"}], "id": "25n2k52ja", "lastUpdateTime": "2021-08-04T21:13:50.373Z", "name": "Lead Qualification", "updateEntityAttributes": []}
responses:
"200":
application/json: {"assignedTo": ["952802", "80225"], "closingReasons": [], "creationTime": "2021-08-04T21:13:50.373Z", "dueDate": "2022-08-04T12:00:00.000Z", "flow": [{"id": "5892na2", "name": "Initial Information Gathering", "order": 1, "steps": [{"assignedTo": ["1"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "2hja82a", "name": "Call client and confirm address and product", "order": 1, "type": "STEP"}, {"assignedTo": ["56645"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "ga92ha2", "name": "Check product availability", "order": 2, "type": "STEP"}, {"assignedTo": ["949923"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "jga92ha", "name": "Send email confirming contact with the client", "order": 3, "type": "STEP"}], "type": "SECTION"}, {"assignedTo": ["156645"], "dueDate": "2021-04-27T12:00:00.000Z", "id": "0a7g22a", "name": "Print and send catalog", "order": 2, "type": "STEP"}], "id": "25n2k52ja", "lastUpdateTime": "2021-08-04T21:13:50.373Z", "name": "Lead Qualification", "updateEntityAttributes": []}
"400": {}
6 changes: 6 additions & 0 deletions workflows_definition/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"python.testing.pytestArgs": ["tests", "-vv"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"pylint.args": ["--rcfile=pylintrc"]
}
26 changes: 26 additions & 0 deletions workflows_definition/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
Loading