abstra 3.24.1__py3-none-any.whl → 3.24.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/METADATA +1 -1
- {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/RECORD +202 -206
- abstra_internals/contracts_generated.py +1016 -758
- abstra_internals/controllers/git.py +4 -2
- abstra_internals/controllers/main.py +63 -1
- abstra_internals/repositories/git/git_test.py +5 -2
- abstra_internals/repositories/git/native.py +13 -7
- abstra_internals/repositories/git/types.py +1 -1
- abstra_internals/repositories/project/project.py +1 -1
- abstra_internals/server/routes/git.py +11 -2
- abstra_internals/server/routes/mcp.py +1 -0
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js +2 -0
- abstra_statics/dist/assets/ApiKeys.9b0b18b5.js +2 -0
- abstra_statics/dist/assets/App.9ab9cabb.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.6713c9c9.js +2 -0
- abstra_statics/dist/assets/BaseLayout.28c01b5b.js +2 -0
- abstra_statics/dist/assets/Billing.f9062d88.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.5c786c09.js → Breadcrumb.e54636d6.js} +3 -3
- abstra_statics/dist/assets/Builds.38c0f966.css +1 -0
- abstra_statics/dist/assets/Builds.c7363e1b.js +2 -0
- abstra_statics/dist/assets/{Card.fc77085c.js → Card.4a8a30bb.js} +5 -5
- abstra_statics/dist/assets/{CircularLoading.998b223a.js → CircularLoading.d81a4cac.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.39b5ab06.js +2 -0
- abstra_statics/dist/assets/ConnectorsView.b594798e.css +1 -0
- abstra_statics/dist/assets/ConnectorsView.d4b67e2e.js +2 -0
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.5360224e.js +2 -0
- abstra_statics/dist/assets/ContentLayout.10f24838.js +2 -0
- abstra_statics/dist/assets/CrudView.57e8b29a.js +2 -0
- abstra_statics/dist/assets/CrudView.8abe5bc2.css +1 -0
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.108b18e1.js +2 -0
- abstra_statics/dist/assets/EditorLogin.2f00deb7.js +2 -0
- abstra_statics/dist/assets/EditorsView.eb87a2d8.js +2 -0
- abstra_statics/dist/assets/EnvVars.883a4a57.js +2 -0
- abstra_statics/dist/assets/Error.98b8036c.js +2 -0
- abstra_statics/dist/assets/{ExclamationCircleOutlined.d0aa47da.js → ExclamationCircleOutlined.2441b96e.js} +2 -2
- abstra_statics/dist/assets/Files.39b07d88.css +1 -0
- abstra_statics/dist/assets/Files.9fc8199a.js +2 -0
- abstra_statics/dist/assets/Form.5d562f15.js +2 -0
- abstra_statics/dist/assets/{FormRunner.46f6426d.css → FormRunner.1e6e7d2a.css} +1 -1
- abstra_statics/dist/assets/FormRunner.2b1b3c45.js +2 -0
- abstra_statics/dist/assets/Home.191a6dce.js +2 -0
- abstra_statics/dist/assets/Home.8502aa41.js +2 -0
- abstra_statics/dist/assets/Home.e8bf9440.css +1 -0
- abstra_statics/dist/assets/LoadingContainer.ac03ea28.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.4c40acc4.js +2 -0
- abstra_statics/dist/assets/Login.8bd6a07a.js +2 -0
- abstra_statics/dist/assets/{Login.75d13f6c.css → Login.ac75228f.css} +1 -1
- abstra_statics/dist/assets/Login.edfbdaea.js +2 -0
- abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.02acef81.js +2 -0
- abstra_statics/dist/assets/Logo.fc8ace6c.js +2 -0
- abstra_statics/dist/assets/Logs.4c6c0b3a.js +2 -0
- abstra_statics/dist/assets/LogsController.61f8e22d.css +1 -0
- abstra_statics/dist/assets/LogsController.a58ca42a.js +2 -0
- abstra_statics/dist/assets/Main.e6b2d2d5.js +2 -0
- abstra_statics/dist/assets/{MockForm.0b819a52.js → MockForm.091aa4ce.js} +2 -2
- abstra_statics/dist/assets/Navbar.24019fd6.js +2 -0
- abstra_statics/dist/assets/Navbar.61d3e0a6.css +1 -0
- abstra_statics/dist/assets/NewEditor.2b6f4ed3.js +8 -0
- abstra_statics/dist/assets/NewEditor.f2d1c0c3.css +1 -0
- abstra_statics/dist/assets/OidcLoginCallback.987cebba.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.6c00d878.js +2 -0
- abstra_statics/dist/assets/OmniChat.60ee26c8.css +1 -0
- abstra_statics/dist/assets/OmniChat.c78c1e51.js +6 -0
- abstra_statics/dist/assets/OnboardingView.687780ed.js +2 -0
- abstra_statics/dist/assets/OnboardingView.e871e6d8.css +1 -0
- abstra_statics/dist/assets/Organization.0ac1bf79.js +2 -0
- abstra_statics/dist/assets/Organizations.fc123489.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.78877a50.js → PhArrowCounterClockwise.vue.6ab1b899.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.2ddfc219.js → PhArrowSquareOut.vue.1cebb708.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.854c3cb5.js → PhClockCounterClockwise.vue.dae2e135.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.d116ddfb.js → PhCopy.vue.71703533.js} +2 -2
- abstra_statics/dist/assets/PhCopySimple.vue.369eb629.js +2 -0
- abstra_statics/dist/assets/{PhCube.vue.abf4a034.js → PhCube.vue.f8549a9b.js} +2 -2
- abstra_statics/dist/assets/{PhDatabase.vue.a94d95f6.js → PhDatabase.vue.0d3246d7.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.5e8ae2a9.js → PhDotsThreeVertical.vue.9d76c4de.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.e88f64f1.js → PhDownloadSimple.vue.21156b6d.js} +2 -2
- abstra_statics/dist/assets/PhFileArrowUp.vue.406b22e3.js +2 -0
- abstra_statics/dist/assets/PhFilePlus.vue.b180df90.js +2 -0
- abstra_statics/dist/assets/{PhFolderPlus.vue.21d377a3.js → PhFolderPlus.vue.b18fd061.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.363dd83c.js → PhGear.vue.bed38929.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.23f3a465.js → PhKey.vue.6ef5fdd3.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.feb383e2.js → PhPencil.vue.0fc0fcc0.js} +2 -2
- abstra_statics/dist/assets/PhPencilSimple.vue.0707effd.js +2 -0
- abstra_statics/dist/assets/PhRocket.vue.761192f5.js +2 -0
- abstra_statics/dist/assets/{PhSignOut.vue.d1d6498f.js → PhSignOut.vue.8d8dfd96.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.b6712d34.js → PhSparkle.vue.18ed0427.js} +2 -2
- abstra_statics/dist/assets/PhTranslate.vue.00a17a08.js +2 -0
- abstra_statics/dist/assets/{PhUsersThree.vue.8889f957.js → PhUsersThree.vue.d69f0723.js} +2 -2
- abstra_statics/dist/assets/{PhWarningCircle.vue.2087be7d.js → PhWarningCircle.vue.20bfeba7.js} +2 -2
- abstra_statics/dist/assets/PhWebhooksLogo.vue.58a98824.js +2 -0
- abstra_statics/dist/assets/PlayerConfigProvider.ad360920.js +2 -0
- abstra_statics/dist/assets/{PlayerNavbar.77209eae.css → PlayerNavbar.4dc29a45.css} +1 -1
- abstra_statics/dist/assets/PlayerNavbar.97e8dee9.js +2 -0
- abstra_statics/dist/assets/Project.6c4642b5.js +2 -0
- abstra_statics/dist/assets/Project.9c418d2e.css +1 -0
- abstra_statics/dist/assets/ProjectLogin.f92a038d.js +2 -0
- abstra_statics/dist/assets/ProjectSettings.582746dc.js +2 -0
- abstra_statics/dist/assets/ProjectsView.a6b3674b.js +2 -0
- abstra_statics/dist/assets/ProjectsView.e26ddfd5.css +1 -0
- abstra_statics/dist/assets/SaveButton.363ea20f.css +1 -0
- abstra_statics/dist/assets/SaveButton.c3ad6e9b.js +2 -0
- abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.6d724b05.js → ScrollArea.vue_vue_type_script_setup_true_lang.62178939.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.29baeab0.css → Sidebar.161522da.css} +1 -1
- abstra_statics/dist/assets/Sidebar.69f9369e.js +2 -0
- abstra_statics/dist/assets/Sql.6d9a778c.css +1 -0
- abstra_statics/dist/assets/Sql.cdefe5b9.js +5 -0
- abstra_statics/dist/assets/{Steps.dd51a108.js → Steps.82252fc0.js} +2 -2
- abstra_statics/dist/assets/TableCard.5462c89d.js +2 -0
- abstra_statics/dist/assets/{TableEditor.5853a363.css → TableEditor.20fecc75.css} +1 -1
- abstra_statics/dist/assets/TableEditor.fcfa13de.js +2 -0
- abstra_statics/dist/assets/Tables.4ee84a7c.js +39 -0
- abstra_statics/dist/assets/TablesDiagram.b1d1579e.js +15 -0
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.3e5206e0.js +2 -0
- abstra_statics/dist/assets/Tasks.fd2605bd.js +2 -0
- abstra_statics/dist/assets/{UploadOutlined.9aa845de.js → UploadOutlined.64837788.js} +2 -2
- abstra_statics/dist/assets/View.b144c5e3.js +2 -0
- abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.c79117ce.js +2 -0
- abstra_statics/dist/assets/Watermark.c0756030.js +2 -0
- abstra_statics/dist/assets/WebEditor.774989ad.js +2 -0
- abstra_statics/dist/assets/WebEditor.b886e4d1.css +1 -0
- abstra_statics/dist/assets/WidgetPreview.4fd6afc0.js +2 -0
- abstra_statics/dist/assets/WorkflowViewer.2666936e.js +2 -0
- abstra_statics/dist/assets/WorkflowViewer.3b6aee8e.css +1 -0
- abstra_statics/dist/assets/ant-design.b3eefa58.js +2 -0
- abstra_statics/dist/assets/apiKey.ee792d72.js +2 -0
- abstra_statics/dist/assets/asyncComputed.c73d027a.js +2 -0
- abstra_statics/dist/assets/{build.45b511b6.js → build.6e7d77b3.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.5ee17d14.js +2 -0
- abstra_statics/dist/assets/{console.f0f09e6f.js → console.38bda98e.js} +4 -4
- abstra_statics/dist/assets/constants.be8ad36c.js +2 -0
- abstra_statics/dist/assets/contracts.generated.f01de5a3.js +2 -0
- abstra_statics/dist/assets/{cssMode.23271d4a.js → cssMode.408206bf.js} +2 -2
- abstra_statics/dist/assets/{datetime.82608dfb.js → datetime.a6d58ce1.js} +2 -2
- abstra_statics/dist/assets/dayjs.703ebc20.js +2 -0
- abstra_statics/dist/assets/editor.a77b56bd.js +2 -0
- abstra_statics/dist/assets/editor.main.a1ebf0ab.js +2 -0
- abstra_statics/dist/assets/fetch.cd29ef4c.js +2 -0
- abstra_statics/dist/assets/{files.8b58ee7e.js → files.1c1692f5.js} +2 -2
- abstra_statics/dist/assets/{folder.13d3acac.js → folder.1b74b12c.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.f79b510b.js → freemarker2.e62e067c.js} +2 -2
- abstra_statics/dist/assets/{handlebars.07d5febe.js → handlebars.604fc901.js} +2 -2
- abstra_statics/dist/assets/{html.7d6a59b4.js → html.c02f177e.js} +2 -2
- abstra_statics/dist/assets/{htmlMode.7779ff94.js → htmlMode.64078e03.js} +2 -2
- abstra_statics/dist/assets/index.015caad7.js +2 -0
- abstra_statics/dist/assets/index.2ec95eae.js +2 -0
- abstra_statics/dist/assets/index.5197afb2.js +2 -0
- abstra_statics/dist/assets/{index.482df04a.js → index.82590a75.js} +2 -2
- abstra_statics/dist/assets/{index.d31da2c3.js → index.82842143.js} +2 -2
- abstra_statics/dist/assets/{index.e71a5f84.js → index.a12eba98.js} +3 -3
- abstra_statics/dist/assets/index.b72cb2b3.js +2 -0
- abstra_statics/dist/assets/{index.c8a56795.js → index.b91afb03.js} +2 -2
- abstra_statics/dist/assets/index.bec0ecd0.js +4 -0
- abstra_statics/dist/assets/{index.57042181.css → index.da037bc0.css} +1 -1
- abstra_statics/dist/assets/{javascript.4c528c2c.js → javascript.57026f87.js} +2 -2
- abstra_statics/dist/assets/{jsonMode.d6441e9d.js → jsonMode.9b45b375.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.9f7a5511.css → jwt-decode.c5760184.css} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.54a1ea22.js → jwt-decode.esm.3348bca5.js} +197 -197
- abstra_statics/dist/assets/{linters.a0f2aa84.js → linters.903f3240.js} +2 -2
- abstra_statics/dist/assets/{liquid.0c441ad2.js → liquid.233d5164.js} +2 -2
- abstra_statics/dist/assets/member.d878cf3f.js +2 -0
- abstra_statics/dist/assets/metadata.9f7495db.js +2 -0
- abstra_statics/dist/assets/omniChatStore.40ad0b1b.js +9 -0
- abstra_statics/dist/assets/omniChatStore.b58e3bed.css +1 -0
- abstra_statics/dist/assets/{organization.668d1b58.js → organization.8f08e075.js} +2 -2
- abstra_statics/dist/assets/os.8ffdbf05.js +2 -0
- abstra_statics/dist/assets/player.7112583e.js +2 -0
- abstra_statics/dist/assets/{plotly.min.2a87d7e2.js → plotly.min.da87d61b.js} +2 -2
- abstra_statics/dist/assets/polling.f547718c.js +2 -0
- abstra_statics/dist/assets/{project.1b8374f4.js → project.2483de10.js} +2 -2
- abstra_statics/dist/assets/{python.7ac27a56.js → python.1bdbd404.js} +3 -3
- abstra_statics/dist/assets/{razor.860a0279.js → razor.be821b87.js} +3 -3
- abstra_statics/dist/assets/{record.e83a2eb2.js → record.a108da5a.js} +2 -2
- abstra_statics/dist/assets/redirect.eedb2bf6.js +2 -0
- abstra_statics/dist/assets/{repository.3a331f0f.js → repository.353e892d.js} +2 -2
- abstra_statics/dist/assets/repository.48119e01.js +2 -0
- abstra_statics/dist/assets/repository.677ca13c.js +2 -0
- abstra_statics/dist/assets/{router.4dfadf5d.js → router.c6e27700.js} +4 -4
- abstra_statics/dist/assets/router.c7abfb0c.js +2 -0
- abstra_statics/dist/assets/string.998fa621.js +2 -0
- abstra_statics/dist/assets/{tables.1bcb1140.js → tables.9701f90c.js} +2 -2
- abstra_statics/dist/assets/tasksController.5db769f7.js +4 -0
- abstra_statics/dist/assets/{toggleHighContrast.9535bf54.js → toggleHighContrast.23d5a1ab.js} +7 -7
- abstra_statics/dist/assets/{tsMode.c0f9fe1a.js → tsMode.4558d65a.js} +2 -2
- abstra_statics/dist/assets/{typescript.310eae6d.js → typescript.4445d2fa.js} +3 -3
- abstra_statics/dist/assets/url.5d02a63f.js +2 -0
- abstra_statics/dist/assets/{useCodebaseEvents.276cc8f0.js → useCodebaseEvents.6ebbc5a2.js} +2 -2
- abstra_statics/dist/assets/useTables.4d5edd80.js +2 -0
- abstra_statics/dist/assets/userStore.34b8f1eb.js +2 -0
- abstra_statics/dist/assets/uuid.6980e2bb.js +2 -0
- abstra_statics/dist/assets/vue-flow-background.f1022925.js +2 -0
- abstra_statics/dist/assets/{vue-flow-core.6cb99d32.js → vue-flow-core.0de753a6.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.e3d34d0e.js → vue-quill.esm-bundler.8f4ad2b3.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.fac1e9a9.js → workspaceStore.5d3f2aec.js} +2 -2
- abstra_statics/dist/assets/{xml.04864db4.js → xml.8a25758b.js} +3 -3
- abstra_statics/dist/assets/{yaml.f30375fe.js → yaml.e466330b.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +15 -15
- abstra_statics/dist/player.html +10 -10
- abstra/connectors/banking/__init__.py +0 -0
- abstra/connectors/banking/brazil.py +0 -5
- abstra_internals/services/banking/__init__.py +0 -3
- abstra_internals/services/banking/banking_service.py +0 -104
- abstra_internals/services/banking/client_factory.py +0 -70
- abstra_internals/services/banking/sdk/__init__.py +0 -0
- abstra_internals/services/banking/sdk/generate_totalbank_api.py +0 -383
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.aefce2d3.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.28bc9fc9.js +0 -2
- abstra_statics/dist/assets/ApiKeys.3c1e70dc.js +0 -2
- abstra_statics/dist/assets/App.9d8bd2aa.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.a64c7cee.js +0 -2
- abstra_statics/dist/assets/BaseLayout.72a6c8f2.js +0 -2
- abstra_statics/dist/assets/Billing.6b07f282.js +0 -2
- abstra_statics/dist/assets/Builds.ace9e3da.css +0 -1
- abstra_statics/dist/assets/Builds.d8c5c61b.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.9ff269cc.js +0 -2
- abstra_statics/dist/assets/ConnectorsView.33c5380f.css +0 -1
- abstra_statics/dist/assets/ConnectorsView.e670738b.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.3ca66327.js +0 -2
- abstra_statics/dist/assets/ContentLayout.0db8d7fb.js +0 -2
- abstra_statics/dist/assets/CrudView.cc6aeaf0.js +0 -2
- abstra_statics/dist/assets/CrudView.e24590ae.css +0 -1
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.689d8ce7.js +0 -2
- abstra_statics/dist/assets/EditorLogin.691452b4.js +0 -2
- abstra_statics/dist/assets/EditorsView.fcdf0186.js +0 -2
- abstra_statics/dist/assets/EnvVars.5519b4ce.js +0 -2
- abstra_statics/dist/assets/Error.11fd1f21.js +0 -2
- abstra_statics/dist/assets/Files.6ea18d46.js +0 -2
- abstra_statics/dist/assets/Files.d0e8d2ff.css +0 -1
- abstra_statics/dist/assets/Form.09de384c.js +0 -2
- abstra_statics/dist/assets/FormRunner.15be6fa0.js +0 -2
- abstra_statics/dist/assets/Home.3794e8b4.css +0 -1
- abstra_statics/dist/assets/Home.782c5702.js +0 -2
- abstra_statics/dist/assets/Home.7c495aa9.js +0 -2
- abstra_statics/dist/assets/Live.37415b2d.css +0 -1
- abstra_statics/dist/assets/Live.48c10605.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.82ac3d44.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.66639b08.js +0 -2
- abstra_statics/dist/assets/Login.4a05f5c5.js +0 -2
- abstra_statics/dist/assets/Login.4e852955.js +0 -2
- abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.5161f328.js +0 -2
- abstra_statics/dist/assets/Logo.65e0b37c.js +0 -2
- abstra_statics/dist/assets/Logs.7d1acf32.js +0 -2
- abstra_statics/dist/assets/LogsController.0eb2eb30.js +0 -2
- abstra_statics/dist/assets/LogsController.fb0d96c2.css +0 -1
- abstra_statics/dist/assets/Main.0313f4fc.js +0 -2
- abstra_statics/dist/assets/Navbar.2dc6d02c.css +0 -1
- abstra_statics/dist/assets/Navbar.ef64aa09.js +0 -2
- abstra_statics/dist/assets/NewEditor.b9c410fe.css +0 -1
- abstra_statics/dist/assets/NewEditor.c928dbe9.js +0 -8
- abstra_statics/dist/assets/OidcLoginCallback.42a7c4f9.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.35931a68.js +0 -2
- abstra_statics/dist/assets/OmniChat.73d9f6bb.js +0 -6
- abstra_statics/dist/assets/OmniChat.a21fec40.css +0 -1
- abstra_statics/dist/assets/OnboardingView.25042384.js +0 -2
- abstra_statics/dist/assets/OnboardingView.3996b08d.css +0 -1
- abstra_statics/dist/assets/Organization.66f64939.js +0 -2
- abstra_statics/dist/assets/Organizations.47868beb.js +0 -2
- abstra_statics/dist/assets/PhBookBookmark.vue.41108214.js +0 -2
- abstra_statics/dist/assets/PhChats.vue.71e5cb89.js +0 -2
- abstra_statics/dist/assets/PhCopySimple.vue.5d0f839d.js +0 -2
- abstra_statics/dist/assets/PhPencilSimple.vue.ec0eebb4.js +0 -2
- abstra_statics/dist/assets/PhRocket.vue.261a42b2.js +0 -2
- abstra_statics/dist/assets/PhUserList.vue.e0b8c21b.js +0 -2
- abstra_statics/dist/assets/PhWebhooksLogo.vue.d164db1e.js +0 -2
- abstra_statics/dist/assets/PlayerConfigProvider.28e29025.js +0 -2
- abstra_statics/dist/assets/PlayerNavbar.aaad1dfd.js +0 -2
- abstra_statics/dist/assets/Project.2de506d7.js +0 -2
- abstra_statics/dist/assets/Project.9c75c141.css +0 -1
- abstra_statics/dist/assets/ProjectLogin.22c8b093.js +0 -2
- abstra_statics/dist/assets/ProjectSettings.d065c292.js +0 -2
- abstra_statics/dist/assets/ProjectsView.16d8ecf6.css +0 -1
- abstra_statics/dist/assets/ProjectsView.cbd118ac.js +0 -2
- abstra_statics/dist/assets/SaveButton.428227de.js +0 -2
- abstra_statics/dist/assets/SaveButton.932ac6b8.css +0 -1
- abstra_statics/dist/assets/Sidebar.41173d8e.js +0 -2
- abstra_statics/dist/assets/Sql.90e6e2ba.css +0 -1
- abstra_statics/dist/assets/Sql.c070dd2c.js +0 -5
- abstra_statics/dist/assets/TableCard.c9a1cf41.js +0 -2
- abstra_statics/dist/assets/TableEditor.1bc47a95.js +0 -2
- abstra_statics/dist/assets/Tables.eff119eb.js +0 -2
- abstra_statics/dist/assets/TablesDiagram.d633acaf.js +0 -15
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.cf7e34c5.js +0 -2
- abstra_statics/dist/assets/Tasks.c311b05f.js +0 -2
- abstra_statics/dist/assets/View.dd7ba25a.js +0 -2
- abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.e6563207.js +0 -2
- abstra_statics/dist/assets/Watermark.9c9358e3.js +0 -2
- abstra_statics/dist/assets/WebEditor.83f2a960.js +0 -2
- abstra_statics/dist/assets/WebEditor.c2e271d1.css +0 -1
- abstra_statics/dist/assets/WidgetPreview.7c6a231c.js +0 -2
- abstra_statics/dist/assets/ant-design.42419021.js +0 -2
- abstra_statics/dist/assets/apiKey.403049eb.js +0 -2
- abstra_statics/dist/assets/asyncComputed.47aec2b5.js +0 -2
- abstra_statics/dist/assets/colorHelpers.50ced1e9.js +0 -2
- abstra_statics/dist/assets/constants.d569f33d.js +0 -2
- abstra_statics/dist/assets/contracts.generated.aefe8d0a.js +0 -2
- abstra_statics/dist/assets/dayjs.7f71c60a.js +0 -2
- abstra_statics/dist/assets/editor.02184ced.js +0 -2
- abstra_statics/dist/assets/editor.main.0f931e87.js +0 -2
- abstra_statics/dist/assets/fetch.1b3d01a0.js +0 -2
- abstra_statics/dist/assets/index.581e2edd.js +0 -2
- abstra_statics/dist/assets/index.966ac1b9.js +0 -2
- abstra_statics/dist/assets/index.c7a996a6.js +0 -2
- abstra_statics/dist/assets/index.d53182ed.js +0 -4
- abstra_statics/dist/assets/member.2260c37e.js +0 -2
- abstra_statics/dist/assets/metadata.0098e20c.js +0 -2
- abstra_statics/dist/assets/omniChatStore.dd7a1c46.js +0 -8
- abstra_statics/dist/assets/omniChatStore.ec95fb81.css +0 -1
- abstra_statics/dist/assets/player.4ab4aed5.js +0 -2
- abstra_statics/dist/assets/polling.b5a32c22.js +0 -2
- abstra_statics/dist/assets/redirect.586749f4.js +0 -2
- abstra_statics/dist/assets/repository.66c7567c.js +0 -2
- abstra_statics/dist/assets/router.06ee2b9d.js +0 -2
- abstra_statics/dist/assets/string.61e11a30.js +0 -2
- abstra_statics/dist/assets/tasksController.f3adf725.js +0 -4
- abstra_statics/dist/assets/url.f5664225.js +0 -2
- abstra_statics/dist/assets/useTables.18fc3efd.js +0 -2
- abstra_statics/dist/assets/userStore.6ab1e5ac.js +0 -2
- abstra_statics/dist/assets/uuid.5b8ba8af.js +0 -2
- abstra_statics/dist/assets/vue-flow-background.af096866.js +0 -2
- {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/WHEEL +0 -0
- {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/entry_points.txt +0 -0
- {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/top_level.txt +0 -0
|
@@ -1924,6 +1924,18 @@ class CommonAbstraJsonV15Home:
|
|
|
1924
1924
|
)
|
|
1925
1925
|
|
|
1926
1926
|
|
|
1927
|
+
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
1928
|
+
|
|
1929
|
+
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
1930
|
+
|
|
1931
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
1932
|
+
|
|
1933
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
1934
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
1935
|
+
]
|
|
1936
|
+
|
|
1937
|
+
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
1938
|
+
|
|
1927
1939
|
CommonAbstraJsonV15DefinitionsTransitionId = str
|
|
1928
1940
|
|
|
1929
1941
|
CommonAbstraJsonV15DefinitionsTransitionTargetId = str
|
|
@@ -1989,37 +2001,25 @@ CommonAbstraJsonV15DefinitionsJobStageTransitions = typing.List[
|
|
|
1989
2001
|
CommonAbstraJsonV15DefinitionsJobStageTransitionsItem
|
|
1990
2002
|
]
|
|
1991
2003
|
|
|
1992
|
-
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
1993
|
-
|
|
1994
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
1995
|
-
|
|
1996
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
1997
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
1998
|
-
]
|
|
1999
|
-
|
|
2000
|
-
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
2001
|
-
|
|
2002
|
-
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
2003
|
-
|
|
2004
2004
|
CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
2005
2005
|
|
|
2006
2006
|
|
|
2007
2007
|
@dataclass
|
|
2008
2008
|
class CommonAbstraJsonV15DefinitionsJobStage:
|
|
2009
|
-
transitions: CommonAbstraJsonV15DefinitionsJobStageTransitions
|
|
2010
|
-
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2011
|
-
workflow_position: CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition
|
|
2012
|
-
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2013
2009
|
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2010
|
+
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2011
|
+
workflow_position: CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition
|
|
2012
|
+
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2013
|
+
transitions: CommonAbstraJsonV15DefinitionsJobStageTransitions
|
|
2014
2014
|
schedule: CommonAbstraJsonV15DefinitionsJobStageSchedule
|
|
2015
2015
|
|
|
2016
2016
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2017
2017
|
data = {}
|
|
2018
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2019
|
-
data["id"] = self.id
|
|
2020
|
-
data["workflow_position"] = self.workflow_position
|
|
2021
|
-
data["file"] = self.file
|
|
2022
2018
|
data["title"] = self.title
|
|
2019
|
+
data["file"] = self.file
|
|
2020
|
+
data["workflow_position"] = self.workflow_position
|
|
2021
|
+
data["id"] = self.id
|
|
2022
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2023
2023
|
data["schedule"] = self.schedule
|
|
2024
2024
|
return data
|
|
2025
2025
|
|
|
@@ -2028,14 +2028,14 @@ class CommonAbstraJsonV15DefinitionsJobStage:
|
|
|
2028
2028
|
cls, data: typing.Dict[str, typing.Any]
|
|
2029
2029
|
) -> "CommonAbstraJsonV15DefinitionsJobStage":
|
|
2030
2030
|
return cls(
|
|
2031
|
+
title=str(data["title"]),
|
|
2032
|
+
file=str(data["file"]),
|
|
2033
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2034
|
+
id=str(data["id"]),
|
|
2031
2035
|
transitions=[
|
|
2032
2036
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2033
2037
|
for item in data["transitions"]
|
|
2034
2038
|
],
|
|
2035
|
-
id=str(data["id"]),
|
|
2036
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2037
|
-
file=str(data["file"]),
|
|
2038
|
-
title=str(data["title"]),
|
|
2039
2039
|
schedule=str(data["schedule"]),
|
|
2040
2040
|
)
|
|
2041
2041
|
|
|
@@ -2044,15 +2044,9 @@ CommonAbstraJsonV15JobsItem = CommonAbstraJsonV15DefinitionsJobStage
|
|
|
2044
2044
|
|
|
2045
2045
|
CommonAbstraJsonV15Jobs = typing.List[CommonAbstraJsonV15JobsItem]
|
|
2046
2046
|
|
|
2047
|
-
|
|
2048
|
-
CommonAbstraJsonV15DefinitionsTransition
|
|
2049
|
-
)
|
|
2050
|
-
|
|
2051
|
-
CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
2052
|
-
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2053
|
-
]
|
|
2047
|
+
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2054
2048
|
|
|
2055
|
-
|
|
2049
|
+
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2056
2050
|
|
|
2057
2051
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
2058
2052
|
|
|
@@ -2060,38 +2054,44 @@ CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
2060
2054
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem
|
|
2061
2055
|
]
|
|
2062
2056
|
|
|
2063
|
-
|
|
2057
|
+
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2064
2058
|
|
|
2065
|
-
|
|
2059
|
+
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem = (
|
|
2060
|
+
CommonAbstraJsonV15DefinitionsTransition
|
|
2061
|
+
)
|
|
2066
2062
|
|
|
2067
|
-
|
|
2063
|
+
CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
2064
|
+
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2065
|
+
]
|
|
2066
|
+
|
|
2067
|
+
CommonAbstraJsonV15DefinitionsHookStageEnabled = bool
|
|
2068
2068
|
|
|
2069
2069
|
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2070
2070
|
|
|
2071
|
-
|
|
2071
|
+
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2072
2072
|
|
|
2073
2073
|
|
|
2074
2074
|
@dataclass
|
|
2075
2075
|
class CommonAbstraJsonV15DefinitionsHookStage:
|
|
2076
|
-
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2077
|
-
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2078
|
-
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2079
|
-
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2080
2076
|
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2081
|
-
|
|
2082
|
-
|
|
2077
|
+
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2078
|
+
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2079
|
+
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2080
|
+
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2083
2081
|
enabled: CommonAbstraJsonV15DefinitionsHookStageEnabled
|
|
2082
|
+
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2083
|
+
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2084
2084
|
|
|
2085
2085
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2086
2086
|
data = {}
|
|
2087
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2088
|
-
data["id"] = self.id
|
|
2089
|
-
data["workflow_position"] = self.workflow_position
|
|
2090
|
-
data["file"] = self.file
|
|
2091
2087
|
data["title"] = self.title
|
|
2092
|
-
data["
|
|
2093
|
-
data["
|
|
2088
|
+
data["file"] = self.file
|
|
2089
|
+
data["workflow_position"] = self.workflow_position
|
|
2090
|
+
data["id"] = self.id
|
|
2091
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2094
2092
|
data["enabled"] = self.enabled
|
|
2093
|
+
data["path"] = self.path
|
|
2094
|
+
data["is_initial"] = self.is_initial
|
|
2095
2095
|
return data
|
|
2096
2096
|
|
|
2097
2097
|
@classmethod
|
|
@@ -2099,17 +2099,17 @@ class CommonAbstraJsonV15DefinitionsHookStage:
|
|
|
2099
2099
|
cls, data: typing.Dict[str, typing.Any]
|
|
2100
2100
|
) -> "CommonAbstraJsonV15DefinitionsHookStage":
|
|
2101
2101
|
return cls(
|
|
2102
|
+
title=str(data["title"]),
|
|
2103
|
+
file=str(data["file"]),
|
|
2104
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2105
|
+
id=str(data["id"]),
|
|
2102
2106
|
transitions=[
|
|
2103
2107
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2104
2108
|
for item in data["transitions"]
|
|
2105
2109
|
],
|
|
2106
|
-
id=str(data["id"]),
|
|
2107
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2108
|
-
file=str(data["file"]),
|
|
2109
|
-
title=str(data["title"]),
|
|
2110
|
-
is_initial=bool(data["is_initial"]),
|
|
2111
|
-
path=str(data["path"]),
|
|
2112
2110
|
enabled=bool(data["enabled"]),
|
|
2111
|
+
path=str(data["path"]),
|
|
2112
|
+
is_initial=bool(data["is_initial"]),
|
|
2113
2113
|
)
|
|
2114
2114
|
|
|
2115
2115
|
|
|
@@ -2117,15 +2117,9 @@ CommonAbstraJsonV15HooksItem = CommonAbstraJsonV15DefinitionsHookStage
|
|
|
2117
2117
|
|
|
2118
2118
|
CommonAbstraJsonV15Hooks = typing.List[CommonAbstraJsonV15HooksItem]
|
|
2119
2119
|
|
|
2120
|
-
|
|
2121
|
-
CommonAbstraJsonV15DefinitionsTransition
|
|
2122
|
-
)
|
|
2123
|
-
|
|
2124
|
-
CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
2125
|
-
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem
|
|
2126
|
-
]
|
|
2120
|
+
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2127
2121
|
|
|
2128
|
-
|
|
2122
|
+
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2129
2123
|
|
|
2130
2124
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
2131
2125
|
|
|
@@ -2133,11 +2127,15 @@ CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
2133
2127
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem
|
|
2134
2128
|
]
|
|
2135
2129
|
|
|
2136
|
-
|
|
2130
|
+
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2137
2131
|
|
|
2138
|
-
|
|
2132
|
+
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem = (
|
|
2133
|
+
CommonAbstraJsonV15DefinitionsTransition
|
|
2134
|
+
)
|
|
2139
2135
|
|
|
2140
|
-
|
|
2136
|
+
CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
2137
|
+
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem
|
|
2138
|
+
]
|
|
2141
2139
|
|
|
2142
2140
|
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2143
2141
|
|
|
@@ -2148,16 +2146,7 @@ CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
2148
2146
|
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2149
2147
|
]
|
|
2150
2148
|
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
2154
|
-
|
|
2155
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
2156
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageString,
|
|
2157
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2158
|
-
]
|
|
2159
|
-
|
|
2160
|
-
CommonAbstraJsonV15DefinitionsFormStageAllowRestart = bool
|
|
2149
|
+
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2161
2150
|
|
|
2162
2151
|
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2163
2152
|
|
|
@@ -2168,6 +2157,36 @@ CommonAbstraJsonV15DefinitionsFormStageEndMessage = typing.Union[
|
|
|
2168
2157
|
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull,
|
|
2169
2158
|
]
|
|
2170
2159
|
|
|
2160
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2161
|
+
|
|
2162
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
@dataclass
|
|
2166
|
+
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2167
|
+
variable_name: (
|
|
2168
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2169
|
+
)
|
|
2170
|
+
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2171
|
+
|
|
2172
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2173
|
+
data = {}
|
|
2174
|
+
data["variable_name"] = self.variable_name
|
|
2175
|
+
data["enabled"] = self.enabled
|
|
2176
|
+
return data
|
|
2177
|
+
|
|
2178
|
+
@classmethod
|
|
2179
|
+
def from_dict(
|
|
2180
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
2181
|
+
) -> "CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger":
|
|
2182
|
+
return cls(
|
|
2183
|
+
variable_name=str(data["variable_name"]),
|
|
2184
|
+
enabled=bool(data["enabled"]),
|
|
2185
|
+
)
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
2189
|
+
|
|
2171
2190
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
2172
2191
|
|
|
2173
2192
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -2186,6 +2205,10 @@ CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
2186
2205
|
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2187
2206
|
]
|
|
2188
2207
|
|
|
2208
|
+
CommonAbstraJsonV15DefinitionsFormStageAllowRestart = bool
|
|
2209
|
+
|
|
2210
|
+
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2211
|
+
|
|
2189
2212
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic = bool
|
|
2190
2213
|
|
|
2191
2214
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -2216,100 +2239,73 @@ class CommonAbstraJsonV15DefinitionsFormStageAccessControl:
|
|
|
2216
2239
|
)
|
|
2217
2240
|
|
|
2218
2241
|
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2222
|
-
|
|
2223
|
-
CommonAbstraJsonV15DefinitionsFormStageErrorMessageString = str
|
|
2242
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString = str
|
|
2224
2243
|
|
|
2225
|
-
|
|
2244
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2226
2245
|
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2246
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
2247
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString,
|
|
2248
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull,
|
|
2230
2249
|
]
|
|
2231
2250
|
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
@dataclass
|
|
2238
|
-
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2239
|
-
variable_name: (
|
|
2240
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2241
|
-
)
|
|
2242
|
-
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2243
|
-
|
|
2244
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2245
|
-
data = {}
|
|
2246
|
-
data["variable_name"] = self.variable_name
|
|
2247
|
-
data["enabled"] = self.enabled
|
|
2248
|
-
return data
|
|
2251
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
2249
2252
|
|
|
2250
|
-
|
|
2251
|
-
def from_dict(
|
|
2252
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
2253
|
-
) -> "CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger":
|
|
2254
|
-
return cls(
|
|
2255
|
-
variable_name=str(data["variable_name"]),
|
|
2256
|
-
enabled=bool(data["enabled"]),
|
|
2257
|
-
)
|
|
2253
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
2258
2254
|
|
|
2255
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
2256
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageString,
|
|
2257
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2258
|
+
]
|
|
2259
2259
|
|
|
2260
|
-
|
|
2260
|
+
CommonAbstraJsonV15DefinitionsFormStageErrorMessageString = str
|
|
2261
2261
|
|
|
2262
|
-
|
|
2262
|
+
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull = type(None)
|
|
2263
2263
|
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2264
|
+
CommonAbstraJsonV15DefinitionsFormStageErrorMessage = typing.Union[
|
|
2265
|
+
CommonAbstraJsonV15DefinitionsFormStageErrorMessageString,
|
|
2266
|
+
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull,
|
|
2267
2267
|
]
|
|
2268
2268
|
|
|
2269
2269
|
|
|
2270
2270
|
@dataclass
|
|
2271
2271
|
class CommonAbstraJsonV15DefinitionsFormStage:
|
|
2272
|
-
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
2273
|
-
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2274
|
-
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
2275
|
-
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2276
2272
|
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
2277
|
-
|
|
2273
|
+
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2274
|
+
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
2275
|
+
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2276
|
+
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
2278
2277
|
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2279
|
-
|
|
2280
|
-
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2278
|
+
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2281
2279
|
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2280
|
+
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2281
|
+
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2282
2282
|
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2283
2283
|
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
2284
|
-
|
|
2285
|
-
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2284
|
+
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2286
2285
|
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
2287
|
-
|
|
2288
|
-
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2286
|
+
access_control: CommonAbstraJsonV15DefinitionsFormStageAccessControl
|
|
2289
2287
|
welcome_title: CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle
|
|
2288
|
+
start_message: CommonAbstraJsonV15DefinitionsFormStageStartMessage
|
|
2289
|
+
error_message: CommonAbstraJsonV15DefinitionsFormStageErrorMessage
|
|
2290
2290
|
|
|
2291
2291
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2292
2292
|
data = {}
|
|
2293
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2294
|
-
data["id"] = self.id
|
|
2295
|
-
data["workflow_position"] = self.workflow_position
|
|
2296
|
-
data["file"] = self.file
|
|
2297
2293
|
data["title"] = self.title
|
|
2298
|
-
data["
|
|
2299
|
-
data["
|
|
2294
|
+
data["file"] = self.file
|
|
2295
|
+
data["workflow_position"] = self.workflow_position
|
|
2296
|
+
data["id"] = self.id
|
|
2297
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2298
|
+
data["restart_button_text"] = (
|
|
2300
2299
|
self.restart_button_text
|
|
2301
2300
|
if isinstance(self.restart_button_text, str)
|
|
2302
2301
|
else self.restart_button_text
|
|
2303
2302
|
)
|
|
2304
|
-
data["
|
|
2305
|
-
self.start_message
|
|
2306
|
-
if isinstance(self.start_message, str)
|
|
2307
|
-
else self.start_message
|
|
2308
|
-
)
|
|
2309
|
-
data["allow_restart"] = self.allow_restart
|
|
2303
|
+
data["path"] = self.path
|
|
2310
2304
|
data["end_message"] = (
|
|
2311
2305
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2312
2306
|
)
|
|
2307
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2308
|
+
data["auto_start"] = self.auto_start
|
|
2313
2309
|
data["start_button_text"] = (
|
|
2314
2310
|
self.start_button_text
|
|
2315
2311
|
if isinstance(self.start_button_text, str)
|
|
@@ -2320,20 +2316,24 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2320
2316
|
if isinstance(self.timeout_message, str)
|
|
2321
2317
|
else self.timeout_message
|
|
2322
2318
|
)
|
|
2323
|
-
data["
|
|
2324
|
-
data["auto_start"] = self.auto_start
|
|
2319
|
+
data["allow_restart"] = self.allow_restart
|
|
2325
2320
|
data["is_initial"] = self.is_initial
|
|
2326
|
-
data["
|
|
2327
|
-
self.error_message
|
|
2328
|
-
if isinstance(self.error_message, str)
|
|
2329
|
-
else self.error_message
|
|
2330
|
-
)
|
|
2331
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2321
|
+
data["access_control"] = self.access_control.to_dict()
|
|
2332
2322
|
data["welcome_title"] = (
|
|
2333
2323
|
self.welcome_title
|
|
2334
2324
|
if isinstance(self.welcome_title, str)
|
|
2335
2325
|
else self.welcome_title
|
|
2336
2326
|
)
|
|
2327
|
+
data["start_message"] = (
|
|
2328
|
+
self.start_message
|
|
2329
|
+
if isinstance(self.start_message, str)
|
|
2330
|
+
else self.start_message
|
|
2331
|
+
)
|
|
2332
|
+
data["error_message"] = (
|
|
2333
|
+
self.error_message
|
|
2334
|
+
if isinstance(self.error_message, str)
|
|
2335
|
+
else self.error_message
|
|
2336
|
+
)
|
|
2337
2337
|
return data
|
|
2338
2338
|
|
|
2339
2339
|
@classmethod
|
|
@@ -2341,31 +2341,29 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2341
2341
|
cls, data: typing.Dict[str, typing.Any]
|
|
2342
2342
|
) -> "CommonAbstraJsonV15DefinitionsFormStage":
|
|
2343
2343
|
return cls(
|
|
2344
|
+
title=str(data["title"]),
|
|
2345
|
+
file=str(data["file"]),
|
|
2346
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2347
|
+
id=str(data["id"]),
|
|
2344
2348
|
transitions=[
|
|
2345
2349
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2346
2350
|
for item in data["transitions"]
|
|
2347
2351
|
],
|
|
2348
|
-
id=str(data["id"]),
|
|
2349
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2350
|
-
file=str(data["file"]),
|
|
2351
|
-
title=str(data["title"]),
|
|
2352
|
-
path=str(data["path"]),
|
|
2353
2352
|
restart_button_text=(
|
|
2354
2353
|
str(data["restart_button_text"])
|
|
2355
2354
|
if isinstance(data["restart_button_text"], str)
|
|
2356
2355
|
else None
|
|
2357
2356
|
),
|
|
2358
|
-
|
|
2359
|
-
str(data["start_message"])
|
|
2360
|
-
if isinstance(data["start_message"], str)
|
|
2361
|
-
else None
|
|
2362
|
-
),
|
|
2363
|
-
allow_restart=bool(data["allow_restart"]),
|
|
2357
|
+
path=str(data["path"]),
|
|
2364
2358
|
end_message=(
|
|
2365
2359
|
str(data["end_message"])
|
|
2366
2360
|
if isinstance(data["end_message"], str)
|
|
2367
2361
|
else None
|
|
2368
2362
|
),
|
|
2363
|
+
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2364
|
+
data["notification_trigger"]
|
|
2365
|
+
),
|
|
2366
|
+
auto_start=bool(data["auto_start"]),
|
|
2369
2367
|
start_button_text=(
|
|
2370
2368
|
str(data["start_button_text"])
|
|
2371
2369
|
if isinstance(data["start_button_text"], str)
|
|
@@ -2376,24 +2374,26 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2376
2374
|
if isinstance(data["timeout_message"], str)
|
|
2377
2375
|
else None
|
|
2378
2376
|
),
|
|
2377
|
+
allow_restart=bool(data["allow_restart"]),
|
|
2378
|
+
is_initial=bool(data["is_initial"]),
|
|
2379
2379
|
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2380
2380
|
data["access_control"]
|
|
2381
2381
|
),
|
|
2382
|
-
auto_start=bool(data["auto_start"]),
|
|
2383
|
-
is_initial=bool(data["is_initial"]),
|
|
2384
|
-
error_message=(
|
|
2385
|
-
str(data["error_message"])
|
|
2386
|
-
if isinstance(data["error_message"], str)
|
|
2387
|
-
else None
|
|
2388
|
-
),
|
|
2389
|
-
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2390
|
-
data["notification_trigger"]
|
|
2391
|
-
),
|
|
2392
2382
|
welcome_title=(
|
|
2393
2383
|
str(data["welcome_title"])
|
|
2394
2384
|
if isinstance(data["welcome_title"], str)
|
|
2395
2385
|
else None
|
|
2396
2386
|
),
|
|
2387
|
+
start_message=(
|
|
2388
|
+
str(data["start_message"])
|
|
2389
|
+
if isinstance(data["start_message"], str)
|
|
2390
|
+
else None
|
|
2391
|
+
),
|
|
2392
|
+
error_message=(
|
|
2393
|
+
str(data["error_message"])
|
|
2394
|
+
if isinstance(data["error_message"], str)
|
|
2395
|
+
else None
|
|
2396
|
+
),
|
|
2397
2397
|
)
|
|
2398
2398
|
|
|
2399
2399
|
|
|
@@ -2401,15 +2401,9 @@ CommonAbstraJsonV15FormsItem = CommonAbstraJsonV15DefinitionsFormStage
|
|
|
2401
2401
|
|
|
2402
2402
|
CommonAbstraJsonV15Forms = typing.List[CommonAbstraJsonV15FormsItem]
|
|
2403
2403
|
|
|
2404
|
-
|
|
2405
|
-
CommonAbstraJsonV15DefinitionsTransition
|
|
2406
|
-
)
|
|
2407
|
-
|
|
2408
|
-
CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
2409
|
-
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
2410
|
-
]
|
|
2404
|
+
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
2411
2405
|
|
|
2412
|
-
|
|
2406
|
+
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2413
2407
|
|
|
2414
2408
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
2415
2409
|
|
|
@@ -2417,29 +2411,35 @@ CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
2417
2411
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem
|
|
2418
2412
|
]
|
|
2419
2413
|
|
|
2420
|
-
|
|
2414
|
+
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2421
2415
|
|
|
2422
|
-
|
|
2416
|
+
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem = (
|
|
2417
|
+
CommonAbstraJsonV15DefinitionsTransition
|
|
2418
|
+
)
|
|
2419
|
+
|
|
2420
|
+
CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
2421
|
+
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
2422
|
+
]
|
|
2423
2423
|
|
|
2424
2424
|
CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
2425
2425
|
|
|
2426
2426
|
|
|
2427
2427
|
@dataclass
|
|
2428
2428
|
class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
2429
|
-
transitions: CommonAbstraJsonV15DefinitionsScriptStageTransitions
|
|
2430
|
-
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2431
|
-
workflow_position: CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition
|
|
2432
|
-
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2433
2429
|
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
2430
|
+
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2431
|
+
workflow_position: CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition
|
|
2432
|
+
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2433
|
+
transitions: CommonAbstraJsonV15DefinitionsScriptStageTransitions
|
|
2434
2434
|
is_initial: CommonAbstraJsonV15DefinitionsScriptStageIsInitial
|
|
2435
2435
|
|
|
2436
2436
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2437
2437
|
data = {}
|
|
2438
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2439
|
-
data["id"] = self.id
|
|
2440
|
-
data["workflow_position"] = self.workflow_position
|
|
2441
|
-
data["file"] = self.file
|
|
2442
2438
|
data["title"] = self.title
|
|
2439
|
+
data["file"] = self.file
|
|
2440
|
+
data["workflow_position"] = self.workflow_position
|
|
2441
|
+
data["id"] = self.id
|
|
2442
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2443
2443
|
data["is_initial"] = self.is_initial
|
|
2444
2444
|
return data
|
|
2445
2445
|
|
|
@@ -2448,14 +2448,14 @@ class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
|
2448
2448
|
cls, data: typing.Dict[str, typing.Any]
|
|
2449
2449
|
) -> "CommonAbstraJsonV15DefinitionsScriptStage":
|
|
2450
2450
|
return cls(
|
|
2451
|
+
title=str(data["title"]),
|
|
2452
|
+
file=str(data["file"]),
|
|
2453
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2454
|
+
id=str(data["id"]),
|
|
2451
2455
|
transitions=[
|
|
2452
2456
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2453
2457
|
for item in data["transitions"]
|
|
2454
2458
|
],
|
|
2455
|
-
id=str(data["id"]),
|
|
2456
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2457
|
-
file=str(data["file"]),
|
|
2458
|
-
title=str(data["title"]),
|
|
2459
2459
|
is_initial=bool(data["is_initial"]),
|
|
2460
2460
|
)
|
|
2461
2461
|
|
|
@@ -2699,6 +2699,18 @@ class CommonAbstraJsonV14Home:
|
|
|
2699
2699
|
)
|
|
2700
2700
|
|
|
2701
2701
|
|
|
2702
|
+
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2703
|
+
|
|
2704
|
+
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2705
|
+
|
|
2706
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
2707
|
+
|
|
2708
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2709
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
2710
|
+
]
|
|
2711
|
+
|
|
2712
|
+
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2713
|
+
|
|
2702
2714
|
CommonAbstraJsonV14DefinitionsTransitionId = str
|
|
2703
2715
|
|
|
2704
2716
|
CommonAbstraJsonV14DefinitionsTransitionTargetId = str
|
|
@@ -2768,37 +2780,25 @@ CommonAbstraJsonV14DefinitionsJobStageTransitions = typing.List[
|
|
|
2768
2780
|
CommonAbstraJsonV14DefinitionsJobStageTransitionsItem
|
|
2769
2781
|
]
|
|
2770
2782
|
|
|
2771
|
-
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2772
|
-
|
|
2773
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
2774
|
-
|
|
2775
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2776
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
2777
|
-
]
|
|
2778
|
-
|
|
2779
|
-
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2780
|
-
|
|
2781
|
-
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2782
|
-
|
|
2783
2783
|
CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
2784
2784
|
|
|
2785
2785
|
|
|
2786
2786
|
@dataclass
|
|
2787
2787
|
class CommonAbstraJsonV14DefinitionsJobStage:
|
|
2788
|
-
transitions: CommonAbstraJsonV14DefinitionsJobStageTransitions
|
|
2789
|
-
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2790
|
-
workflow_position: CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition
|
|
2791
|
-
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2792
2788
|
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
2789
|
+
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2790
|
+
workflow_position: CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition
|
|
2791
|
+
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2792
|
+
transitions: CommonAbstraJsonV14DefinitionsJobStageTransitions
|
|
2793
2793
|
schedule: CommonAbstraJsonV14DefinitionsJobStageSchedule
|
|
2794
2794
|
|
|
2795
2795
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2796
2796
|
data = {}
|
|
2797
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2798
|
-
data["id"] = self.id
|
|
2799
|
-
data["workflow_position"] = self.workflow_position
|
|
2800
|
-
data["file"] = self.file
|
|
2801
2797
|
data["title"] = self.title
|
|
2798
|
+
data["file"] = self.file
|
|
2799
|
+
data["workflow_position"] = self.workflow_position
|
|
2800
|
+
data["id"] = self.id
|
|
2801
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2802
2802
|
data["schedule"] = self.schedule
|
|
2803
2803
|
return data
|
|
2804
2804
|
|
|
@@ -2807,14 +2807,14 @@ class CommonAbstraJsonV14DefinitionsJobStage:
|
|
|
2807
2807
|
cls, data: typing.Dict[str, typing.Any]
|
|
2808
2808
|
) -> "CommonAbstraJsonV14DefinitionsJobStage":
|
|
2809
2809
|
return cls(
|
|
2810
|
+
title=str(data["title"]),
|
|
2811
|
+
file=str(data["file"]),
|
|
2812
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2813
|
+
id=str(data["id"]),
|
|
2810
2814
|
transitions=[
|
|
2811
2815
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2812
2816
|
for item in data["transitions"]
|
|
2813
2817
|
],
|
|
2814
|
-
id=str(data["id"]),
|
|
2815
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2816
|
-
file=str(data["file"]),
|
|
2817
|
-
title=str(data["title"]),
|
|
2818
2818
|
schedule=str(data["schedule"]),
|
|
2819
2819
|
)
|
|
2820
2820
|
|
|
@@ -2823,15 +2823,9 @@ CommonAbstraJsonV14JobsItem = CommonAbstraJsonV14DefinitionsJobStage
|
|
|
2823
2823
|
|
|
2824
2824
|
CommonAbstraJsonV14Jobs = typing.List[CommonAbstraJsonV14JobsItem]
|
|
2825
2825
|
|
|
2826
|
-
|
|
2827
|
-
CommonAbstraJsonV14DefinitionsTransition
|
|
2828
|
-
)
|
|
2829
|
-
|
|
2830
|
-
CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
2831
|
-
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
2832
|
-
]
|
|
2826
|
+
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
2833
2827
|
|
|
2834
|
-
|
|
2828
|
+
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
2835
2829
|
|
|
2836
2830
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
2837
2831
|
|
|
@@ -2839,38 +2833,44 @@ CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
2839
2833
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem
|
|
2840
2834
|
]
|
|
2841
2835
|
|
|
2842
|
-
|
|
2836
|
+
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2843
2837
|
|
|
2844
|
-
|
|
2838
|
+
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem = (
|
|
2839
|
+
CommonAbstraJsonV14DefinitionsTransition
|
|
2840
|
+
)
|
|
2845
2841
|
|
|
2846
|
-
|
|
2842
|
+
CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
2843
|
+
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
2844
|
+
]
|
|
2845
|
+
|
|
2846
|
+
CommonAbstraJsonV14DefinitionsHookStageEnabled = bool
|
|
2847
2847
|
|
|
2848
2848
|
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2849
2849
|
|
|
2850
|
-
|
|
2850
|
+
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
2851
2851
|
|
|
2852
2852
|
|
|
2853
2853
|
@dataclass
|
|
2854
2854
|
class CommonAbstraJsonV14DefinitionsHookStage:
|
|
2855
|
-
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
2856
|
-
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2857
|
-
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
2858
|
-
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2859
2855
|
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
2860
|
-
|
|
2861
|
-
|
|
2856
|
+
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2857
|
+
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
2858
|
+
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2859
|
+
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
2862
2860
|
enabled: CommonAbstraJsonV14DefinitionsHookStageEnabled
|
|
2861
|
+
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
2862
|
+
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2863
2863
|
|
|
2864
2864
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2865
2865
|
data = {}
|
|
2866
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2867
|
-
data["id"] = self.id
|
|
2868
|
-
data["workflow_position"] = self.workflow_position
|
|
2869
|
-
data["file"] = self.file
|
|
2870
2866
|
data["title"] = self.title
|
|
2871
|
-
data["
|
|
2872
|
-
data["
|
|
2867
|
+
data["file"] = self.file
|
|
2868
|
+
data["workflow_position"] = self.workflow_position
|
|
2869
|
+
data["id"] = self.id
|
|
2870
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2873
2871
|
data["enabled"] = self.enabled
|
|
2872
|
+
data["path"] = self.path
|
|
2873
|
+
data["is_initial"] = self.is_initial
|
|
2874
2874
|
return data
|
|
2875
2875
|
|
|
2876
2876
|
@classmethod
|
|
@@ -2878,17 +2878,17 @@ class CommonAbstraJsonV14DefinitionsHookStage:
|
|
|
2878
2878
|
cls, data: typing.Dict[str, typing.Any]
|
|
2879
2879
|
) -> "CommonAbstraJsonV14DefinitionsHookStage":
|
|
2880
2880
|
return cls(
|
|
2881
|
+
title=str(data["title"]),
|
|
2882
|
+
file=str(data["file"]),
|
|
2883
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2884
|
+
id=str(data["id"]),
|
|
2881
2885
|
transitions=[
|
|
2882
2886
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2883
2887
|
for item in data["transitions"]
|
|
2884
2888
|
],
|
|
2885
|
-
id=str(data["id"]),
|
|
2886
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2887
|
-
file=str(data["file"]),
|
|
2888
|
-
title=str(data["title"]),
|
|
2889
|
-
is_initial=bool(data["is_initial"]),
|
|
2890
|
-
path=str(data["path"]),
|
|
2891
2889
|
enabled=bool(data["enabled"]),
|
|
2890
|
+
path=str(data["path"]),
|
|
2891
|
+
is_initial=bool(data["is_initial"]),
|
|
2892
2892
|
)
|
|
2893
2893
|
|
|
2894
2894
|
|
|
@@ -2896,15 +2896,9 @@ CommonAbstraJsonV14HooksItem = CommonAbstraJsonV14DefinitionsHookStage
|
|
|
2896
2896
|
|
|
2897
2897
|
CommonAbstraJsonV14Hooks = typing.List[CommonAbstraJsonV14HooksItem]
|
|
2898
2898
|
|
|
2899
|
-
|
|
2900
|
-
CommonAbstraJsonV14DefinitionsTransition
|
|
2901
|
-
)
|
|
2902
|
-
|
|
2903
|
-
CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
2904
|
-
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
2905
|
-
]
|
|
2899
|
+
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
2906
2900
|
|
|
2907
|
-
|
|
2901
|
+
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
2908
2902
|
|
|
2909
2903
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
2910
2904
|
|
|
@@ -2912,11 +2906,15 @@ CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
2912
2906
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem
|
|
2913
2907
|
]
|
|
2914
2908
|
|
|
2915
|
-
|
|
2909
|
+
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2916
2910
|
|
|
2917
|
-
|
|
2911
|
+
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem = (
|
|
2912
|
+
CommonAbstraJsonV14DefinitionsTransition
|
|
2913
|
+
)
|
|
2918
2914
|
|
|
2919
|
-
|
|
2915
|
+
CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
2916
|
+
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
2917
|
+
]
|
|
2920
2918
|
|
|
2921
2919
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
2922
2920
|
|
|
@@ -2927,18 +2925,9 @@ CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
2927
2925
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
2928
2926
|
]
|
|
2929
2927
|
|
|
2930
|
-
|
|
2928
|
+
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
2931
2929
|
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
2935
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageString,
|
|
2936
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
2937
|
-
]
|
|
2938
|
-
|
|
2939
|
-
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
2940
|
-
|
|
2941
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
2930
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
2942
2931
|
|
|
2943
2932
|
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
2944
2933
|
|
|
@@ -2947,6 +2936,36 @@ CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
|
2947
2936
|
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
2948
2937
|
]
|
|
2949
2938
|
|
|
2939
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2940
|
+
|
|
2941
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
@dataclass
|
|
2945
|
+
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
2946
|
+
variable_name: (
|
|
2947
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
2948
|
+
)
|
|
2949
|
+
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
2950
|
+
|
|
2951
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2952
|
+
data = {}
|
|
2953
|
+
data["variable_name"] = self.variable_name
|
|
2954
|
+
data["enabled"] = self.enabled
|
|
2955
|
+
return data
|
|
2956
|
+
|
|
2957
|
+
@classmethod
|
|
2958
|
+
def from_dict(
|
|
2959
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
2960
|
+
) -> "CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger":
|
|
2961
|
+
return cls(
|
|
2962
|
+
variable_name=str(data["variable_name"]),
|
|
2963
|
+
enabled=bool(data["enabled"]),
|
|
2964
|
+
)
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
2968
|
+
|
|
2950
2969
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
2951
2970
|
|
|
2952
2971
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -2965,6 +2984,10 @@ CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
2965
2984
|
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
2966
2985
|
]
|
|
2967
2986
|
|
|
2987
|
+
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
2988
|
+
|
|
2989
|
+
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
2990
|
+
|
|
2968
2991
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic = bool
|
|
2969
2992
|
|
|
2970
2993
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -2995,100 +3018,73 @@ class CommonAbstraJsonV14DefinitionsFormStageAccessControl:
|
|
|
2995
3018
|
)
|
|
2996
3019
|
|
|
2997
3020
|
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
3001
|
-
|
|
3002
|
-
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString = str
|
|
3021
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
3003
3022
|
|
|
3004
|
-
|
|
3023
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3005
3024
|
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3025
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3026
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
3027
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
3009
3028
|
]
|
|
3010
3029
|
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
@dataclass
|
|
3017
|
-
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
3018
|
-
variable_name: (
|
|
3019
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
3020
|
-
)
|
|
3021
|
-
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
3022
|
-
|
|
3023
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3024
|
-
data = {}
|
|
3025
|
-
data["variable_name"] = self.variable_name
|
|
3026
|
-
data["enabled"] = self.enabled
|
|
3027
|
-
return data
|
|
3030
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageString = str
|
|
3028
3031
|
|
|
3029
|
-
|
|
3030
|
-
def from_dict(
|
|
3031
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
3032
|
-
) -> "CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger":
|
|
3033
|
-
return cls(
|
|
3034
|
-
variable_name=str(data["variable_name"]),
|
|
3035
|
-
enabled=bool(data["enabled"]),
|
|
3036
|
-
)
|
|
3032
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull = type(None)
|
|
3037
3033
|
|
|
3034
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
3035
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageString,
|
|
3036
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3037
|
+
]
|
|
3038
3038
|
|
|
3039
|
-
|
|
3039
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString = str
|
|
3040
3040
|
|
|
3041
|
-
|
|
3041
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull = type(None)
|
|
3042
3042
|
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3043
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessage = typing.Union[
|
|
3044
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString,
|
|
3045
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull,
|
|
3046
3046
|
]
|
|
3047
3047
|
|
|
3048
3048
|
|
|
3049
3049
|
@dataclass
|
|
3050
3050
|
class CommonAbstraJsonV14DefinitionsFormStage:
|
|
3051
|
-
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3052
|
-
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3053
|
-
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3054
|
-
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3055
3051
|
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3056
|
-
|
|
3052
|
+
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3053
|
+
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3054
|
+
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3055
|
+
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3057
3056
|
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3058
|
-
|
|
3059
|
-
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3057
|
+
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3060
3058
|
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3059
|
+
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3060
|
+
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3061
3061
|
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3062
3062
|
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3063
|
-
|
|
3064
|
-
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3063
|
+
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3065
3064
|
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3066
|
-
|
|
3067
|
-
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3065
|
+
access_control: CommonAbstraJsonV14DefinitionsFormStageAccessControl
|
|
3068
3066
|
welcome_title: CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle
|
|
3067
|
+
start_message: CommonAbstraJsonV14DefinitionsFormStageStartMessage
|
|
3068
|
+
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3069
3069
|
|
|
3070
3070
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3071
3071
|
data = {}
|
|
3072
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3073
|
-
data["id"] = self.id
|
|
3074
|
-
data["workflow_position"] = self.workflow_position
|
|
3075
|
-
data["file"] = self.file
|
|
3076
3072
|
data["title"] = self.title
|
|
3077
|
-
data["
|
|
3073
|
+
data["file"] = self.file
|
|
3074
|
+
data["workflow_position"] = self.workflow_position
|
|
3075
|
+
data["id"] = self.id
|
|
3076
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3078
3077
|
data["restart_button_text"] = (
|
|
3079
3078
|
self.restart_button_text
|
|
3080
3079
|
if isinstance(self.restart_button_text, str)
|
|
3081
3080
|
else self.restart_button_text
|
|
3082
3081
|
)
|
|
3083
|
-
data["
|
|
3084
|
-
self.start_message
|
|
3085
|
-
if isinstance(self.start_message, str)
|
|
3086
|
-
else self.start_message
|
|
3087
|
-
)
|
|
3088
|
-
data["allow_restart"] = self.allow_restart
|
|
3082
|
+
data["path"] = self.path
|
|
3089
3083
|
data["end_message"] = (
|
|
3090
3084
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3091
3085
|
)
|
|
3086
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3087
|
+
data["auto_start"] = self.auto_start
|
|
3092
3088
|
data["start_button_text"] = (
|
|
3093
3089
|
self.start_button_text
|
|
3094
3090
|
if isinstance(self.start_button_text, str)
|
|
@@ -3099,20 +3095,24 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3099
3095
|
if isinstance(self.timeout_message, str)
|
|
3100
3096
|
else self.timeout_message
|
|
3101
3097
|
)
|
|
3102
|
-
data["
|
|
3103
|
-
data["auto_start"] = self.auto_start
|
|
3098
|
+
data["allow_restart"] = self.allow_restart
|
|
3104
3099
|
data["is_initial"] = self.is_initial
|
|
3105
|
-
data["
|
|
3106
|
-
self.error_message
|
|
3107
|
-
if isinstance(self.error_message, str)
|
|
3108
|
-
else self.error_message
|
|
3109
|
-
)
|
|
3110
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3100
|
+
data["access_control"] = self.access_control.to_dict()
|
|
3111
3101
|
data["welcome_title"] = (
|
|
3112
3102
|
self.welcome_title
|
|
3113
3103
|
if isinstance(self.welcome_title, str)
|
|
3114
3104
|
else self.welcome_title
|
|
3115
3105
|
)
|
|
3106
|
+
data["start_message"] = (
|
|
3107
|
+
self.start_message
|
|
3108
|
+
if isinstance(self.start_message, str)
|
|
3109
|
+
else self.start_message
|
|
3110
|
+
)
|
|
3111
|
+
data["error_message"] = (
|
|
3112
|
+
self.error_message
|
|
3113
|
+
if isinstance(self.error_message, str)
|
|
3114
|
+
else self.error_message
|
|
3115
|
+
)
|
|
3116
3116
|
return data
|
|
3117
3117
|
|
|
3118
3118
|
@classmethod
|
|
@@ -3120,31 +3120,29 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3120
3120
|
cls, data: typing.Dict[str, typing.Any]
|
|
3121
3121
|
) -> "CommonAbstraJsonV14DefinitionsFormStage":
|
|
3122
3122
|
return cls(
|
|
3123
|
+
title=str(data["title"]),
|
|
3124
|
+
file=str(data["file"]),
|
|
3125
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3126
|
+
id=str(data["id"]),
|
|
3123
3127
|
transitions=[
|
|
3124
3128
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3125
3129
|
for item in data["transitions"]
|
|
3126
3130
|
],
|
|
3127
|
-
id=str(data["id"]),
|
|
3128
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3129
|
-
file=str(data["file"]),
|
|
3130
|
-
title=str(data["title"]),
|
|
3131
|
-
path=str(data["path"]),
|
|
3132
3131
|
restart_button_text=(
|
|
3133
3132
|
str(data["restart_button_text"])
|
|
3134
3133
|
if isinstance(data["restart_button_text"], str)
|
|
3135
3134
|
else None
|
|
3136
3135
|
),
|
|
3137
|
-
|
|
3138
|
-
str(data["start_message"])
|
|
3139
|
-
if isinstance(data["start_message"], str)
|
|
3140
|
-
else None
|
|
3141
|
-
),
|
|
3142
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3136
|
+
path=str(data["path"]),
|
|
3143
3137
|
end_message=(
|
|
3144
3138
|
str(data["end_message"])
|
|
3145
3139
|
if isinstance(data["end_message"], str)
|
|
3146
3140
|
else None
|
|
3147
3141
|
),
|
|
3142
|
+
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3143
|
+
data["notification_trigger"]
|
|
3144
|
+
),
|
|
3145
|
+
auto_start=bool(data["auto_start"]),
|
|
3148
3146
|
start_button_text=(
|
|
3149
3147
|
str(data["start_button_text"])
|
|
3150
3148
|
if isinstance(data["start_button_text"], str)
|
|
@@ -3155,24 +3153,26 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3155
3153
|
if isinstance(data["timeout_message"], str)
|
|
3156
3154
|
else None
|
|
3157
3155
|
),
|
|
3156
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3157
|
+
is_initial=bool(data["is_initial"]),
|
|
3158
3158
|
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3159
3159
|
data["access_control"]
|
|
3160
3160
|
),
|
|
3161
|
-
auto_start=bool(data["auto_start"]),
|
|
3162
|
-
is_initial=bool(data["is_initial"]),
|
|
3163
|
-
error_message=(
|
|
3164
|
-
str(data["error_message"])
|
|
3165
|
-
if isinstance(data["error_message"], str)
|
|
3166
|
-
else None
|
|
3167
|
-
),
|
|
3168
|
-
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3169
|
-
data["notification_trigger"]
|
|
3170
|
-
),
|
|
3171
3161
|
welcome_title=(
|
|
3172
3162
|
str(data["welcome_title"])
|
|
3173
3163
|
if isinstance(data["welcome_title"], str)
|
|
3174
3164
|
else None
|
|
3175
3165
|
),
|
|
3166
|
+
start_message=(
|
|
3167
|
+
str(data["start_message"])
|
|
3168
|
+
if isinstance(data["start_message"], str)
|
|
3169
|
+
else None
|
|
3170
|
+
),
|
|
3171
|
+
error_message=(
|
|
3172
|
+
str(data["error_message"])
|
|
3173
|
+
if isinstance(data["error_message"], str)
|
|
3174
|
+
else None
|
|
3175
|
+
),
|
|
3176
3176
|
)
|
|
3177
3177
|
|
|
3178
3178
|
|
|
@@ -3180,15 +3180,9 @@ CommonAbstraJsonV14FormsItem = CommonAbstraJsonV14DefinitionsFormStage
|
|
|
3180
3180
|
|
|
3181
3181
|
CommonAbstraJsonV14Forms = typing.List[CommonAbstraJsonV14FormsItem]
|
|
3182
3182
|
|
|
3183
|
-
|
|
3184
|
-
CommonAbstraJsonV14DefinitionsTransition
|
|
3185
|
-
)
|
|
3186
|
-
|
|
3187
|
-
CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
3188
|
-
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem
|
|
3189
|
-
]
|
|
3183
|
+
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3190
3184
|
|
|
3191
|
-
|
|
3185
|
+
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3192
3186
|
|
|
3193
3187
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3194
3188
|
|
|
@@ -3196,29 +3190,35 @@ CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
3196
3190
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3197
3191
|
]
|
|
3198
3192
|
|
|
3199
|
-
|
|
3193
|
+
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3200
3194
|
|
|
3201
|
-
|
|
3195
|
+
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem = (
|
|
3196
|
+
CommonAbstraJsonV14DefinitionsTransition
|
|
3197
|
+
)
|
|
3198
|
+
|
|
3199
|
+
CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
3200
|
+
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem
|
|
3201
|
+
]
|
|
3202
3202
|
|
|
3203
3203
|
CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
3204
3204
|
|
|
3205
3205
|
|
|
3206
3206
|
@dataclass
|
|
3207
3207
|
class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
3208
|
-
transitions: CommonAbstraJsonV14DefinitionsScriptStageTransitions
|
|
3209
|
-
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3210
|
-
workflow_position: CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition
|
|
3211
|
-
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3212
3208
|
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3209
|
+
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3210
|
+
workflow_position: CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition
|
|
3211
|
+
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3212
|
+
transitions: CommonAbstraJsonV14DefinitionsScriptStageTransitions
|
|
3213
3213
|
is_initial: CommonAbstraJsonV14DefinitionsScriptStageIsInitial
|
|
3214
3214
|
|
|
3215
3215
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3216
3216
|
data = {}
|
|
3217
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3218
|
-
data["id"] = self.id
|
|
3219
|
-
data["workflow_position"] = self.workflow_position
|
|
3220
|
-
data["file"] = self.file
|
|
3221
3217
|
data["title"] = self.title
|
|
3218
|
+
data["file"] = self.file
|
|
3219
|
+
data["workflow_position"] = self.workflow_position
|
|
3220
|
+
data["id"] = self.id
|
|
3221
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3222
3222
|
data["is_initial"] = self.is_initial
|
|
3223
3223
|
return data
|
|
3224
3224
|
|
|
@@ -3227,14 +3227,14 @@ class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
|
3227
3227
|
cls, data: typing.Dict[str, typing.Any]
|
|
3228
3228
|
) -> "CommonAbstraJsonV14DefinitionsScriptStage":
|
|
3229
3229
|
return cls(
|
|
3230
|
+
title=str(data["title"]),
|
|
3231
|
+
file=str(data["file"]),
|
|
3232
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3233
|
+
id=str(data["id"]),
|
|
3230
3234
|
transitions=[
|
|
3231
3235
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3232
3236
|
for item in data["transitions"]
|
|
3233
3237
|
],
|
|
3234
|
-
id=str(data["id"]),
|
|
3235
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3236
|
-
file=str(data["file"]),
|
|
3237
|
-
title=str(data["title"]),
|
|
3238
3238
|
is_initial=bool(data["is_initial"]),
|
|
3239
3239
|
)
|
|
3240
3240
|
|
|
@@ -3478,6 +3478,18 @@ class CommonAbstraJsonV13Home:
|
|
|
3478
3478
|
)
|
|
3479
3479
|
|
|
3480
3480
|
|
|
3481
|
+
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3482
|
+
|
|
3483
|
+
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3484
|
+
|
|
3485
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
3486
|
+
|
|
3487
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3488
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
3489
|
+
]
|
|
3490
|
+
|
|
3491
|
+
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3492
|
+
|
|
3481
3493
|
CommonAbstraJsonV13DefinitionsTransitionId = str
|
|
3482
3494
|
|
|
3483
3495
|
CommonAbstraJsonV13DefinitionsTransitionTargetId = str
|
|
@@ -3543,37 +3555,25 @@ CommonAbstraJsonV13DefinitionsJobStageTransitions = typing.List[
|
|
|
3543
3555
|
CommonAbstraJsonV13DefinitionsJobStageTransitionsItem
|
|
3544
3556
|
]
|
|
3545
3557
|
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
3549
|
-
|
|
3550
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3551
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
3552
|
-
]
|
|
3553
|
-
|
|
3554
|
-
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3555
|
-
|
|
3556
|
-
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3557
|
-
|
|
3558
|
-
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
3558
|
+
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
3559
3559
|
|
|
3560
3560
|
|
|
3561
3561
|
@dataclass
|
|
3562
3562
|
class CommonAbstraJsonV13DefinitionsJobStage:
|
|
3563
|
-
transitions: CommonAbstraJsonV13DefinitionsJobStageTransitions
|
|
3564
|
-
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3565
|
-
workflow_position: CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition
|
|
3566
|
-
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3567
3563
|
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
3564
|
+
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3565
|
+
workflow_position: CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition
|
|
3566
|
+
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3567
|
+
transitions: CommonAbstraJsonV13DefinitionsJobStageTransitions
|
|
3568
3568
|
schedule: CommonAbstraJsonV13DefinitionsJobStageSchedule
|
|
3569
3569
|
|
|
3570
3570
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3571
3571
|
data = {}
|
|
3572
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3573
|
-
data["id"] = self.id
|
|
3574
|
-
data["workflow_position"] = self.workflow_position
|
|
3575
|
-
data["file"] = self.file
|
|
3576
3572
|
data["title"] = self.title
|
|
3573
|
+
data["file"] = self.file
|
|
3574
|
+
data["workflow_position"] = self.workflow_position
|
|
3575
|
+
data["id"] = self.id
|
|
3576
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3577
3577
|
data["schedule"] = self.schedule
|
|
3578
3578
|
return data
|
|
3579
3579
|
|
|
@@ -3582,14 +3582,14 @@ class CommonAbstraJsonV13DefinitionsJobStage:
|
|
|
3582
3582
|
cls, data: typing.Dict[str, typing.Any]
|
|
3583
3583
|
) -> "CommonAbstraJsonV13DefinitionsJobStage":
|
|
3584
3584
|
return cls(
|
|
3585
|
+
title=str(data["title"]),
|
|
3586
|
+
file=str(data["file"]),
|
|
3587
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3588
|
+
id=str(data["id"]),
|
|
3585
3589
|
transitions=[
|
|
3586
3590
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3587
3591
|
for item in data["transitions"]
|
|
3588
3592
|
],
|
|
3589
|
-
id=str(data["id"]),
|
|
3590
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3591
|
-
file=str(data["file"]),
|
|
3592
|
-
title=str(data["title"]),
|
|
3593
3593
|
schedule=str(data["schedule"]),
|
|
3594
3594
|
)
|
|
3595
3595
|
|
|
@@ -3598,15 +3598,9 @@ CommonAbstraJsonV13JobsItem = CommonAbstraJsonV13DefinitionsJobStage
|
|
|
3598
3598
|
|
|
3599
3599
|
CommonAbstraJsonV13Jobs = typing.List[CommonAbstraJsonV13JobsItem]
|
|
3600
3600
|
|
|
3601
|
-
|
|
3602
|
-
CommonAbstraJsonV13DefinitionsTransition
|
|
3603
|
-
)
|
|
3604
|
-
|
|
3605
|
-
CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
3606
|
-
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
3607
|
-
]
|
|
3601
|
+
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
3608
3602
|
|
|
3609
|
-
|
|
3603
|
+
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
3610
3604
|
|
|
3611
3605
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
3612
3606
|
|
|
@@ -3614,38 +3608,44 @@ CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
3614
3608
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem
|
|
3615
3609
|
]
|
|
3616
3610
|
|
|
3617
|
-
|
|
3611
|
+
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3618
3612
|
|
|
3619
|
-
|
|
3613
|
+
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem = (
|
|
3614
|
+
CommonAbstraJsonV13DefinitionsTransition
|
|
3615
|
+
)
|
|
3620
3616
|
|
|
3621
|
-
|
|
3617
|
+
CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
3618
|
+
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
3619
|
+
]
|
|
3620
|
+
|
|
3621
|
+
CommonAbstraJsonV13DefinitionsHookStageEnabled = bool
|
|
3622
3622
|
|
|
3623
3623
|
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3624
3624
|
|
|
3625
|
-
|
|
3625
|
+
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
3626
3626
|
|
|
3627
3627
|
|
|
3628
3628
|
@dataclass
|
|
3629
3629
|
class CommonAbstraJsonV13DefinitionsHookStage:
|
|
3630
|
-
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
3631
|
-
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3632
|
-
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
3633
|
-
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3634
3630
|
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
3635
|
-
|
|
3636
|
-
|
|
3631
|
+
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3632
|
+
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
3633
|
+
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3634
|
+
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
3637
3635
|
enabled: CommonAbstraJsonV13DefinitionsHookStageEnabled
|
|
3636
|
+
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
3637
|
+
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3638
3638
|
|
|
3639
3639
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3640
3640
|
data = {}
|
|
3641
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3642
|
-
data["id"] = self.id
|
|
3643
|
-
data["workflow_position"] = self.workflow_position
|
|
3644
|
-
data["file"] = self.file
|
|
3645
3641
|
data["title"] = self.title
|
|
3646
|
-
data["
|
|
3647
|
-
data["
|
|
3642
|
+
data["file"] = self.file
|
|
3643
|
+
data["workflow_position"] = self.workflow_position
|
|
3644
|
+
data["id"] = self.id
|
|
3645
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3648
3646
|
data["enabled"] = self.enabled
|
|
3647
|
+
data["path"] = self.path
|
|
3648
|
+
data["is_initial"] = self.is_initial
|
|
3649
3649
|
return data
|
|
3650
3650
|
|
|
3651
3651
|
@classmethod
|
|
@@ -3653,17 +3653,17 @@ class CommonAbstraJsonV13DefinitionsHookStage:
|
|
|
3653
3653
|
cls, data: typing.Dict[str, typing.Any]
|
|
3654
3654
|
) -> "CommonAbstraJsonV13DefinitionsHookStage":
|
|
3655
3655
|
return cls(
|
|
3656
|
+
title=str(data["title"]),
|
|
3657
|
+
file=str(data["file"]),
|
|
3658
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3659
|
+
id=str(data["id"]),
|
|
3656
3660
|
transitions=[
|
|
3657
3661
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3658
3662
|
for item in data["transitions"]
|
|
3659
3663
|
],
|
|
3660
|
-
id=str(data["id"]),
|
|
3661
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3662
|
-
file=str(data["file"]),
|
|
3663
|
-
title=str(data["title"]),
|
|
3664
|
-
is_initial=bool(data["is_initial"]),
|
|
3665
|
-
path=str(data["path"]),
|
|
3666
3664
|
enabled=bool(data["enabled"]),
|
|
3665
|
+
path=str(data["path"]),
|
|
3666
|
+
is_initial=bool(data["is_initial"]),
|
|
3667
3667
|
)
|
|
3668
3668
|
|
|
3669
3669
|
|
|
@@ -3671,15 +3671,9 @@ CommonAbstraJsonV13HooksItem = CommonAbstraJsonV13DefinitionsHookStage
|
|
|
3671
3671
|
|
|
3672
3672
|
CommonAbstraJsonV13Hooks = typing.List[CommonAbstraJsonV13HooksItem]
|
|
3673
3673
|
|
|
3674
|
-
|
|
3675
|
-
CommonAbstraJsonV13DefinitionsTransition
|
|
3676
|
-
)
|
|
3677
|
-
|
|
3678
|
-
CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
3679
|
-
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
3680
|
-
]
|
|
3674
|
+
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
3681
3675
|
|
|
3682
|
-
|
|
3676
|
+
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
3683
3677
|
|
|
3684
3678
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
3685
3679
|
|
|
@@ -3687,11 +3681,15 @@ CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
3687
3681
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem
|
|
3688
3682
|
]
|
|
3689
3683
|
|
|
3690
|
-
|
|
3684
|
+
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3691
3685
|
|
|
3692
|
-
|
|
3686
|
+
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem = (
|
|
3687
|
+
CommonAbstraJsonV13DefinitionsTransition
|
|
3688
|
+
)
|
|
3693
3689
|
|
|
3694
|
-
|
|
3690
|
+
CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
3691
|
+
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
3692
|
+
]
|
|
3695
3693
|
|
|
3696
3694
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3697
3695
|
|
|
@@ -3702,16 +3700,7 @@ CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
3702
3700
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3703
3701
|
]
|
|
3704
3702
|
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
3708
|
-
|
|
3709
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
3710
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
3711
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3712
|
-
]
|
|
3713
|
-
|
|
3714
|
-
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
3703
|
+
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3715
3704
|
|
|
3716
3705
|
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
3717
3706
|
|
|
@@ -3722,6 +3711,36 @@ CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
|
3722
3711
|
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
3723
3712
|
]
|
|
3724
3713
|
|
|
3714
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3715
|
+
|
|
3716
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3717
|
+
|
|
3718
|
+
|
|
3719
|
+
@dataclass
|
|
3720
|
+
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3721
|
+
variable_name: (
|
|
3722
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3723
|
+
)
|
|
3724
|
+
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3725
|
+
|
|
3726
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3727
|
+
data = {}
|
|
3728
|
+
data["variable_name"] = self.variable_name
|
|
3729
|
+
data["enabled"] = self.enabled
|
|
3730
|
+
return data
|
|
3731
|
+
|
|
3732
|
+
@classmethod
|
|
3733
|
+
def from_dict(
|
|
3734
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
3735
|
+
) -> "CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger":
|
|
3736
|
+
return cls(
|
|
3737
|
+
variable_name=str(data["variable_name"]),
|
|
3738
|
+
enabled=bool(data["enabled"]),
|
|
3739
|
+
)
|
|
3740
|
+
|
|
3741
|
+
|
|
3742
|
+
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3743
|
+
|
|
3725
3744
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
3726
3745
|
|
|
3727
3746
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -3740,6 +3759,10 @@ CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
3740
3759
|
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3741
3760
|
]
|
|
3742
3761
|
|
|
3762
|
+
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
3763
|
+
|
|
3764
|
+
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3765
|
+
|
|
3743
3766
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic = bool
|
|
3744
3767
|
|
|
3745
3768
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -3770,100 +3793,73 @@ class CommonAbstraJsonV13DefinitionsFormStageAccessControl:
|
|
|
3770
3793
|
)
|
|
3771
3794
|
|
|
3772
3795
|
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3776
|
-
|
|
3777
|
-
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString = str
|
|
3796
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
3778
3797
|
|
|
3779
|
-
|
|
3798
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3780
3799
|
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3800
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3801
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
3802
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
3784
3803
|
]
|
|
3785
3804
|
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
@dataclass
|
|
3792
|
-
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3793
|
-
variable_name: (
|
|
3794
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3795
|
-
)
|
|
3796
|
-
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3797
|
-
|
|
3798
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3799
|
-
data = {}
|
|
3800
|
-
data["variable_name"] = self.variable_name
|
|
3801
|
-
data["enabled"] = self.enabled
|
|
3802
|
-
return data
|
|
3805
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
3803
3806
|
|
|
3804
|
-
|
|
3805
|
-
def from_dict(
|
|
3806
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
3807
|
-
) -> "CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger":
|
|
3808
|
-
return cls(
|
|
3809
|
-
variable_name=str(data["variable_name"]),
|
|
3810
|
-
enabled=bool(data["enabled"]),
|
|
3811
|
-
)
|
|
3807
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
3812
3808
|
|
|
3809
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
3810
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
3811
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3812
|
+
]
|
|
3813
3813
|
|
|
3814
|
-
|
|
3814
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString = str
|
|
3815
3815
|
|
|
3816
|
-
|
|
3816
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull = type(None)
|
|
3817
3817
|
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3818
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessage = typing.Union[
|
|
3819
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString,
|
|
3820
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull,
|
|
3821
3821
|
]
|
|
3822
3822
|
|
|
3823
3823
|
|
|
3824
3824
|
@dataclass
|
|
3825
3825
|
class CommonAbstraJsonV13DefinitionsFormStage:
|
|
3826
|
-
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
3827
|
-
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3828
|
-
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
3829
|
-
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3830
3826
|
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
3831
|
-
|
|
3827
|
+
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3828
|
+
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
3829
|
+
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3830
|
+
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
3832
3831
|
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3833
|
-
|
|
3834
|
-
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3832
|
+
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3835
3833
|
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3834
|
+
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3835
|
+
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3836
3836
|
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3837
3837
|
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
3838
|
-
|
|
3839
|
-
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3838
|
+
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3840
3839
|
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
3841
|
-
|
|
3842
|
-
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3840
|
+
access_control: CommonAbstraJsonV13DefinitionsFormStageAccessControl
|
|
3843
3841
|
welcome_title: CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle
|
|
3842
|
+
start_message: CommonAbstraJsonV13DefinitionsFormStageStartMessage
|
|
3843
|
+
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
3844
3844
|
|
|
3845
3845
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3846
3846
|
data = {}
|
|
3847
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3848
|
-
data["id"] = self.id
|
|
3849
|
-
data["workflow_position"] = self.workflow_position
|
|
3850
|
-
data["file"] = self.file
|
|
3851
3847
|
data["title"] = self.title
|
|
3852
|
-
data["
|
|
3848
|
+
data["file"] = self.file
|
|
3849
|
+
data["workflow_position"] = self.workflow_position
|
|
3850
|
+
data["id"] = self.id
|
|
3851
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3853
3852
|
data["restart_button_text"] = (
|
|
3854
3853
|
self.restart_button_text
|
|
3855
3854
|
if isinstance(self.restart_button_text, str)
|
|
3856
3855
|
else self.restart_button_text
|
|
3857
3856
|
)
|
|
3858
|
-
data["
|
|
3859
|
-
self.start_message
|
|
3860
|
-
if isinstance(self.start_message, str)
|
|
3861
|
-
else self.start_message
|
|
3862
|
-
)
|
|
3863
|
-
data["allow_restart"] = self.allow_restart
|
|
3857
|
+
data["path"] = self.path
|
|
3864
3858
|
data["end_message"] = (
|
|
3865
3859
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3866
3860
|
)
|
|
3861
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3862
|
+
data["auto_start"] = self.auto_start
|
|
3867
3863
|
data["start_button_text"] = (
|
|
3868
3864
|
self.start_button_text
|
|
3869
3865
|
if isinstance(self.start_button_text, str)
|
|
@@ -3874,20 +3870,24 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3874
3870
|
if isinstance(self.timeout_message, str)
|
|
3875
3871
|
else self.timeout_message
|
|
3876
3872
|
)
|
|
3877
|
-
data["
|
|
3878
|
-
data["auto_start"] = self.auto_start
|
|
3873
|
+
data["allow_restart"] = self.allow_restart
|
|
3879
3874
|
data["is_initial"] = self.is_initial
|
|
3880
|
-
data["
|
|
3881
|
-
self.error_message
|
|
3882
|
-
if isinstance(self.error_message, str)
|
|
3883
|
-
else self.error_message
|
|
3884
|
-
)
|
|
3885
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3875
|
+
data["access_control"] = self.access_control.to_dict()
|
|
3886
3876
|
data["welcome_title"] = (
|
|
3887
3877
|
self.welcome_title
|
|
3888
3878
|
if isinstance(self.welcome_title, str)
|
|
3889
3879
|
else self.welcome_title
|
|
3890
3880
|
)
|
|
3881
|
+
data["start_message"] = (
|
|
3882
|
+
self.start_message
|
|
3883
|
+
if isinstance(self.start_message, str)
|
|
3884
|
+
else self.start_message
|
|
3885
|
+
)
|
|
3886
|
+
data["error_message"] = (
|
|
3887
|
+
self.error_message
|
|
3888
|
+
if isinstance(self.error_message, str)
|
|
3889
|
+
else self.error_message
|
|
3890
|
+
)
|
|
3891
3891
|
return data
|
|
3892
3892
|
|
|
3893
3893
|
@classmethod
|
|
@@ -3895,31 +3895,29 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3895
3895
|
cls, data: typing.Dict[str, typing.Any]
|
|
3896
3896
|
) -> "CommonAbstraJsonV13DefinitionsFormStage":
|
|
3897
3897
|
return cls(
|
|
3898
|
+
title=str(data["title"]),
|
|
3899
|
+
file=str(data["file"]),
|
|
3900
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3901
|
+
id=str(data["id"]),
|
|
3898
3902
|
transitions=[
|
|
3899
3903
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3900
3904
|
for item in data["transitions"]
|
|
3901
3905
|
],
|
|
3902
|
-
id=str(data["id"]),
|
|
3903
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3904
|
-
file=str(data["file"]),
|
|
3905
|
-
title=str(data["title"]),
|
|
3906
|
-
path=str(data["path"]),
|
|
3907
3906
|
restart_button_text=(
|
|
3908
3907
|
str(data["restart_button_text"])
|
|
3909
3908
|
if isinstance(data["restart_button_text"], str)
|
|
3910
3909
|
else None
|
|
3911
3910
|
),
|
|
3912
|
-
|
|
3913
|
-
str(data["start_message"])
|
|
3914
|
-
if isinstance(data["start_message"], str)
|
|
3915
|
-
else None
|
|
3916
|
-
),
|
|
3917
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3911
|
+
path=str(data["path"]),
|
|
3918
3912
|
end_message=(
|
|
3919
3913
|
str(data["end_message"])
|
|
3920
3914
|
if isinstance(data["end_message"], str)
|
|
3921
3915
|
else None
|
|
3922
3916
|
),
|
|
3917
|
+
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3918
|
+
data["notification_trigger"]
|
|
3919
|
+
),
|
|
3920
|
+
auto_start=bool(data["auto_start"]),
|
|
3923
3921
|
start_button_text=(
|
|
3924
3922
|
str(data["start_button_text"])
|
|
3925
3923
|
if isinstance(data["start_button_text"], str)
|
|
@@ -3930,24 +3928,26 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3930
3928
|
if isinstance(data["timeout_message"], str)
|
|
3931
3929
|
else None
|
|
3932
3930
|
),
|
|
3931
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3932
|
+
is_initial=bool(data["is_initial"]),
|
|
3933
3933
|
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
3934
3934
|
data["access_control"]
|
|
3935
3935
|
),
|
|
3936
|
-
auto_start=bool(data["auto_start"]),
|
|
3937
|
-
is_initial=bool(data["is_initial"]),
|
|
3938
|
-
error_message=(
|
|
3939
|
-
str(data["error_message"])
|
|
3940
|
-
if isinstance(data["error_message"], str)
|
|
3941
|
-
else None
|
|
3942
|
-
),
|
|
3943
|
-
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3944
|
-
data["notification_trigger"]
|
|
3945
|
-
),
|
|
3946
3936
|
welcome_title=(
|
|
3947
3937
|
str(data["welcome_title"])
|
|
3948
3938
|
if isinstance(data["welcome_title"], str)
|
|
3949
3939
|
else None
|
|
3950
3940
|
),
|
|
3941
|
+
start_message=(
|
|
3942
|
+
str(data["start_message"])
|
|
3943
|
+
if isinstance(data["start_message"], str)
|
|
3944
|
+
else None
|
|
3945
|
+
),
|
|
3946
|
+
error_message=(
|
|
3947
|
+
str(data["error_message"])
|
|
3948
|
+
if isinstance(data["error_message"], str)
|
|
3949
|
+
else None
|
|
3950
|
+
),
|
|
3951
3951
|
)
|
|
3952
3952
|
|
|
3953
3953
|
|
|
@@ -3955,15 +3955,9 @@ CommonAbstraJsonV13FormsItem = CommonAbstraJsonV13DefinitionsFormStage
|
|
|
3955
3955
|
|
|
3956
3956
|
CommonAbstraJsonV13Forms = typing.List[CommonAbstraJsonV13FormsItem]
|
|
3957
3957
|
|
|
3958
|
-
|
|
3959
|
-
CommonAbstraJsonV13DefinitionsTransition
|
|
3960
|
-
)
|
|
3961
|
-
|
|
3962
|
-
CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
3963
|
-
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
3964
|
-
]
|
|
3958
|
+
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
3965
3959
|
|
|
3966
|
-
|
|
3960
|
+
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3967
3961
|
|
|
3968
3962
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
3969
3963
|
|
|
@@ -3971,29 +3965,35 @@ CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
3971
3965
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem
|
|
3972
3966
|
]
|
|
3973
3967
|
|
|
3974
|
-
|
|
3968
|
+
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3975
3969
|
|
|
3976
|
-
|
|
3970
|
+
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem = (
|
|
3971
|
+
CommonAbstraJsonV13DefinitionsTransition
|
|
3972
|
+
)
|
|
3973
|
+
|
|
3974
|
+
CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
3975
|
+
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
3976
|
+
]
|
|
3977
3977
|
|
|
3978
3978
|
CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
3979
3979
|
|
|
3980
3980
|
|
|
3981
3981
|
@dataclass
|
|
3982
3982
|
class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
3983
|
-
transitions: CommonAbstraJsonV13DefinitionsScriptStageTransitions
|
|
3984
|
-
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3985
|
-
workflow_position: CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition
|
|
3986
|
-
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3987
3983
|
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
3984
|
+
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3985
|
+
workflow_position: CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition
|
|
3986
|
+
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3987
|
+
transitions: CommonAbstraJsonV13DefinitionsScriptStageTransitions
|
|
3988
3988
|
is_initial: CommonAbstraJsonV13DefinitionsScriptStageIsInitial
|
|
3989
3989
|
|
|
3990
3990
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3991
3991
|
data = {}
|
|
3992
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3993
|
-
data["id"] = self.id
|
|
3994
|
-
data["workflow_position"] = self.workflow_position
|
|
3995
|
-
data["file"] = self.file
|
|
3996
3992
|
data["title"] = self.title
|
|
3993
|
+
data["file"] = self.file
|
|
3994
|
+
data["workflow_position"] = self.workflow_position
|
|
3995
|
+
data["id"] = self.id
|
|
3996
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3997
3997
|
data["is_initial"] = self.is_initial
|
|
3998
3998
|
return data
|
|
3999
3999
|
|
|
@@ -4002,14 +4002,14 @@ class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
|
4002
4002
|
cls, data: typing.Dict[str, typing.Any]
|
|
4003
4003
|
) -> "CommonAbstraJsonV13DefinitionsScriptStage":
|
|
4004
4004
|
return cls(
|
|
4005
|
+
title=str(data["title"]),
|
|
4006
|
+
file=str(data["file"]),
|
|
4007
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4008
|
+
id=str(data["id"]),
|
|
4005
4009
|
transitions=[
|
|
4006
4010
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4007
4011
|
for item in data["transitions"]
|
|
4008
4012
|
],
|
|
4009
|
-
id=str(data["id"]),
|
|
4010
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4011
|
-
file=str(data["file"]),
|
|
4012
|
-
title=str(data["title"]),
|
|
4013
4013
|
is_initial=bool(data["is_initial"]),
|
|
4014
4014
|
)
|
|
4015
4015
|
|
|
@@ -4398,6 +4398,18 @@ class CommonAbstraJsonV12Home:
|
|
|
4398
4398
|
)
|
|
4399
4399
|
|
|
4400
4400
|
|
|
4401
|
+
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4402
|
+
|
|
4403
|
+
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4404
|
+
|
|
4405
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
4406
|
+
|
|
4407
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4408
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
4409
|
+
]
|
|
4410
|
+
|
|
4411
|
+
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4412
|
+
|
|
4401
4413
|
CommonAbstraJsonV12DefinitionsTransitionId = str
|
|
4402
4414
|
|
|
4403
4415
|
CommonAbstraJsonV12DefinitionsTransitionTargetId = str
|
|
@@ -4459,41 +4471,29 @@ CommonAbstraJsonV12DefinitionsJobStageTransitionsItem = (
|
|
|
4459
4471
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4460
4472
|
)
|
|
4461
4473
|
|
|
4462
|
-
CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
4463
|
-
CommonAbstraJsonV12DefinitionsJobStageTransitionsItem
|
|
4464
|
-
]
|
|
4465
|
-
|
|
4466
|
-
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4467
|
-
|
|
4468
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
4469
|
-
|
|
4470
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4471
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
4472
|
-
]
|
|
4473
|
-
|
|
4474
|
-
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4475
|
-
|
|
4476
|
-
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4474
|
+
CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
4475
|
+
CommonAbstraJsonV12DefinitionsJobStageTransitionsItem
|
|
4476
|
+
]
|
|
4477
4477
|
|
|
4478
4478
|
CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
4479
4479
|
|
|
4480
4480
|
|
|
4481
4481
|
@dataclass
|
|
4482
4482
|
class CommonAbstraJsonV12DefinitionsJobStage:
|
|
4483
|
-
transitions: CommonAbstraJsonV12DefinitionsJobStageTransitions
|
|
4484
|
-
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4485
|
-
workflow_position: CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition
|
|
4486
|
-
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4487
4483
|
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
4484
|
+
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4485
|
+
workflow_position: CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition
|
|
4486
|
+
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4487
|
+
transitions: CommonAbstraJsonV12DefinitionsJobStageTransitions
|
|
4488
4488
|
schedule: CommonAbstraJsonV12DefinitionsJobStageSchedule
|
|
4489
4489
|
|
|
4490
4490
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4491
4491
|
data = {}
|
|
4492
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4493
|
-
data["id"] = self.id
|
|
4494
|
-
data["workflow_position"] = self.workflow_position
|
|
4495
|
-
data["file"] = self.file
|
|
4496
4492
|
data["title"] = self.title
|
|
4493
|
+
data["file"] = self.file
|
|
4494
|
+
data["workflow_position"] = self.workflow_position
|
|
4495
|
+
data["id"] = self.id
|
|
4496
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4497
4497
|
data["schedule"] = self.schedule
|
|
4498
4498
|
return data
|
|
4499
4499
|
|
|
@@ -4502,14 +4502,14 @@ class CommonAbstraJsonV12DefinitionsJobStage:
|
|
|
4502
4502
|
cls, data: typing.Dict[str, typing.Any]
|
|
4503
4503
|
) -> "CommonAbstraJsonV12DefinitionsJobStage":
|
|
4504
4504
|
return cls(
|
|
4505
|
+
title=str(data["title"]),
|
|
4506
|
+
file=str(data["file"]),
|
|
4507
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4508
|
+
id=str(data["id"]),
|
|
4505
4509
|
transitions=[
|
|
4506
4510
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4507
4511
|
for item in data["transitions"]
|
|
4508
4512
|
],
|
|
4509
|
-
id=str(data["id"]),
|
|
4510
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4511
|
-
file=str(data["file"]),
|
|
4512
|
-
title=str(data["title"]),
|
|
4513
4513
|
schedule=str(data["schedule"]),
|
|
4514
4514
|
)
|
|
4515
4515
|
|
|
@@ -4518,15 +4518,9 @@ CommonAbstraJsonV12JobsItem = CommonAbstraJsonV12DefinitionsJobStage
|
|
|
4518
4518
|
|
|
4519
4519
|
CommonAbstraJsonV12Jobs = typing.List[CommonAbstraJsonV12JobsItem]
|
|
4520
4520
|
|
|
4521
|
-
|
|
4522
|
-
CommonAbstraJsonV12DefinitionsTransition
|
|
4523
|
-
)
|
|
4524
|
-
|
|
4525
|
-
CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
4526
|
-
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
4527
|
-
]
|
|
4521
|
+
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
4528
4522
|
|
|
4529
|
-
|
|
4523
|
+
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
4530
4524
|
|
|
4531
4525
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
4532
4526
|
|
|
@@ -4534,38 +4528,44 @@ CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
4534
4528
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem
|
|
4535
4529
|
]
|
|
4536
4530
|
|
|
4537
|
-
|
|
4531
|
+
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4538
4532
|
|
|
4539
|
-
|
|
4533
|
+
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem = (
|
|
4534
|
+
CommonAbstraJsonV12DefinitionsTransition
|
|
4535
|
+
)
|
|
4540
4536
|
|
|
4541
|
-
|
|
4537
|
+
CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
4538
|
+
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
4539
|
+
]
|
|
4540
|
+
|
|
4541
|
+
CommonAbstraJsonV12DefinitionsHookStageEnabled = bool
|
|
4542
4542
|
|
|
4543
4543
|
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4544
4544
|
|
|
4545
|
-
|
|
4545
|
+
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
4546
4546
|
|
|
4547
4547
|
|
|
4548
4548
|
@dataclass
|
|
4549
4549
|
class CommonAbstraJsonV12DefinitionsHookStage:
|
|
4550
|
-
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
4551
|
-
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4552
|
-
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
4553
|
-
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4554
4550
|
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
4555
|
-
|
|
4556
|
-
|
|
4551
|
+
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4552
|
+
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
4553
|
+
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4554
|
+
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
4557
4555
|
enabled: CommonAbstraJsonV12DefinitionsHookStageEnabled
|
|
4556
|
+
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
4557
|
+
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4558
4558
|
|
|
4559
4559
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4560
4560
|
data = {}
|
|
4561
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4562
|
-
data["id"] = self.id
|
|
4563
|
-
data["workflow_position"] = self.workflow_position
|
|
4564
|
-
data["file"] = self.file
|
|
4565
4561
|
data["title"] = self.title
|
|
4566
|
-
data["
|
|
4567
|
-
data["
|
|
4562
|
+
data["file"] = self.file
|
|
4563
|
+
data["workflow_position"] = self.workflow_position
|
|
4564
|
+
data["id"] = self.id
|
|
4565
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4568
4566
|
data["enabled"] = self.enabled
|
|
4567
|
+
data["path"] = self.path
|
|
4568
|
+
data["is_initial"] = self.is_initial
|
|
4569
4569
|
return data
|
|
4570
4570
|
|
|
4571
4571
|
@classmethod
|
|
@@ -4573,17 +4573,17 @@ class CommonAbstraJsonV12DefinitionsHookStage:
|
|
|
4573
4573
|
cls, data: typing.Dict[str, typing.Any]
|
|
4574
4574
|
) -> "CommonAbstraJsonV12DefinitionsHookStage":
|
|
4575
4575
|
return cls(
|
|
4576
|
+
title=str(data["title"]),
|
|
4577
|
+
file=str(data["file"]),
|
|
4578
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4579
|
+
id=str(data["id"]),
|
|
4576
4580
|
transitions=[
|
|
4577
4581
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4578
4582
|
for item in data["transitions"]
|
|
4579
4583
|
],
|
|
4580
|
-
id=str(data["id"]),
|
|
4581
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4582
|
-
file=str(data["file"]),
|
|
4583
|
-
title=str(data["title"]),
|
|
4584
|
-
is_initial=bool(data["is_initial"]),
|
|
4585
|
-
path=str(data["path"]),
|
|
4586
4584
|
enabled=bool(data["enabled"]),
|
|
4585
|
+
path=str(data["path"]),
|
|
4586
|
+
is_initial=bool(data["is_initial"]),
|
|
4587
4587
|
)
|
|
4588
4588
|
|
|
4589
4589
|
|
|
@@ -4591,15 +4591,9 @@ CommonAbstraJsonV12HooksItem = CommonAbstraJsonV12DefinitionsHookStage
|
|
|
4591
4591
|
|
|
4592
4592
|
CommonAbstraJsonV12Hooks = typing.List[CommonAbstraJsonV12HooksItem]
|
|
4593
4593
|
|
|
4594
|
-
|
|
4595
|
-
CommonAbstraJsonV12DefinitionsTransition
|
|
4596
|
-
)
|
|
4597
|
-
|
|
4598
|
-
CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
4599
|
-
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
4600
|
-
]
|
|
4594
|
+
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
4601
4595
|
|
|
4602
|
-
|
|
4596
|
+
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
4603
4597
|
|
|
4604
4598
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
4605
4599
|
|
|
@@ -4607,11 +4601,15 @@ CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
4607
4601
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem
|
|
4608
4602
|
]
|
|
4609
4603
|
|
|
4610
|
-
|
|
4604
|
+
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4611
4605
|
|
|
4612
|
-
|
|
4606
|
+
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem = (
|
|
4607
|
+
CommonAbstraJsonV12DefinitionsTransition
|
|
4608
|
+
)
|
|
4613
4609
|
|
|
4614
|
-
|
|
4610
|
+
CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
4611
|
+
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
4612
|
+
]
|
|
4615
4613
|
|
|
4616
4614
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4617
4615
|
|
|
@@ -4622,16 +4620,7 @@ CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
4622
4620
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4623
4621
|
]
|
|
4624
4622
|
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
4628
|
-
|
|
4629
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
4630
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageString,
|
|
4631
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4632
|
-
]
|
|
4633
|
-
|
|
4634
|
-
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
4623
|
+
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4635
4624
|
|
|
4636
4625
|
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
4637
4626
|
|
|
@@ -4642,6 +4631,36 @@ CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
|
4642
4631
|
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
4643
4632
|
]
|
|
4644
4633
|
|
|
4634
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4635
|
+
|
|
4636
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4637
|
+
|
|
4638
|
+
|
|
4639
|
+
@dataclass
|
|
4640
|
+
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4641
|
+
variable_name: (
|
|
4642
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4643
|
+
)
|
|
4644
|
+
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4645
|
+
|
|
4646
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4647
|
+
data = {}
|
|
4648
|
+
data["variable_name"] = self.variable_name
|
|
4649
|
+
data["enabled"] = self.enabled
|
|
4650
|
+
return data
|
|
4651
|
+
|
|
4652
|
+
@classmethod
|
|
4653
|
+
def from_dict(
|
|
4654
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
4655
|
+
) -> "CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger":
|
|
4656
|
+
return cls(
|
|
4657
|
+
variable_name=str(data["variable_name"]),
|
|
4658
|
+
enabled=bool(data["enabled"]),
|
|
4659
|
+
)
|
|
4660
|
+
|
|
4661
|
+
|
|
4662
|
+
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
4663
|
+
|
|
4645
4664
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
4646
4665
|
|
|
4647
4666
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -4660,6 +4679,10 @@ CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
4660
4679
|
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4661
4680
|
]
|
|
4662
4681
|
|
|
4682
|
+
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
4683
|
+
|
|
4684
|
+
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4685
|
+
|
|
4663
4686
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic = bool
|
|
4664
4687
|
|
|
4665
4688
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -4690,100 +4713,73 @@ class CommonAbstraJsonV12DefinitionsFormStageAccessControl:
|
|
|
4690
4713
|
)
|
|
4691
4714
|
|
|
4692
4715
|
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4696
|
-
|
|
4697
|
-
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString = str
|
|
4716
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
4698
4717
|
|
|
4699
|
-
|
|
4718
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4700
4719
|
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4720
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
4721
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
4722
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
4704
4723
|
]
|
|
4705
4724
|
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
@dataclass
|
|
4712
|
-
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4713
|
-
variable_name: (
|
|
4714
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4715
|
-
)
|
|
4716
|
-
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4717
|
-
|
|
4718
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4719
|
-
data = {}
|
|
4720
|
-
data["variable_name"] = self.variable_name
|
|
4721
|
-
data["enabled"] = self.enabled
|
|
4722
|
-
return data
|
|
4725
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
4723
4726
|
|
|
4724
|
-
|
|
4725
|
-
def from_dict(
|
|
4726
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
4727
|
-
) -> "CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger":
|
|
4728
|
-
return cls(
|
|
4729
|
-
variable_name=str(data["variable_name"]),
|
|
4730
|
-
enabled=bool(data["enabled"]),
|
|
4731
|
-
)
|
|
4727
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
4732
4728
|
|
|
4729
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
4730
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageString,
|
|
4731
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4732
|
+
]
|
|
4733
4733
|
|
|
4734
|
-
|
|
4734
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString = str
|
|
4735
4735
|
|
|
4736
|
-
|
|
4736
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull = type(None)
|
|
4737
4737
|
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4738
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessage = typing.Union[
|
|
4739
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString,
|
|
4740
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull,
|
|
4741
4741
|
]
|
|
4742
4742
|
|
|
4743
4743
|
|
|
4744
4744
|
@dataclass
|
|
4745
4745
|
class CommonAbstraJsonV12DefinitionsFormStage:
|
|
4746
|
-
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
4747
|
-
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4748
|
-
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
4749
|
-
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4750
4746
|
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
4751
|
-
|
|
4747
|
+
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4748
|
+
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
4749
|
+
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4750
|
+
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
4752
4751
|
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4753
|
-
|
|
4754
|
-
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4752
|
+
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4755
4753
|
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4754
|
+
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4755
|
+
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4756
4756
|
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4757
4757
|
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
4758
|
-
|
|
4759
|
-
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4758
|
+
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4760
4759
|
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
4761
|
-
|
|
4762
|
-
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4760
|
+
access_control: CommonAbstraJsonV12DefinitionsFormStageAccessControl
|
|
4763
4761
|
welcome_title: CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle
|
|
4762
|
+
start_message: CommonAbstraJsonV12DefinitionsFormStageStartMessage
|
|
4763
|
+
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
4764
4764
|
|
|
4765
4765
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4766
4766
|
data = {}
|
|
4767
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4768
|
-
data["id"] = self.id
|
|
4769
|
-
data["workflow_position"] = self.workflow_position
|
|
4770
|
-
data["file"] = self.file
|
|
4771
4767
|
data["title"] = self.title
|
|
4772
|
-
data["
|
|
4768
|
+
data["file"] = self.file
|
|
4769
|
+
data["workflow_position"] = self.workflow_position
|
|
4770
|
+
data["id"] = self.id
|
|
4771
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4773
4772
|
data["restart_button_text"] = (
|
|
4774
4773
|
self.restart_button_text
|
|
4775
4774
|
if isinstance(self.restart_button_text, str)
|
|
4776
4775
|
else self.restart_button_text
|
|
4777
4776
|
)
|
|
4778
|
-
data["
|
|
4779
|
-
self.start_message
|
|
4780
|
-
if isinstance(self.start_message, str)
|
|
4781
|
-
else self.start_message
|
|
4782
|
-
)
|
|
4783
|
-
data["allow_restart"] = self.allow_restart
|
|
4777
|
+
data["path"] = self.path
|
|
4784
4778
|
data["end_message"] = (
|
|
4785
4779
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4786
4780
|
)
|
|
4781
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4782
|
+
data["auto_start"] = self.auto_start
|
|
4787
4783
|
data["start_button_text"] = (
|
|
4788
4784
|
self.start_button_text
|
|
4789
4785
|
if isinstance(self.start_button_text, str)
|
|
@@ -4794,20 +4790,24 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4794
4790
|
if isinstance(self.timeout_message, str)
|
|
4795
4791
|
else self.timeout_message
|
|
4796
4792
|
)
|
|
4797
|
-
data["
|
|
4798
|
-
data["
|
|
4799
|
-
data["
|
|
4800
|
-
data["error_message"] = (
|
|
4801
|
-
self.error_message
|
|
4802
|
-
if isinstance(self.error_message, str)
|
|
4803
|
-
else self.error_message
|
|
4804
|
-
)
|
|
4805
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4793
|
+
data["allow_restart"] = self.allow_restart
|
|
4794
|
+
data["is_initial"] = self.is_initial
|
|
4795
|
+
data["access_control"] = self.access_control.to_dict()
|
|
4806
4796
|
data["welcome_title"] = (
|
|
4807
4797
|
self.welcome_title
|
|
4808
4798
|
if isinstance(self.welcome_title, str)
|
|
4809
4799
|
else self.welcome_title
|
|
4810
4800
|
)
|
|
4801
|
+
data["start_message"] = (
|
|
4802
|
+
self.start_message
|
|
4803
|
+
if isinstance(self.start_message, str)
|
|
4804
|
+
else self.start_message
|
|
4805
|
+
)
|
|
4806
|
+
data["error_message"] = (
|
|
4807
|
+
self.error_message
|
|
4808
|
+
if isinstance(self.error_message, str)
|
|
4809
|
+
else self.error_message
|
|
4810
|
+
)
|
|
4811
4811
|
return data
|
|
4812
4812
|
|
|
4813
4813
|
@classmethod
|
|
@@ -4815,31 +4815,29 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4815
4815
|
cls, data: typing.Dict[str, typing.Any]
|
|
4816
4816
|
) -> "CommonAbstraJsonV12DefinitionsFormStage":
|
|
4817
4817
|
return cls(
|
|
4818
|
+
title=str(data["title"]),
|
|
4819
|
+
file=str(data["file"]),
|
|
4820
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4821
|
+
id=str(data["id"]),
|
|
4818
4822
|
transitions=[
|
|
4819
4823
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4820
4824
|
for item in data["transitions"]
|
|
4821
4825
|
],
|
|
4822
|
-
id=str(data["id"]),
|
|
4823
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4824
|
-
file=str(data["file"]),
|
|
4825
|
-
title=str(data["title"]),
|
|
4826
|
-
path=str(data["path"]),
|
|
4827
4826
|
restart_button_text=(
|
|
4828
4827
|
str(data["restart_button_text"])
|
|
4829
4828
|
if isinstance(data["restart_button_text"], str)
|
|
4830
4829
|
else None
|
|
4831
4830
|
),
|
|
4832
|
-
|
|
4833
|
-
str(data["start_message"])
|
|
4834
|
-
if isinstance(data["start_message"], str)
|
|
4835
|
-
else None
|
|
4836
|
-
),
|
|
4837
|
-
allow_restart=bool(data["allow_restart"]),
|
|
4831
|
+
path=str(data["path"]),
|
|
4838
4832
|
end_message=(
|
|
4839
4833
|
str(data["end_message"])
|
|
4840
4834
|
if isinstance(data["end_message"], str)
|
|
4841
4835
|
else None
|
|
4842
4836
|
),
|
|
4837
|
+
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4838
|
+
data["notification_trigger"]
|
|
4839
|
+
),
|
|
4840
|
+
auto_start=bool(data["auto_start"]),
|
|
4843
4841
|
start_button_text=(
|
|
4844
4842
|
str(data["start_button_text"])
|
|
4845
4843
|
if isinstance(data["start_button_text"], str)
|
|
@@ -4850,24 +4848,26 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4850
4848
|
if isinstance(data["timeout_message"], str)
|
|
4851
4849
|
else None
|
|
4852
4850
|
),
|
|
4851
|
+
allow_restart=bool(data["allow_restart"]),
|
|
4852
|
+
is_initial=bool(data["is_initial"]),
|
|
4853
4853
|
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
4854
4854
|
data["access_control"]
|
|
4855
4855
|
),
|
|
4856
|
-
auto_start=bool(data["auto_start"]),
|
|
4857
|
-
is_initial=bool(data["is_initial"]),
|
|
4858
|
-
error_message=(
|
|
4859
|
-
str(data["error_message"])
|
|
4860
|
-
if isinstance(data["error_message"], str)
|
|
4861
|
-
else None
|
|
4862
|
-
),
|
|
4863
|
-
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4864
|
-
data["notification_trigger"]
|
|
4865
|
-
),
|
|
4866
4856
|
welcome_title=(
|
|
4867
4857
|
str(data["welcome_title"])
|
|
4868
4858
|
if isinstance(data["welcome_title"], str)
|
|
4869
4859
|
else None
|
|
4870
4860
|
),
|
|
4861
|
+
start_message=(
|
|
4862
|
+
str(data["start_message"])
|
|
4863
|
+
if isinstance(data["start_message"], str)
|
|
4864
|
+
else None
|
|
4865
|
+
),
|
|
4866
|
+
error_message=(
|
|
4867
|
+
str(data["error_message"])
|
|
4868
|
+
if isinstance(data["error_message"], str)
|
|
4869
|
+
else None
|
|
4870
|
+
),
|
|
4871
4871
|
)
|
|
4872
4872
|
|
|
4873
4873
|
|
|
@@ -4875,15 +4875,9 @@ CommonAbstraJsonV12FormsItem = CommonAbstraJsonV12DefinitionsFormStage
|
|
|
4875
4875
|
|
|
4876
4876
|
CommonAbstraJsonV12Forms = typing.List[CommonAbstraJsonV12FormsItem]
|
|
4877
4877
|
|
|
4878
|
-
|
|
4879
|
-
CommonAbstraJsonV12DefinitionsTransition
|
|
4880
|
-
)
|
|
4881
|
-
|
|
4882
|
-
CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
4883
|
-
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
4884
|
-
]
|
|
4878
|
+
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
4885
4879
|
|
|
4886
|
-
|
|
4880
|
+
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4887
4881
|
|
|
4888
4882
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
4889
4883
|
|
|
@@ -4891,29 +4885,35 @@ CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
4891
4885
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem
|
|
4892
4886
|
]
|
|
4893
4887
|
|
|
4894
|
-
|
|
4888
|
+
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4895
4889
|
|
|
4896
|
-
|
|
4890
|
+
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem = (
|
|
4891
|
+
CommonAbstraJsonV12DefinitionsTransition
|
|
4892
|
+
)
|
|
4893
|
+
|
|
4894
|
+
CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
4895
|
+
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
4896
|
+
]
|
|
4897
4897
|
|
|
4898
4898
|
CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
4899
4899
|
|
|
4900
4900
|
|
|
4901
4901
|
@dataclass
|
|
4902
4902
|
class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
4903
|
-
transitions: CommonAbstraJsonV12DefinitionsScriptStageTransitions
|
|
4904
|
-
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4905
|
-
workflow_position: CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition
|
|
4906
|
-
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4907
4903
|
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
4904
|
+
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4905
|
+
workflow_position: CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition
|
|
4906
|
+
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4907
|
+
transitions: CommonAbstraJsonV12DefinitionsScriptStageTransitions
|
|
4908
4908
|
is_initial: CommonAbstraJsonV12DefinitionsScriptStageIsInitial
|
|
4909
4909
|
|
|
4910
4910
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4911
4911
|
data = {}
|
|
4912
|
-
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4913
|
-
data["id"] = self.id
|
|
4914
|
-
data["workflow_position"] = self.workflow_position
|
|
4915
|
-
data["file"] = self.file
|
|
4916
4912
|
data["title"] = self.title
|
|
4913
|
+
data["file"] = self.file
|
|
4914
|
+
data["workflow_position"] = self.workflow_position
|
|
4915
|
+
data["id"] = self.id
|
|
4916
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4917
4917
|
data["is_initial"] = self.is_initial
|
|
4918
4918
|
return data
|
|
4919
4919
|
|
|
@@ -4922,14 +4922,14 @@ class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
|
4922
4922
|
cls, data: typing.Dict[str, typing.Any]
|
|
4923
4923
|
) -> "CommonAbstraJsonV12DefinitionsScriptStage":
|
|
4924
4924
|
return cls(
|
|
4925
|
+
title=str(data["title"]),
|
|
4926
|
+
file=str(data["file"]),
|
|
4927
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4928
|
+
id=str(data["id"]),
|
|
4925
4929
|
transitions=[
|
|
4926
4930
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4927
4931
|
for item in data["transitions"]
|
|
4928
4932
|
],
|
|
4929
|
-
id=str(data["id"]),
|
|
4930
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4931
|
-
file=str(data["file"]),
|
|
4932
|
-
title=str(data["title"]),
|
|
4933
4933
|
is_initial=bool(data["is_initial"]),
|
|
4934
4934
|
)
|
|
4935
4935
|
|
|
@@ -7387,7 +7387,105 @@ CloudApiCliAiV2ConversationGetResponseMessagesItemRoleValues: typing.List[
|
|
|
7387
7387
|
CloudApiCliAiV2ConversationGetResponseMessagesItemRole
|
|
7388
7388
|
] = ["user", "assistant"]
|
|
7389
7389
|
|
|
7390
|
-
|
|
7390
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent0 = str
|
|
7391
|
+
|
|
7392
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0Type = typing.Literal[
|
|
7393
|
+
"text"
|
|
7394
|
+
]
|
|
7395
|
+
|
|
7396
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0TypeValues: typing.List[
|
|
7397
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0Type
|
|
7398
|
+
] = ["text"]
|
|
7399
|
+
|
|
7400
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0Text = str
|
|
7401
|
+
|
|
7402
|
+
|
|
7403
|
+
@dataclass
|
|
7404
|
+
class CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0:
|
|
7405
|
+
type: CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0Type
|
|
7406
|
+
text: CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0Text
|
|
7407
|
+
|
|
7408
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
7409
|
+
data = {}
|
|
7410
|
+
data["type"] = self.type
|
|
7411
|
+
data["text"] = self.text
|
|
7412
|
+
return data
|
|
7413
|
+
|
|
7414
|
+
@classmethod
|
|
7415
|
+
def from_dict(
|
|
7416
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
7417
|
+
) -> "CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0":
|
|
7418
|
+
return cls(
|
|
7419
|
+
type=data["type"],
|
|
7420
|
+
text=str(data["text"]),
|
|
7421
|
+
)
|
|
7422
|
+
|
|
7423
|
+
|
|
7424
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1Type = typing.Literal[
|
|
7425
|
+
"image_url"
|
|
7426
|
+
]
|
|
7427
|
+
|
|
7428
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1TypeValues: typing.List[
|
|
7429
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1Type
|
|
7430
|
+
] = ["image_url"]
|
|
7431
|
+
|
|
7432
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1ImageUrlUrl = str
|
|
7433
|
+
|
|
7434
|
+
|
|
7435
|
+
@dataclass
|
|
7436
|
+
class CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1ImageUrl:
|
|
7437
|
+
url: CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1ImageUrlUrl
|
|
7438
|
+
|
|
7439
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
7440
|
+
data = {}
|
|
7441
|
+
data["url"] = self.url
|
|
7442
|
+
return data
|
|
7443
|
+
|
|
7444
|
+
@classmethod
|
|
7445
|
+
def from_dict(
|
|
7446
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
7447
|
+
) -> "CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1ImageUrl":
|
|
7448
|
+
return cls(
|
|
7449
|
+
url=str(data["url"]),
|
|
7450
|
+
)
|
|
7451
|
+
|
|
7452
|
+
|
|
7453
|
+
@dataclass
|
|
7454
|
+
class CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1:
|
|
7455
|
+
type: CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1Type
|
|
7456
|
+
image_url: CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1ImageUrl
|
|
7457
|
+
|
|
7458
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
7459
|
+
data = {}
|
|
7460
|
+
data["type"] = self.type
|
|
7461
|
+
data["image_url"] = self.image_url.to_dict()
|
|
7462
|
+
return data
|
|
7463
|
+
|
|
7464
|
+
@classmethod
|
|
7465
|
+
def from_dict(
|
|
7466
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
7467
|
+
) -> "CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1":
|
|
7468
|
+
return cls(
|
|
7469
|
+
type=data["type"],
|
|
7470
|
+
image_url=CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1ImageUrl.from_dict(
|
|
7471
|
+
data["image_url"]
|
|
7472
|
+
),
|
|
7473
|
+
)
|
|
7474
|
+
|
|
7475
|
+
|
|
7476
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item = typing.Union[
|
|
7477
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0,
|
|
7478
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1,
|
|
7479
|
+
]
|
|
7480
|
+
|
|
7481
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1 = typing.List[
|
|
7482
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item
|
|
7483
|
+
]
|
|
7484
|
+
|
|
7485
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent = typing.Union[
|
|
7486
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent0,
|
|
7487
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1,
|
|
7488
|
+
]
|
|
7391
7489
|
|
|
7392
7490
|
CloudApiCliAiV2ConversationGetResponseMessagesItemCreatedAt = datetime.datetime
|
|
7393
7491
|
|
|
@@ -7411,7 +7509,16 @@ class CloudApiCliAiV2ConversationGetResponseMessagesItem:
|
|
|
7411
7509
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
7412
7510
|
data = {}
|
|
7413
7511
|
data["role"] = self.role
|
|
7414
|
-
data["content"] =
|
|
7512
|
+
data["content"] = (
|
|
7513
|
+
self.content
|
|
7514
|
+
if isinstance(self.content, str)
|
|
7515
|
+
else [
|
|
7516
|
+
item.to_dict()
|
|
7517
|
+
if isinstance(item, dict) and (item.get("type", None) == "text")
|
|
7518
|
+
else item.to_dict()
|
|
7519
|
+
for item in self.content
|
|
7520
|
+
]
|
|
7521
|
+
)
|
|
7415
7522
|
data["createdAt"] = self.created_at.isoformat()
|
|
7416
7523
|
if self.tool_title is not None:
|
|
7417
7524
|
data["toolTitle"] = self.tool_title
|
|
@@ -7425,7 +7532,22 @@ class CloudApiCliAiV2ConversationGetResponseMessagesItem:
|
|
|
7425
7532
|
) -> "CloudApiCliAiV2ConversationGetResponseMessagesItem":
|
|
7426
7533
|
return cls(
|
|
7427
7534
|
role=data["role"],
|
|
7428
|
-
content=
|
|
7535
|
+
content=(
|
|
7536
|
+
str(data["content"])
|
|
7537
|
+
if isinstance(data["content"], str)
|
|
7538
|
+
else [
|
|
7539
|
+
(
|
|
7540
|
+
CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item0.from_dict(
|
|
7541
|
+
item
|
|
7542
|
+
)
|
|
7543
|
+
if isinstance(item, dict) and (item.get("type", None) == "text")
|
|
7544
|
+
else CloudApiCliAiV2ConversationGetResponseMessagesItemContent1Item1.from_dict(
|
|
7545
|
+
item
|
|
7546
|
+
)
|
|
7547
|
+
)
|
|
7548
|
+
for item in data["content"]
|
|
7549
|
+
]
|
|
7550
|
+
),
|
|
7429
7551
|
created_at=datetime.datetime.fromisoformat(data["createdAt"]),
|
|
7430
7552
|
tool_title=None
|
|
7431
7553
|
if data.get("toolTitle") is None
|
|
@@ -7863,6 +7985,142 @@ class CloudApiCliRoleCreateRequest:
|
|
|
7863
7985
|
|
|
7864
7986
|
CloudApiCliRoleCreateResponse = CommonRole
|
|
7865
7987
|
|
|
7988
|
+
CloudApiCliAgentsRunRequestBodyPrompt = str
|
|
7989
|
+
|
|
7990
|
+
CloudApiCliAgentsRunRequestBodyResponseFormat = typing.Dict[str, typing.Any]
|
|
7991
|
+
|
|
7992
|
+
CloudApiCliAgentsRunRequestBodyMcpUrl = str
|
|
7993
|
+
|
|
7994
|
+
CloudApiCliAgentsRunRequestBodyCallbackUrl = str
|
|
7995
|
+
|
|
7996
|
+
|
|
7997
|
+
@dataclass
|
|
7998
|
+
class CloudApiCliAgentsRunRequestBody:
|
|
7999
|
+
prompt: CloudApiCliAgentsRunRequestBodyPrompt
|
|
8000
|
+
callback_url: CloudApiCliAgentsRunRequestBodyCallbackUrl
|
|
8001
|
+
response_format: typing.Optional[CloudApiCliAgentsRunRequestBodyResponseFormat] = (
|
|
8002
|
+
field(default_factory=lambda: None)
|
|
8003
|
+
)
|
|
8004
|
+
mcp_url: typing.Optional[CloudApiCliAgentsRunRequestBodyMcpUrl] = field(
|
|
8005
|
+
default_factory=lambda: None
|
|
8006
|
+
)
|
|
8007
|
+
|
|
8008
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
8009
|
+
data = {}
|
|
8010
|
+
data["prompt"] = self.prompt
|
|
8011
|
+
data["callbackUrl"] = self.callback_url
|
|
8012
|
+
if self.response_format is not None:
|
|
8013
|
+
data["responseFormat"] = self.response_format
|
|
8014
|
+
if self.mcp_url is not None:
|
|
8015
|
+
data["mcpUrl"] = self.mcp_url
|
|
8016
|
+
return data
|
|
8017
|
+
|
|
8018
|
+
@classmethod
|
|
8019
|
+
def from_dict(
|
|
8020
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
8021
|
+
) -> "CloudApiCliAgentsRunRequestBody":
|
|
8022
|
+
return cls(
|
|
8023
|
+
prompt=str(data["prompt"]),
|
|
8024
|
+
callback_url=str(data["callbackUrl"]),
|
|
8025
|
+
response_format=None
|
|
8026
|
+
if data.get("responseFormat") is None
|
|
8027
|
+
else dict(**data["responseFormat"]),
|
|
8028
|
+
mcp_url=None if data.get("mcpUrl") is None else str(data["mcpUrl"]),
|
|
8029
|
+
)
|
|
8030
|
+
|
|
8031
|
+
|
|
8032
|
+
CloudApiCliAgentsRunCallbackPayloadSuccessStatus = typing.Literal["success"]
|
|
8033
|
+
|
|
8034
|
+
CloudApiCliAgentsRunCallbackPayloadSuccessStatusValues: typing.List[
|
|
8035
|
+
CloudApiCliAgentsRunCallbackPayloadSuccessStatus
|
|
8036
|
+
] = ["success"]
|
|
8037
|
+
|
|
8038
|
+
CloudApiCliAgentsRunCallbackPayloadSuccessData = typing.Any
|
|
8039
|
+
|
|
8040
|
+
CloudApiCliAgentsRunCallbackPayloadSuccessRunId = str
|
|
8041
|
+
|
|
8042
|
+
|
|
8043
|
+
@dataclass
|
|
8044
|
+
class CloudApiCliAgentsRunCallbackPayloadSuccess:
|
|
8045
|
+
status: typing.Optional[CloudApiCliAgentsRunCallbackPayloadSuccessStatus] = field(
|
|
8046
|
+
default_factory=lambda: None
|
|
8047
|
+
)
|
|
8048
|
+
data: typing.Optional[CloudApiCliAgentsRunCallbackPayloadSuccessData] = field(
|
|
8049
|
+
default_factory=lambda: None
|
|
8050
|
+
)
|
|
8051
|
+
run_id: typing.Optional[CloudApiCliAgentsRunCallbackPayloadSuccessRunId] = field(
|
|
8052
|
+
default_factory=lambda: None
|
|
8053
|
+
)
|
|
8054
|
+
|
|
8055
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
8056
|
+
data = {}
|
|
8057
|
+
if self.status is not None:
|
|
8058
|
+
data["status"] = self.status
|
|
8059
|
+
if self.data is not None:
|
|
8060
|
+
data["data"] = self.data
|
|
8061
|
+
if self.run_id is not None:
|
|
8062
|
+
data["runId"] = self.run_id
|
|
8063
|
+
return data
|
|
8064
|
+
|
|
8065
|
+
@classmethod
|
|
8066
|
+
def from_dict(
|
|
8067
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
8068
|
+
) -> "CloudApiCliAgentsRunCallbackPayloadSuccess":
|
|
8069
|
+
return cls(
|
|
8070
|
+
status=None if data.get("status") is None else data["status"],
|
|
8071
|
+
data=None if data.get("data") is None else data["data"],
|
|
8072
|
+
run_id=None if data.get("runId") is None else str(data["runId"]),
|
|
8073
|
+
)
|
|
8074
|
+
|
|
8075
|
+
|
|
8076
|
+
CloudApiCliAgentsRunCallbackPayloadErrorStatus = typing.Literal["error"]
|
|
8077
|
+
|
|
8078
|
+
CloudApiCliAgentsRunCallbackPayloadErrorStatusValues: typing.List[
|
|
8079
|
+
CloudApiCliAgentsRunCallbackPayloadErrorStatus
|
|
8080
|
+
] = ["error"]
|
|
8081
|
+
|
|
8082
|
+
CloudApiCliAgentsRunCallbackPayloadErrorMessage = str
|
|
8083
|
+
|
|
8084
|
+
CloudApiCliAgentsRunCallbackPayloadErrorRunId = str
|
|
8085
|
+
|
|
8086
|
+
|
|
8087
|
+
@dataclass
|
|
8088
|
+
class CloudApiCliAgentsRunCallbackPayloadError:
|
|
8089
|
+
status: typing.Optional[CloudApiCliAgentsRunCallbackPayloadErrorStatus] = field(
|
|
8090
|
+
default_factory=lambda: None
|
|
8091
|
+
)
|
|
8092
|
+
message: typing.Optional[CloudApiCliAgentsRunCallbackPayloadErrorMessage] = field(
|
|
8093
|
+
default_factory=lambda: None
|
|
8094
|
+
)
|
|
8095
|
+
run_id: typing.Optional[CloudApiCliAgentsRunCallbackPayloadErrorRunId] = field(
|
|
8096
|
+
default_factory=lambda: None
|
|
8097
|
+
)
|
|
8098
|
+
|
|
8099
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
8100
|
+
data = {}
|
|
8101
|
+
if self.status is not None:
|
|
8102
|
+
data["status"] = self.status
|
|
8103
|
+
if self.message is not None:
|
|
8104
|
+
data["message"] = self.message
|
|
8105
|
+
if self.run_id is not None:
|
|
8106
|
+
data["runId"] = self.run_id
|
|
8107
|
+
return data
|
|
8108
|
+
|
|
8109
|
+
@classmethod
|
|
8110
|
+
def from_dict(
|
|
8111
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
8112
|
+
) -> "CloudApiCliAgentsRunCallbackPayloadError":
|
|
8113
|
+
return cls(
|
|
8114
|
+
status=None if data.get("status") is None else data["status"],
|
|
8115
|
+
message=None if data.get("message") is None else str(data["message"]),
|
|
8116
|
+
run_id=None if data.get("runId") is None else str(data["runId"]),
|
|
8117
|
+
)
|
|
8118
|
+
|
|
8119
|
+
|
|
8120
|
+
CloudApiCliAgentsRunCallbackPayload = typing.Union[
|
|
8121
|
+
CloudApiCliAgentsRunCallbackPayloadSuccess, CloudApiCliAgentsRunCallbackPayloadError
|
|
8122
|
+
]
|
|
8123
|
+
|
|
7866
8124
|
CloudApiCliUserGetResponse = CommonUser
|
|
7867
8125
|
|
|
7868
8126
|
CloudApiCliModelsNfseResponseBairroPrestador = str
|