abstra 3.24.0__py3-none-any.whl → 3.24.2__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.
Potentially problematic release.
This version of abstra might be problematic. Click here for more details.
- abstra/cli.py +8 -2
- {abstra-3.24.0.dist-info → abstra-3.24.2.dist-info}/METADATA +1 -2
- {abstra-3.24.0.dist-info → abstra-3.24.2.dist-info}/RECORD +205 -209
- abstra_internals/cloud_api/__init__.py +17 -8
- abstra_internals/contracts_generated.py +975 -707
- abstra_internals/controllers/ai.py +89 -1
- abstra_internals/controllers/git.py +6 -2
- abstra_internals/controllers/main.py +1 -1
- abstra_internals/interface/cli/editor.py +2 -2
- abstra_internals/repositories/git/__init__.py +1 -14
- abstra_internals/repositories/git/git_test.py +9 -1216
- abstra_internals/repositories/git/native.py +13 -7
- abstra_internals/repositories/git/types.py +7 -1
- abstra_internals/server/routes/git.py +11 -2
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.a3ba2a31.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b1a71740.js +2 -0
- abstra_statics/dist/assets/ApiKeys.dafa1dc2.js +2 -0
- abstra_statics/dist/assets/App.45396b70.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.db5596a1.js +2 -0
- abstra_statics/dist/assets/BaseLayout.135a51d9.js +2 -0
- abstra_statics/dist/assets/Billing.622c9155.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.26dec5f7.js → Breadcrumb.8a82fa01.js} +3 -3
- abstra_statics/dist/assets/Builds.38c0f966.css +1 -0
- abstra_statics/dist/assets/Builds.c3fd9633.js +2 -0
- abstra_statics/dist/assets/{Card.6cfffb80.js → Card.38a860a4.js} +5 -5
- abstra_statics/dist/assets/{CircularLoading.a13d6a76.js → CircularLoading.217756fb.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.4c4707d8.js +2 -0
- abstra_statics/dist/assets/ConnectorsView.121898a9.js +2 -0
- abstra_statics/dist/assets/ConnectorsView.b594798e.css +1 -0
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.502d779a.js +2 -0
- abstra_statics/dist/assets/ContentLayout.b1c94c2b.js +2 -0
- abstra_statics/dist/assets/CrudView.75a430a4.js +2 -0
- abstra_statics/dist/assets/CrudView.8abe5bc2.css +1 -0
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.a9c8118b.js +2 -0
- abstra_statics/dist/assets/EditorLogin.fba78ce9.js +2 -0
- abstra_statics/dist/assets/EditorsView.1a9ccb13.js +2 -0
- abstra_statics/dist/assets/EnvVars.d77957ea.js +2 -0
- abstra_statics/dist/assets/Error.5bd293cc.js +2 -0
- abstra_statics/dist/assets/ExclamationCircleOutlined.5d5c3f30.js +2 -0
- abstra_statics/dist/assets/Files.39b07d88.css +1 -0
- abstra_statics/dist/assets/Files.c4ce443f.js +2 -0
- abstra_statics/dist/assets/Form.a4787001.js +2 -0
- abstra_statics/dist/assets/{FormRunner.46f6426d.css → FormRunner.1e6e7d2a.css} +1 -1
- abstra_statics/dist/assets/FormRunner.73650f9e.js +2 -0
- abstra_statics/dist/assets/Home.19a2303b.js +2 -0
- abstra_statics/dist/assets/Home.4eff6ce9.js +2 -0
- abstra_statics/dist/assets/Home.e8bf9440.css +1 -0
- abstra_statics/dist/assets/LoadingContainer.97fa8f2e.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.e309ab16.js +2 -0
- abstra_statics/dist/assets/Login.632cada3.js +2 -0
- abstra_statics/dist/assets/{Login.75d13f6c.css → Login.ac75228f.css} +1 -1
- abstra_statics/dist/assets/Login.ecec1ff2.js +2 -0
- abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.ada1c6c9.js +2 -0
- abstra_statics/dist/assets/Logo.d77d5637.js +2 -0
- abstra_statics/dist/assets/Logs.c1f01b05.js +2 -0
- abstra_statics/dist/assets/LogsController.0ff97ed4.css +1 -0
- abstra_statics/dist/assets/LogsController.2dceb3d3.js +2 -0
- abstra_statics/dist/assets/Main.44b7640e.js +2 -0
- abstra_statics/dist/assets/{MockForm.deda9355.js → MockForm.9b7a0df3.js} +2 -2
- abstra_statics/dist/assets/Navbar.0951ed6d.js +2 -0
- abstra_statics/dist/assets/Navbar.61d3e0a6.css +1 -0
- abstra_statics/dist/assets/NewEditor.d65a400f.js +8 -0
- abstra_statics/dist/assets/NewEditor.e3cfeb2c.css +1 -0
- abstra_statics/dist/assets/OidcLoginCallback.66b0f38a.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.48d8429a.js +2 -0
- abstra_statics/dist/assets/OmniChat.60ee26c8.css +1 -0
- abstra_statics/dist/assets/OmniChat.c3de8733.js +6 -0
- abstra_statics/dist/assets/OnboardingView.6cda1bc5.js +2 -0
- abstra_statics/dist/assets/OnboardingView.e871e6d8.css +1 -0
- abstra_statics/dist/assets/Organization.c36206b7.js +2 -0
- abstra_statics/dist/assets/Organizations.2b1c6c65.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.8090d021.js → PhArrowCounterClockwise.vue.9e570570.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.26582195.js → PhArrowSquareOut.vue.bcbdb6e7.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.812311ad.js → PhClockCounterClockwise.vue.4bd682d8.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.59b0f1b4.js → PhCopy.vue.29934bc2.js} +2 -2
- abstra_statics/dist/assets/PhCopySimple.vue.0241af8c.js +2 -0
- abstra_statics/dist/assets/{PhCube.vue.63ae7d32.js → PhCube.vue.0fe2c514.js} +2 -2
- abstra_statics/dist/assets/PhDatabase.vue.fdfb515c.js +2 -0
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.ab4580a5.js → PhDotsThreeVertical.vue.7a0e0638.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.c2eaaad1.js → PhDownloadSimple.vue.f1245c40.js} +2 -2
- abstra_statics/dist/assets/PhFileArrowUp.vue.c292afe1.js +2 -0
- abstra_statics/dist/assets/PhFilePlus.vue.c39ff1a9.js +2 -0
- abstra_statics/dist/assets/{PhFolderPlus.vue.05ba4a5c.js → PhFolderPlus.vue.bc40161e.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.0e4a6135.js → PhGear.vue.0feed515.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.b2c184d1.js → PhKey.vue.15a9e64e.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.2f2fe576.js → PhPencil.vue.a7219766.js} +2 -2
- abstra_statics/dist/assets/PhPencilSimple.vue.15a2b403.js +2 -0
- abstra_statics/dist/assets/PhRocket.vue.7155b91f.js +2 -0
- abstra_statics/dist/assets/{PhSignOut.vue.a271f14b.js → PhSignOut.vue.2af17bd7.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.726defa2.js → PhSparkle.vue.c7f06cac.js} +2 -2
- abstra_statics/dist/assets/PhTranslate.vue.2ce651a6.js +2 -0
- abstra_statics/dist/assets/{PhUsersThree.vue.275d13ab.js → PhUsersThree.vue.2942df75.js} +2 -2
- abstra_statics/dist/assets/{PhWarningCircle.vue.3b1aca1b.js → PhWarningCircle.vue.05a40bc4.js} +2 -2
- abstra_statics/dist/assets/PhWebhooksLogo.vue.e4752384.js +2 -0
- abstra_statics/dist/assets/PlayerConfigProvider.00af5968.js +2 -0
- abstra_statics/dist/assets/PlayerNavbar.117f184b.js +2 -0
- abstra_statics/dist/assets/{PlayerNavbar.77209eae.css → PlayerNavbar.4dc29a45.css} +1 -1
- abstra_statics/dist/assets/Project.66111161.js +2 -0
- abstra_statics/dist/assets/Project.9c418d2e.css +1 -0
- abstra_statics/dist/assets/ProjectLogin.d9bb1f86.js +2 -0
- abstra_statics/dist/assets/ProjectSettings.f8c6f60a.js +2 -0
- abstra_statics/dist/assets/ProjectsView.32f6ccff.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.c3f2a4bb.js +2 -0
- abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.cb5567cd.js +2 -0
- abstra_statics/dist/assets/{Sidebar.29baeab0.css → Sidebar.161522da.css} +1 -1
- abstra_statics/dist/assets/Sidebar.1c4e35be.js +2 -0
- abstra_statics/dist/assets/Sql.6d9a778c.css +1 -0
- abstra_statics/dist/assets/Sql.8d31ec23.js +5 -0
- abstra_statics/dist/assets/Steps.687763a5.js +2 -0
- abstra_statics/dist/assets/TableCard.8c99a870.js +2 -0
- abstra_statics/dist/assets/{TableEditor.5853a363.css → TableEditor.20fecc75.css} +1 -1
- abstra_statics/dist/assets/TableEditor.ba7a8b6a.js +2 -0
- abstra_statics/dist/assets/Tables.113960f2.js +39 -0
- abstra_statics/dist/assets/TablesDiagram.8e6d1e89.js +15 -0
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.5cc96b0d.js +2 -0
- abstra_statics/dist/assets/Tasks.90846020.js +2 -0
- abstra_statics/dist/assets/{UploadOutlined.eab75eb0.js → UploadOutlined.518baf9a.js} +2 -2
- abstra_statics/dist/assets/View.ded6b355.js +2 -0
- abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.285b5e2c.js +2 -0
- abstra_statics/dist/assets/Watermark.5071a4b2.js +2 -0
- abstra_statics/dist/assets/WebEditor.18ece735.js +2 -0
- abstra_statics/dist/assets/WebEditor.b886e4d1.css +1 -0
- abstra_statics/dist/assets/WidgetPreview.88a4f27f.js +2 -0
- abstra_statics/dist/assets/WorkflowViewer.3b6aee8e.css +1 -0
- abstra_statics/dist/assets/WorkflowViewer.778c401d.js +2 -0
- abstra_statics/dist/assets/ant-design.4efc9ccd.js +2 -0
- abstra_statics/dist/assets/{apiKey.72f497ca.js → apiKey.bd946d8c.js} +2 -2
- abstra_statics/dist/assets/asyncComputed.7bc1692e.js +2 -0
- abstra_statics/dist/assets/{build.df2d55cc.js → build.a8637e29.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.8ba18214.js +2 -0
- abstra_statics/dist/assets/{console.2bf7f04d.js → console.2a5ed51a.js} +4 -4
- abstra_statics/dist/assets/constants.534f67bc.js +2 -0
- abstra_statics/dist/assets/contracts.generated.8ad36e63.js +2 -0
- abstra_statics/dist/assets/{cssMode.7133c7cb.js → cssMode.6c4ccf50.js} +2 -2
- abstra_statics/dist/assets/{datetime.8de2ff28.js → datetime.89495471.js} +2 -2
- abstra_statics/dist/assets/dayjs.304f38f8.js +2 -0
- abstra_statics/dist/assets/editor.c1a1bd33.js +2 -0
- abstra_statics/dist/assets/editor.main.84e237cf.js +2 -0
- abstra_statics/dist/assets/fetch.452c58e5.js +2 -0
- abstra_statics/dist/assets/files.8999afd5.js +2 -0
- abstra_statics/dist/assets/{folder.d8e23009.js → folder.81ef8619.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.6698d1ea.js → freemarker2.559f77f2.js} +2 -2
- abstra_statics/dist/assets/{handlebars.a6c42dc0.js → handlebars.8d101b7c.js} +2 -2
- abstra_statics/dist/assets/{html.493a5410.js → html.b3e7d3ab.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.a28b2fca.js → htmlMode.2305b1bb.js} +2 -2
- abstra_statics/dist/assets/{index.fb49354b.js → index.71eb83f3.js} +2 -2
- abstra_statics/dist/assets/{index.79ce3bf1.js → index.90acf038.js} +2 -2
- abstra_statics/dist/assets/index.b74c262c.js +4 -0
- abstra_statics/dist/assets/index.bc97991a.js +2 -0
- abstra_statics/dist/assets/index.d809956c.js +2 -0
- abstra_statics/dist/assets/{index.57042181.css → index.da037bc0.css} +1 -1
- abstra_statics/dist/assets/index.da4f9d54.js +2 -0
- abstra_statics/dist/assets/{index.c34a405a.js → index.e5cb42a1.js} +2 -2
- abstra_statics/dist/assets/{index.5d6b1e62.js → index.f2beb20d.js} +2 -2
- abstra_statics/dist/assets/{index.4d20c159.js → index.f6171691.js} +3 -3
- abstra_statics/dist/assets/{javascript.3a36cf17.js → javascript.3000fc25.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.bead6ac8.js → jsonMode.7bbb508d.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.9f7a5511.css → jwt-decode.c5760184.css} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.d4517a10.js → jwt-decode.esm.c9c37cdc.js} +197 -197
- abstra_statics/dist/assets/{linters.2f3141cb.js → linters.7fec18d9.js} +2 -2
- abstra_statics/dist/assets/{liquid.0c337fae.js → liquid.b4ac9aaf.js} +3 -3
- abstra_statics/dist/assets/member.3c12efee.js +2 -0
- abstra_statics/dist/assets/metadata.e627ddda.js +2 -0
- abstra_statics/dist/assets/omniChatStore.508e8ece.js +9 -0
- abstra_statics/dist/assets/omniChatStore.b58e3bed.css +1 -0
- abstra_statics/dist/assets/{organization.928c9bef.js → organization.cd03f9a8.js} +2 -2
- abstra_statics/dist/assets/os.f08724fb.js +2 -0
- abstra_statics/dist/assets/player.7362caf4.js +2 -0
- abstra_statics/dist/assets/{plotly.min.7225d3a0.js → plotly.min.50ebb925.js} +2 -2
- abstra_statics/dist/assets/polling.4db5ee9a.js +2 -0
- abstra_statics/dist/assets/{project.619b7244.js → project.9a068e8d.js} +2 -2
- abstra_statics/dist/assets/{python.05764499.js → python.51a7c648.js} +3 -3
- abstra_statics/dist/assets/{razor.81a45581.js → razor.99323f5f.js} +3 -3
- abstra_statics/dist/assets/record.a33d29b1.js +2 -0
- abstra_statics/dist/assets/{redirect.f028a879.js → redirect.42bf4f0a.js} +2 -2
- abstra_statics/dist/assets/repository.5190b94f.js +2 -0
- abstra_statics/dist/assets/repository.94fb77c7.js +2 -0
- abstra_statics/dist/assets/repository.c0d70cb2.js +2 -0
- abstra_statics/dist/assets/router.4168cc71.js +2 -0
- abstra_statics/dist/assets/{router.424f7da9.js → router.a8616541.js} +5 -5
- abstra_statics/dist/assets/string.8fab6b53.js +2 -0
- abstra_statics/dist/assets/{tables.1f68ec62.js → tables.2e1c934b.js} +2 -2
- abstra_statics/dist/assets/tasksController.1feffcfe.js +4 -0
- abstra_statics/dist/assets/{toggleHighContrast.0d0e5662.js → toggleHighContrast.6544a728.js} +7 -7
- abstra_statics/dist/assets/{tsMode.6eadbf06.js → tsMode.922e04bb.js} +2 -2
- abstra_statics/dist/assets/{typescript.1670e287.js → typescript.1b4f8286.js} +3 -3
- abstra_statics/dist/assets/url.9e033350.js +2 -0
- abstra_statics/dist/assets/{useCodebaseEvents.53dec1f2.js → useCodebaseEvents.ffe057d1.js} +2 -2
- abstra_statics/dist/assets/useTables.5fffa3f1.js +2 -0
- abstra_statics/dist/assets/userStore.d962fba4.js +2 -0
- abstra_statics/dist/assets/uuid.8581bc03.js +2 -0
- abstra_statics/dist/assets/vue-flow-background.3e9183ec.js +2 -0
- abstra_statics/dist/assets/vue-flow-core.41c647da.js +22 -0
- abstra_statics/dist/assets/{vue-quill.esm-bundler.c4f04985.js → vue-quill.esm-bundler.36e79a95.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.6244d03d.js → workspaceStore.5a435520.js} +2 -2
- abstra_statics/dist/assets/{xml.f2867af8.js → xml.c1692f52.js} +3 -3
- abstra_statics/dist/assets/{yaml.5427bb1b.js → yaml.244444c1.js} +2 -2
- 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/repositories/git/dulwich.py +0 -1353
- 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.eb8ccb64.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9f98292e.js +0 -2
- abstra_statics/dist/assets/ApiKeys.e975c4f3.js +0 -2
- abstra_statics/dist/assets/App.f62faff6.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.5aa45ac1.js +0 -2
- abstra_statics/dist/assets/BaseLayout.1ec2c96d.js +0 -2
- abstra_statics/dist/assets/Billing.60adc9fa.js +0 -2
- abstra_statics/dist/assets/Builds.ace9e3da.css +0 -1
- abstra_statics/dist/assets/Builds.f86210bc.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.30bc25a8.js +0 -2
- abstra_statics/dist/assets/ConnectorsView.33c5380f.css +0 -1
- abstra_statics/dist/assets/ConnectorsView.eb4c769f.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.8d2e4672.js +0 -2
- abstra_statics/dist/assets/ContentLayout.d03fee5b.js +0 -2
- abstra_statics/dist/assets/CrudView.c0824225.js +0 -2
- abstra_statics/dist/assets/CrudView.e24590ae.css +0 -1
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.3668aee4.js +0 -2
- abstra_statics/dist/assets/EditorLogin.46db248f.js +0 -2
- abstra_statics/dist/assets/EditorsView.e72621fa.js +0 -2
- abstra_statics/dist/assets/EnvVars.f9f9d61f.js +0 -2
- abstra_statics/dist/assets/Error.864f05b3.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.a489b996.js +0 -2
- abstra_statics/dist/assets/Files.afe615e1.js +0 -2
- abstra_statics/dist/assets/Files.d0e8d2ff.css +0 -1
- abstra_statics/dist/assets/Form.556d0de2.js +0 -2
- abstra_statics/dist/assets/FormRunner.7f56a8c6.js +0 -2
- abstra_statics/dist/assets/Home.287d17f8.js +0 -2
- abstra_statics/dist/assets/Home.3794e8b4.css +0 -1
- abstra_statics/dist/assets/Home.5b7e9c23.js +0 -2
- abstra_statics/dist/assets/Live.37415b2d.css +0 -1
- abstra_statics/dist/assets/Live.50bacfea.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.ebace8de.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.9e949112.js +0 -2
- abstra_statics/dist/assets/Login.536a3067.js +0 -2
- abstra_statics/dist/assets/Login.bec408c9.js +0 -2
- abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.1c3f108d.js +0 -2
- abstra_statics/dist/assets/Logo.82d6ab70.js +0 -2
- abstra_statics/dist/assets/Logs.f6135084.js +0 -2
- abstra_statics/dist/assets/LogsController.6b666816.js +0 -2
- abstra_statics/dist/assets/LogsController.fb0d96c2.css +0 -1
- abstra_statics/dist/assets/Main.77b115f8.js +0 -2
- abstra_statics/dist/assets/Navbar.2dc6d02c.css +0 -1
- abstra_statics/dist/assets/Navbar.4a6f2b09.js +0 -2
- abstra_statics/dist/assets/NewEditor.5f84de86.css +0 -1
- abstra_statics/dist/assets/NewEditor.e558e47d.js +0 -8
- abstra_statics/dist/assets/OidcLoginCallback.7f514b45.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.038813a1.js +0 -2
- abstra_statics/dist/assets/OmniChat.05ba8d8a.css +0 -1
- abstra_statics/dist/assets/OmniChat.60d98deb.js +0 -6
- abstra_statics/dist/assets/OnboardingView.3996b08d.css +0 -1
- abstra_statics/dist/assets/OnboardingView.9413ee50.js +0 -2
- abstra_statics/dist/assets/Organization.7203cc0b.js +0 -2
- abstra_statics/dist/assets/Organizations.91220ca0.js +0 -2
- abstra_statics/dist/assets/PhBookBookmark.vue.5b7ab079.js +0 -2
- abstra_statics/dist/assets/PhChats.vue.b5df7174.js +0 -2
- abstra_statics/dist/assets/PhCopySimple.vue.d41d9160.js +0 -2
- abstra_statics/dist/assets/PhDatabase.vue.edfcb96b.js +0 -2
- abstra_statics/dist/assets/PhPencilSimple.vue.cc8620ae.js +0 -2
- abstra_statics/dist/assets/PhRocket.vue.e397203c.js +0 -2
- abstra_statics/dist/assets/PhUserList.vue.6a29f16d.js +0 -2
- abstra_statics/dist/assets/PhWebhooksLogo.vue.5e772aac.js +0 -2
- abstra_statics/dist/assets/PlayerConfigProvider.e90a2b41.js +0 -2
- abstra_statics/dist/assets/PlayerNavbar.11ec1844.js +0 -2
- abstra_statics/dist/assets/Project.9c75c141.css +0 -1
- abstra_statics/dist/assets/Project.c16740fb.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.e7a6f444.js +0 -2
- abstra_statics/dist/assets/ProjectSettings.52c19693.js +0 -2
- abstra_statics/dist/assets/ProjectsView.16d8ecf6.css +0 -1
- abstra_statics/dist/assets/ProjectsView.22fa7a8e.js +0 -2
- abstra_statics/dist/assets/SaveButton.719393d2.js +0 -2
- abstra_statics/dist/assets/SaveButton.932ac6b8.css +0 -1
- abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.d4028954.js +0 -2
- abstra_statics/dist/assets/Sidebar.5cb8e04e.js +0 -2
- abstra_statics/dist/assets/Sql.23d80bad.js +0 -5
- abstra_statics/dist/assets/Sql.90e6e2ba.css +0 -1
- abstra_statics/dist/assets/Steps.8e5d201a.js +0 -2
- abstra_statics/dist/assets/TableCard.59f95f8f.js +0 -2
- abstra_statics/dist/assets/TableEditor.8539f984.js +0 -2
- abstra_statics/dist/assets/Tables.44d953f7.js +0 -2
- abstra_statics/dist/assets/TablesDiagram.8e47383c.js +0 -15
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.6866fb32.js +0 -2
- abstra_statics/dist/assets/Tasks.09551b19.js +0 -2
- abstra_statics/dist/assets/View.5fd7ddf0.js +0 -2
- abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.a904f400.js +0 -2
- abstra_statics/dist/assets/Watermark.ab3d818f.js +0 -2
- abstra_statics/dist/assets/WebEditor.c2e271d1.css +0 -1
- abstra_statics/dist/assets/WebEditor.d6ec6392.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.86b31dec.js +0 -2
- abstra_statics/dist/assets/ant-design.a865486e.js +0 -2
- abstra_statics/dist/assets/asyncComputed.cf5282fc.js +0 -2
- abstra_statics/dist/assets/colorHelpers.37d9932b.js +0 -2
- abstra_statics/dist/assets/constants.7d38ec8b.js +0 -2
- abstra_statics/dist/assets/contracts.generated.590b1102.js +0 -2
- abstra_statics/dist/assets/dayjs.f18bbbca.js +0 -2
- abstra_statics/dist/assets/editor.3a4714e3.js +0 -2
- abstra_statics/dist/assets/editor.main.9c635b9a.js +0 -2
- abstra_statics/dist/assets/fetch.89fd5b7b.js +0 -2
- abstra_statics/dist/assets/index.2af3391c.js +0 -4
- abstra_statics/dist/assets/index.4176fe88.js +0 -2
- abstra_statics/dist/assets/index.fb182bd1.js +0 -2
- abstra_statics/dist/assets/member.48d6f2cd.js +0 -2
- abstra_statics/dist/assets/metadata.c3aed6e1.js +0 -2
- abstra_statics/dist/assets/omniChatStore.c53bcca2.js +0 -8
- abstra_statics/dist/assets/omniChatStore.ec95fb81.css +0 -1
- abstra_statics/dist/assets/player.d3aeafc5.js +0 -2
- abstra_statics/dist/assets/polling.82ee6b45.js +0 -2
- abstra_statics/dist/assets/record.7f43486c.js +0 -2
- abstra_statics/dist/assets/repository.9534db4b.js +0 -2
- abstra_statics/dist/assets/repository.c15239ce.js +0 -2
- abstra_statics/dist/assets/router.262190ec.js +0 -2
- abstra_statics/dist/assets/string.0acf5572.js +0 -2
- abstra_statics/dist/assets/tasksController.371896de.js +0 -4
- abstra_statics/dist/assets/url.e8732f77.js +0 -2
- abstra_statics/dist/assets/useTables.4f034cf8.js +0 -2
- abstra_statics/dist/assets/userStore.31024da3.js +0 -2
- abstra_statics/dist/assets/uuid.bde15ce7.js +0 -2
- abstra_statics/dist/assets/vue-flow-background.818c7852.js +0 -2
- abstra_statics/dist/assets/vue-flow-core.1180ec83.js +0 -22
- {abstra-3.24.0.dist-info → abstra-3.24.2.dist-info}/WHEEL +0 -0
- {abstra-3.24.0.dist-info → abstra-3.24.2.dist-info}/entry_points.txt +0 -0
- {abstra-3.24.0.dist-info → abstra-3.24.2.dist-info}/top_level.txt +0 -0
|
@@ -1924,9 +1924,17 @@ class CommonAbstraJsonV15Home:
|
|
|
1924
1924
|
)
|
|
1925
1925
|
|
|
1926
1926
|
|
|
1927
|
+
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
1928
|
+
|
|
1927
1929
|
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
1928
1930
|
|
|
1929
|
-
|
|
1931
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
1932
|
+
|
|
1933
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
1934
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
1935
|
+
]
|
|
1936
|
+
|
|
1937
|
+
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
1930
1938
|
|
|
1931
1939
|
CommonAbstraJsonV15DefinitionsTransitionId = str
|
|
1932
1940
|
|
|
@@ -1993,33 +2001,25 @@ CommonAbstraJsonV15DefinitionsJobStageTransitions = typing.List[
|
|
|
1993
2001
|
CommonAbstraJsonV15DefinitionsJobStageTransitionsItem
|
|
1994
2002
|
]
|
|
1995
2003
|
|
|
1996
|
-
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
1997
|
-
|
|
1998
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
1999
|
-
|
|
2000
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2001
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
2002
|
-
]
|
|
2003
|
-
|
|
2004
2004
|
CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
2005
2005
|
|
|
2006
2006
|
|
|
2007
2007
|
@dataclass
|
|
2008
2008
|
class CommonAbstraJsonV15DefinitionsJobStage:
|
|
2009
|
-
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2010
2009
|
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2011
|
-
|
|
2012
|
-
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2010
|
+
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2013
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["file"] = self.file
|
|
2019
2018
|
data["title"] = self.title
|
|
2020
|
-
data["
|
|
2021
|
-
data["id"] = self.id
|
|
2019
|
+
data["file"] = self.file
|
|
2022
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
|
-
file=str(data["file"]),
|
|
2032
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"]),
|
|
2033
2035
|
transitions=[
|
|
2034
2036
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2035
2037
|
for item in data["transitions"]
|
|
2036
2038
|
],
|
|
2037
|
-
id=str(data["id"]),
|
|
2038
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2039
2039
|
schedule=str(data["schedule"]),
|
|
2040
2040
|
)
|
|
2041
2041
|
|
|
@@ -2044,9 +2044,17 @@ CommonAbstraJsonV15JobsItem = CommonAbstraJsonV15DefinitionsJobStage
|
|
|
2044
2044
|
|
|
2045
2045
|
CommonAbstraJsonV15Jobs = typing.List[CommonAbstraJsonV15JobsItem]
|
|
2046
2046
|
|
|
2047
|
+
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2048
|
+
|
|
2047
2049
|
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2048
2050
|
|
|
2049
|
-
|
|
2051
|
+
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
2052
|
+
|
|
2053
|
+
CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition = typing.List[
|
|
2054
|
+
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem
|
|
2055
|
+
]
|
|
2056
|
+
|
|
2057
|
+
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2050
2058
|
|
|
2051
2059
|
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem = (
|
|
2052
2060
|
CommonAbstraJsonV15DefinitionsTransition
|
|
@@ -2056,42 +2064,34 @@ CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
|
2056
2064
|
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2057
2065
|
]
|
|
2058
2066
|
|
|
2059
|
-
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2060
|
-
|
|
2061
|
-
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
2062
|
-
|
|
2063
|
-
CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition = typing.List[
|
|
2064
|
-
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem
|
|
2065
|
-
]
|
|
2066
|
-
|
|
2067
2067
|
CommonAbstraJsonV15DefinitionsHookStageEnabled = bool
|
|
2068
2068
|
|
|
2069
|
-
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2070
|
-
|
|
2071
2069
|
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2072
2070
|
|
|
2071
|
+
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2072
|
+
|
|
2073
2073
|
|
|
2074
2074
|
@dataclass
|
|
2075
2075
|
class CommonAbstraJsonV15DefinitionsHookStage:
|
|
2076
|
-
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2077
2076
|
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2078
|
-
|
|
2079
|
-
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2077
|
+
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2080
2078
|
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2079
|
+
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2080
|
+
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2081
2081
|
enabled: CommonAbstraJsonV15DefinitionsHookStageEnabled
|
|
2082
|
-
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2083
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["file"] = self.file
|
|
2088
2087
|
data["title"] = self.title
|
|
2089
|
-
data["
|
|
2090
|
-
data["id"] = self.id
|
|
2088
|
+
data["file"] = self.file
|
|
2091
2089
|
data["workflow_position"] = self.workflow_position
|
|
2090
|
+
data["id"] = self.id
|
|
2091
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2092
2092
|
data["enabled"] = self.enabled
|
|
2093
|
-
data["is_initial"] = self.is_initial
|
|
2094
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
|
-
file=str(data["file"]),
|
|
2103
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"]),
|
|
2104
2106
|
transitions=[
|
|
2105
2107
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2106
2108
|
for item in data["transitions"]
|
|
2107
2109
|
],
|
|
2108
|
-
id=str(data["id"]),
|
|
2109
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2110
2110
|
enabled=bool(data["enabled"]),
|
|
2111
|
-
is_initial=bool(data["is_initial"]),
|
|
2112
2111
|
path=str(data["path"]),
|
|
2112
|
+
is_initial=bool(data["is_initial"]),
|
|
2113
2113
|
)
|
|
2114
2114
|
|
|
2115
2115
|
|
|
@@ -2117,9 +2117,17 @@ CommonAbstraJsonV15HooksItem = CommonAbstraJsonV15DefinitionsHookStage
|
|
|
2117
2117
|
|
|
2118
2118
|
CommonAbstraJsonV15Hooks = typing.List[CommonAbstraJsonV15HooksItem]
|
|
2119
2119
|
|
|
2120
|
+
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2121
|
+
|
|
2120
2122
|
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2121
2123
|
|
|
2122
|
-
|
|
2124
|
+
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
2125
|
+
|
|
2126
|
+
CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2127
|
+
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem
|
|
2128
|
+
]
|
|
2129
|
+
|
|
2130
|
+
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2123
2131
|
|
|
2124
2132
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem = (
|
|
2125
2133
|
CommonAbstraJsonV15DefinitionsTransition
|
|
@@ -2129,16 +2137,6 @@ CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
|
2129
2137
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem
|
|
2130
2138
|
]
|
|
2131
2139
|
|
|
2132
|
-
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2133
|
-
|
|
2134
|
-
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
2135
|
-
|
|
2136
|
-
CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2137
|
-
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem
|
|
2138
|
-
]
|
|
2139
|
-
|
|
2140
|
-
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2141
|
-
|
|
2142
2140
|
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2143
2141
|
|
|
2144
2142
|
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
@@ -2148,18 +2146,46 @@ CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
2148
2146
|
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2149
2147
|
]
|
|
2150
2148
|
|
|
2151
|
-
|
|
2149
|
+
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2152
2150
|
|
|
2153
|
-
|
|
2151
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2154
2152
|
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2153
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull = type(None)
|
|
2154
|
+
|
|
2155
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessage = typing.Union[
|
|
2156
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageString,
|
|
2157
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull,
|
|
2158
2158
|
]
|
|
2159
2159
|
|
|
2160
|
-
|
|
2160
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2161
2161
|
|
|
2162
|
-
|
|
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
|
|
2163
2189
|
|
|
2164
2190
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
2165
2191
|
|
|
@@ -2170,6 +2196,19 @@ CommonAbstraJsonV15DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
2170
2196
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull,
|
|
2171
2197
|
]
|
|
2172
2198
|
|
|
2199
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2200
|
+
|
|
2201
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2202
|
+
|
|
2203
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2204
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2205
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2206
|
+
]
|
|
2207
|
+
|
|
2208
|
+
CommonAbstraJsonV15DefinitionsFormStageAllowRestart = bool
|
|
2209
|
+
|
|
2210
|
+
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2211
|
+
|
|
2173
2212
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic = bool
|
|
2174
2213
|
|
|
2175
2214
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -2200,26 +2239,15 @@ class CommonAbstraJsonV15DefinitionsFormStageAccessControl:
|
|
|
2200
2239
|
)
|
|
2201
2240
|
|
|
2202
2241
|
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2206
|
-
|
|
2207
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2208
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2209
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2210
|
-
]
|
|
2211
|
-
|
|
2212
|
-
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2242
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString = str
|
|
2213
2243
|
|
|
2214
|
-
|
|
2244
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2215
2245
|
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2246
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
2247
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString,
|
|
2248
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull,
|
|
2219
2249
|
]
|
|
2220
2250
|
|
|
2221
|
-
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2222
|
-
|
|
2223
2251
|
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
2224
2252
|
|
|
2225
2253
|
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
@@ -2229,110 +2257,82 @@ CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
|
2229
2257
|
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2230
2258
|
]
|
|
2231
2259
|
|
|
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
|
|
2249
|
-
|
|
2250
|
-
@classmethod
|
|
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
|
-
)
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString = str
|
|
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
|
-
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2273
2272
|
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
2274
|
-
|
|
2275
|
-
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2273
|
+
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2276
2274
|
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
2277
|
-
|
|
2275
|
+
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2276
|
+
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
2278
2277
|
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2279
|
-
|
|
2278
|
+
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2279
|
+
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2280
|
+
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2280
2281
|
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2281
|
-
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2282
2282
|
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2283
|
-
access_control: CommonAbstraJsonV15DefinitionsFormStageAccessControl
|
|
2284
2283
|
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2284
|
+
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2285
|
+
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
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["file"] = self.file
|
|
2294
2293
|
data["title"] = self.title
|
|
2295
|
-
data["
|
|
2296
|
-
data["id"] = self.id
|
|
2294
|
+
data["file"] = self.file
|
|
2297
2295
|
data["workflow_position"] = self.workflow_position
|
|
2298
|
-
data["
|
|
2296
|
+
data["id"] = self.id
|
|
2297
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2299
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
|
-
|
|
2306
|
-
if isinstance(self.
|
|
2307
|
-
else self.error_message
|
|
2303
|
+
data["path"] = self.path
|
|
2304
|
+
data["end_message"] = (
|
|
2305
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2308
2306
|
)
|
|
2307
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2309
2308
|
data["auto_start"] = self.auto_start
|
|
2310
|
-
data["allow_restart"] = self.allow_restart
|
|
2311
2309
|
data["start_button_text"] = (
|
|
2312
2310
|
self.start_button_text
|
|
2313
2311
|
if isinstance(self.start_button_text, str)
|
|
2314
2312
|
else self.start_button_text
|
|
2315
2313
|
)
|
|
2316
|
-
data["access_control"] = self.access_control.to_dict()
|
|
2317
2314
|
data["timeout_message"] = (
|
|
2318
2315
|
self.timeout_message
|
|
2319
2316
|
if isinstance(self.timeout_message, str)
|
|
2320
2317
|
else self.timeout_message
|
|
2321
2318
|
)
|
|
2322
|
-
data["
|
|
2323
|
-
|
|
2319
|
+
data["allow_restart"] = self.allow_restart
|
|
2320
|
+
data["is_initial"] = self.is_initial
|
|
2321
|
+
data["access_control"] = self.access_control.to_dict()
|
|
2322
|
+
data["welcome_title"] = (
|
|
2323
|
+
self.welcome_title
|
|
2324
|
+
if isinstance(self.welcome_title, str)
|
|
2325
|
+
else self.welcome_title
|
|
2324
2326
|
)
|
|
2325
|
-
data["path"] = self.path
|
|
2326
2327
|
data["start_message"] = (
|
|
2327
2328
|
self.start_message
|
|
2328
2329
|
if isinstance(self.start_message, str)
|
|
2329
2330
|
else self.start_message
|
|
2330
2331
|
)
|
|
2331
|
-
data["
|
|
2332
|
-
|
|
2333
|
-
self.
|
|
2334
|
-
|
|
2335
|
-
else self.welcome_title
|
|
2332
|
+
data["error_message"] = (
|
|
2333
|
+
self.error_message
|
|
2334
|
+
if isinstance(self.error_message, str)
|
|
2335
|
+
else self.error_message
|
|
2336
2336
|
)
|
|
2337
2337
|
return data
|
|
2338
2338
|
|
|
@@ -2341,57 +2341,57 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2341
2341
|
cls, data: typing.Dict[str, typing.Any]
|
|
2342
2342
|
) -> "CommonAbstraJsonV15DefinitionsFormStage":
|
|
2343
2343
|
return cls(
|
|
2344
|
-
file=str(data["file"]),
|
|
2345
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"]),
|
|
2346
2348
|
transitions=[
|
|
2347
2349
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2348
2350
|
for item in data["transitions"]
|
|
2349
2351
|
],
|
|
2350
|
-
id=str(data["id"]),
|
|
2351
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2352
|
-
is_initial=bool(data["is_initial"]),
|
|
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
|
-
|
|
2360
|
-
|
|
2357
|
+
path=str(data["path"]),
|
|
2358
|
+
end_message=(
|
|
2359
|
+
str(data["end_message"])
|
|
2360
|
+
if isinstance(data["end_message"], str)
|
|
2361
2361
|
else None
|
|
2362
2362
|
),
|
|
2363
|
+
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2364
|
+
data["notification_trigger"]
|
|
2365
|
+
),
|
|
2363
2366
|
auto_start=bool(data["auto_start"]),
|
|
2364
|
-
allow_restart=bool(data["allow_restart"]),
|
|
2365
2367
|
start_button_text=(
|
|
2366
2368
|
str(data["start_button_text"])
|
|
2367
2369
|
if isinstance(data["start_button_text"], str)
|
|
2368
2370
|
else None
|
|
2369
2371
|
),
|
|
2370
|
-
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2371
|
-
data["access_control"]
|
|
2372
|
-
),
|
|
2373
2372
|
timeout_message=(
|
|
2374
2373
|
str(data["timeout_message"])
|
|
2375
2374
|
if isinstance(data["timeout_message"], str)
|
|
2376
2375
|
else None
|
|
2377
2376
|
),
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2377
|
+
allow_restart=bool(data["allow_restart"]),
|
|
2378
|
+
is_initial=bool(data["is_initial"]),
|
|
2379
|
+
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2380
|
+
data["access_control"]
|
|
2381
|
+
),
|
|
2382
|
+
welcome_title=(
|
|
2383
|
+
str(data["welcome_title"])
|
|
2384
|
+
if isinstance(data["welcome_title"], str)
|
|
2381
2385
|
else None
|
|
2382
2386
|
),
|
|
2383
|
-
path=str(data["path"]),
|
|
2384
2387
|
start_message=(
|
|
2385
2388
|
str(data["start_message"])
|
|
2386
2389
|
if isinstance(data["start_message"], str)
|
|
2387
2390
|
else None
|
|
2388
2391
|
),
|
|
2389
|
-
|
|
2390
|
-
data["
|
|
2391
|
-
|
|
2392
|
-
welcome_title=(
|
|
2393
|
-
str(data["welcome_title"])
|
|
2394
|
-
if isinstance(data["welcome_title"], str)
|
|
2392
|
+
error_message=(
|
|
2393
|
+
str(data["error_message"])
|
|
2394
|
+
if isinstance(data["error_message"], str)
|
|
2395
2395
|
else None
|
|
2396
2396
|
),
|
|
2397
2397
|
)
|
|
@@ -2401,9 +2401,17 @@ CommonAbstraJsonV15FormsItem = CommonAbstraJsonV15DefinitionsFormStage
|
|
|
2401
2401
|
|
|
2402
2402
|
CommonAbstraJsonV15Forms = typing.List[CommonAbstraJsonV15FormsItem]
|
|
2403
2403
|
|
|
2404
|
+
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
2405
|
+
|
|
2404
2406
|
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2405
2407
|
|
|
2406
|
-
|
|
2408
|
+
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
2409
|
+
|
|
2410
|
+
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
2411
|
+
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem
|
|
2412
|
+
]
|
|
2413
|
+
|
|
2414
|
+
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2407
2415
|
|
|
2408
2416
|
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem = (
|
|
2409
2417
|
CommonAbstraJsonV15DefinitionsTransition
|
|
@@ -2413,33 +2421,25 @@ CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
|
2413
2421
|
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
2414
2422
|
]
|
|
2415
2423
|
|
|
2416
|
-
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2417
|
-
|
|
2418
|
-
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
2419
|
-
|
|
2420
|
-
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
2421
|
-
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem
|
|
2422
|
-
]
|
|
2423
|
-
|
|
2424
2424
|
CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
2425
2425
|
|
|
2426
2426
|
|
|
2427
2427
|
@dataclass
|
|
2428
2428
|
class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
2429
|
-
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2430
2429
|
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
2431
|
-
|
|
2432
|
-
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2430
|
+
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2433
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["file"] = self.file
|
|
2439
2438
|
data["title"] = self.title
|
|
2440
|
-
data["
|
|
2441
|
-
data["id"] = self.id
|
|
2439
|
+
data["file"] = self.file
|
|
2442
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
|
-
file=str(data["file"]),
|
|
2452
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"]),
|
|
2453
2455
|
transitions=[
|
|
2454
2456
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2455
2457
|
for item in data["transitions"]
|
|
2456
2458
|
],
|
|
2457
|
-
id=str(data["id"]),
|
|
2458
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2459
2459
|
is_initial=bool(data["is_initial"]),
|
|
2460
2460
|
)
|
|
2461
2461
|
|
|
@@ -2699,9 +2699,17 @@ class CommonAbstraJsonV14Home:
|
|
|
2699
2699
|
)
|
|
2700
2700
|
|
|
2701
2701
|
|
|
2702
|
+
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2703
|
+
|
|
2702
2704
|
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2703
2705
|
|
|
2704
|
-
|
|
2706
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
2707
|
+
|
|
2708
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2709
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
2710
|
+
]
|
|
2711
|
+
|
|
2712
|
+
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2705
2713
|
|
|
2706
2714
|
CommonAbstraJsonV14DefinitionsTransitionId = str
|
|
2707
2715
|
|
|
@@ -2772,33 +2780,25 @@ CommonAbstraJsonV14DefinitionsJobStageTransitions = typing.List[
|
|
|
2772
2780
|
CommonAbstraJsonV14DefinitionsJobStageTransitionsItem
|
|
2773
2781
|
]
|
|
2774
2782
|
|
|
2775
|
-
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2776
|
-
|
|
2777
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
2778
|
-
|
|
2779
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2780
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
2781
|
-
]
|
|
2782
|
-
|
|
2783
2783
|
CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
2784
2784
|
|
|
2785
2785
|
|
|
2786
2786
|
@dataclass
|
|
2787
2787
|
class CommonAbstraJsonV14DefinitionsJobStage:
|
|
2788
|
-
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2789
2788
|
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
2790
|
-
|
|
2791
|
-
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2789
|
+
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2792
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["file"] = self.file
|
|
2798
2797
|
data["title"] = self.title
|
|
2799
|
-
data["
|
|
2800
|
-
data["id"] = self.id
|
|
2798
|
+
data["file"] = self.file
|
|
2801
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
|
-
file=str(data["file"]),
|
|
2811
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"]),
|
|
2812
2814
|
transitions=[
|
|
2813
2815
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2814
2816
|
for item in data["transitions"]
|
|
2815
2817
|
],
|
|
2816
|
-
id=str(data["id"]),
|
|
2817
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2818
2818
|
schedule=str(data["schedule"]),
|
|
2819
2819
|
)
|
|
2820
2820
|
|
|
@@ -2823,9 +2823,17 @@ CommonAbstraJsonV14JobsItem = CommonAbstraJsonV14DefinitionsJobStage
|
|
|
2823
2823
|
|
|
2824
2824
|
CommonAbstraJsonV14Jobs = typing.List[CommonAbstraJsonV14JobsItem]
|
|
2825
2825
|
|
|
2826
|
+
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
2827
|
+
|
|
2826
2828
|
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
2827
2829
|
|
|
2828
|
-
|
|
2830
|
+
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
2831
|
+
|
|
2832
|
+
CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition = typing.List[
|
|
2833
|
+
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem
|
|
2834
|
+
]
|
|
2835
|
+
|
|
2836
|
+
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2829
2837
|
|
|
2830
2838
|
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem = (
|
|
2831
2839
|
CommonAbstraJsonV14DefinitionsTransition
|
|
@@ -2835,42 +2843,34 @@ CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
|
2835
2843
|
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
2836
2844
|
]
|
|
2837
2845
|
|
|
2838
|
-
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2839
|
-
|
|
2840
|
-
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
2841
|
-
|
|
2842
|
-
CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition = typing.List[
|
|
2843
|
-
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem
|
|
2844
|
-
]
|
|
2845
|
-
|
|
2846
2846
|
CommonAbstraJsonV14DefinitionsHookStageEnabled = bool
|
|
2847
2847
|
|
|
2848
|
-
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
2849
|
-
|
|
2850
2848
|
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2851
2849
|
|
|
2850
|
+
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
2851
|
+
|
|
2852
2852
|
|
|
2853
2853
|
@dataclass
|
|
2854
2854
|
class CommonAbstraJsonV14DefinitionsHookStage:
|
|
2855
|
-
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2856
2855
|
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
2857
|
-
|
|
2858
|
-
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2856
|
+
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2859
2857
|
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
2858
|
+
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2859
|
+
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
2860
2860
|
enabled: CommonAbstraJsonV14DefinitionsHookStageEnabled
|
|
2861
|
-
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2862
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["file"] = self.file
|
|
2867
2866
|
data["title"] = self.title
|
|
2868
|
-
data["
|
|
2869
|
-
data["id"] = self.id
|
|
2867
|
+
data["file"] = self.file
|
|
2870
2868
|
data["workflow_position"] = self.workflow_position
|
|
2869
|
+
data["id"] = self.id
|
|
2870
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2871
2871
|
data["enabled"] = self.enabled
|
|
2872
|
-
data["is_initial"] = self.is_initial
|
|
2873
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
|
-
file=str(data["file"]),
|
|
2882
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"]),
|
|
2883
2885
|
transitions=[
|
|
2884
2886
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2885
2887
|
for item in data["transitions"]
|
|
2886
2888
|
],
|
|
2887
|
-
id=str(data["id"]),
|
|
2888
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2889
2889
|
enabled=bool(data["enabled"]),
|
|
2890
|
-
is_initial=bool(data["is_initial"]),
|
|
2891
2890
|
path=str(data["path"]),
|
|
2891
|
+
is_initial=bool(data["is_initial"]),
|
|
2892
2892
|
)
|
|
2893
2893
|
|
|
2894
2894
|
|
|
@@ -2896,9 +2896,17 @@ CommonAbstraJsonV14HooksItem = CommonAbstraJsonV14DefinitionsHookStage
|
|
|
2896
2896
|
|
|
2897
2897
|
CommonAbstraJsonV14Hooks = typing.List[CommonAbstraJsonV14HooksItem]
|
|
2898
2898
|
|
|
2899
|
+
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
2900
|
+
|
|
2899
2901
|
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
2900
2902
|
|
|
2901
|
-
|
|
2903
|
+
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
2904
|
+
|
|
2905
|
+
CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2906
|
+
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem
|
|
2907
|
+
]
|
|
2908
|
+
|
|
2909
|
+
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2902
2910
|
|
|
2903
2911
|
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem = (
|
|
2904
2912
|
CommonAbstraJsonV14DefinitionsTransition
|
|
@@ -2908,16 +2916,6 @@ CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
|
2908
2916
|
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
2909
2917
|
]
|
|
2910
2918
|
|
|
2911
|
-
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2912
|
-
|
|
2913
|
-
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
2914
|
-
|
|
2915
|
-
CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2916
|
-
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem
|
|
2917
|
-
]
|
|
2918
|
-
|
|
2919
|
-
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
2920
|
-
|
|
2921
2919
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
2922
2920
|
|
|
2923
2921
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
@@ -2927,18 +2925,46 @@ CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
2927
2925
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
2928
2926
|
]
|
|
2929
2927
|
|
|
2930
|
-
|
|
2928
|
+
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
2931
2929
|
|
|
2932
|
-
|
|
2930
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
2933
2931
|
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2932
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
2933
|
+
|
|
2934
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
2935
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString,
|
|
2936
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
2937
2937
|
]
|
|
2938
2938
|
|
|
2939
|
-
|
|
2939
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2940
2940
|
|
|
2941
|
-
|
|
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
|
|
2942
2968
|
|
|
2943
2969
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
2944
2970
|
|
|
@@ -2949,6 +2975,19 @@ CommonAbstraJsonV14DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
2949
2975
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull,
|
|
2950
2976
|
]
|
|
2951
2977
|
|
|
2978
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString = str
|
|
2979
|
+
|
|
2980
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2981
|
+
|
|
2982
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2983
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString,
|
|
2984
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
2985
|
+
]
|
|
2986
|
+
|
|
2987
|
+
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
2988
|
+
|
|
2989
|
+
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
2990
|
+
|
|
2952
2991
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic = bool
|
|
2953
2992
|
|
|
2954
2993
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -2979,26 +3018,15 @@ class CommonAbstraJsonV14DefinitionsFormStageAccessControl:
|
|
|
2979
3018
|
)
|
|
2980
3019
|
|
|
2981
3020
|
|
|
2982
|
-
|
|
3021
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
2983
3022
|
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2987
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString,
|
|
2988
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
2989
|
-
]
|
|
2990
|
-
|
|
2991
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
2992
|
-
|
|
2993
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
3023
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2994
3024
|
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
3025
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3026
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
3027
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
2998
3028
|
]
|
|
2999
3029
|
|
|
3000
|
-
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
3001
|
-
|
|
3002
3030
|
CommonAbstraJsonV14DefinitionsFormStageStartMessageString = str
|
|
3003
3031
|
|
|
3004
3032
|
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull = type(None)
|
|
@@ -3008,110 +3036,82 @@ CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
|
3008
3036
|
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3009
3037
|
]
|
|
3010
3038
|
|
|
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
|
|
3028
|
-
|
|
3029
|
-
@classmethod
|
|
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
|
-
)
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
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
|
-
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3052
3051
|
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3053
|
-
|
|
3054
|
-
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3052
|
+
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3055
3053
|
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3056
|
-
|
|
3054
|
+
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3055
|
+
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3057
3056
|
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3058
|
-
|
|
3057
|
+
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3058
|
+
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3059
|
+
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3059
3060
|
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3060
|
-
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3061
3061
|
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3062
|
-
access_control: CommonAbstraJsonV14DefinitionsFormStageAccessControl
|
|
3063
3062
|
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3063
|
+
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3064
|
+
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
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["file"] = self.file
|
|
3073
3072
|
data["title"] = self.title
|
|
3074
|
-
data["
|
|
3075
|
-
data["id"] = self.id
|
|
3073
|
+
data["file"] = self.file
|
|
3076
3074
|
data["workflow_position"] = self.workflow_position
|
|
3077
|
-
data["
|
|
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
|
-
|
|
3085
|
-
if isinstance(self.
|
|
3086
|
-
else self.error_message
|
|
3082
|
+
data["path"] = self.path
|
|
3083
|
+
data["end_message"] = (
|
|
3084
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3087
3085
|
)
|
|
3086
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3088
3087
|
data["auto_start"] = self.auto_start
|
|
3089
|
-
data["allow_restart"] = self.allow_restart
|
|
3090
3088
|
data["start_button_text"] = (
|
|
3091
3089
|
self.start_button_text
|
|
3092
3090
|
if isinstance(self.start_button_text, str)
|
|
3093
3091
|
else self.start_button_text
|
|
3094
3092
|
)
|
|
3095
|
-
data["access_control"] = self.access_control.to_dict()
|
|
3096
3093
|
data["timeout_message"] = (
|
|
3097
3094
|
self.timeout_message
|
|
3098
3095
|
if isinstance(self.timeout_message, str)
|
|
3099
3096
|
else self.timeout_message
|
|
3100
3097
|
)
|
|
3101
|
-
data["
|
|
3102
|
-
|
|
3098
|
+
data["allow_restart"] = self.allow_restart
|
|
3099
|
+
data["is_initial"] = self.is_initial
|
|
3100
|
+
data["access_control"] = self.access_control.to_dict()
|
|
3101
|
+
data["welcome_title"] = (
|
|
3102
|
+
self.welcome_title
|
|
3103
|
+
if isinstance(self.welcome_title, str)
|
|
3104
|
+
else self.welcome_title
|
|
3103
3105
|
)
|
|
3104
|
-
data["path"] = self.path
|
|
3105
3106
|
data["start_message"] = (
|
|
3106
3107
|
self.start_message
|
|
3107
3108
|
if isinstance(self.start_message, str)
|
|
3108
3109
|
else self.start_message
|
|
3109
3110
|
)
|
|
3110
|
-
data["
|
|
3111
|
-
|
|
3112
|
-
self.
|
|
3113
|
-
|
|
3114
|
-
else self.welcome_title
|
|
3111
|
+
data["error_message"] = (
|
|
3112
|
+
self.error_message
|
|
3113
|
+
if isinstance(self.error_message, str)
|
|
3114
|
+
else self.error_message
|
|
3115
3115
|
)
|
|
3116
3116
|
return data
|
|
3117
3117
|
|
|
@@ -3120,57 +3120,57 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3120
3120
|
cls, data: typing.Dict[str, typing.Any]
|
|
3121
3121
|
) -> "CommonAbstraJsonV14DefinitionsFormStage":
|
|
3122
3122
|
return cls(
|
|
3123
|
-
file=str(data["file"]),
|
|
3124
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"]),
|
|
3125
3127
|
transitions=[
|
|
3126
3128
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3127
3129
|
for item in data["transitions"]
|
|
3128
3130
|
],
|
|
3129
|
-
id=str(data["id"]),
|
|
3130
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3131
|
-
is_initial=bool(data["is_initial"]),
|
|
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
|
-
|
|
3139
|
-
|
|
3136
|
+
path=str(data["path"]),
|
|
3137
|
+
end_message=(
|
|
3138
|
+
str(data["end_message"])
|
|
3139
|
+
if isinstance(data["end_message"], str)
|
|
3140
3140
|
else None
|
|
3141
3141
|
),
|
|
3142
|
+
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3143
|
+
data["notification_trigger"]
|
|
3144
|
+
),
|
|
3142
3145
|
auto_start=bool(data["auto_start"]),
|
|
3143
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3144
3146
|
start_button_text=(
|
|
3145
3147
|
str(data["start_button_text"])
|
|
3146
3148
|
if isinstance(data["start_button_text"], str)
|
|
3147
3149
|
else None
|
|
3148
3150
|
),
|
|
3149
|
-
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3150
|
-
data["access_control"]
|
|
3151
|
-
),
|
|
3152
3151
|
timeout_message=(
|
|
3153
3152
|
str(data["timeout_message"])
|
|
3154
3153
|
if isinstance(data["timeout_message"], str)
|
|
3155
3154
|
else None
|
|
3156
3155
|
),
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3156
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3157
|
+
is_initial=bool(data["is_initial"]),
|
|
3158
|
+
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3159
|
+
data["access_control"]
|
|
3160
|
+
),
|
|
3161
|
+
welcome_title=(
|
|
3162
|
+
str(data["welcome_title"])
|
|
3163
|
+
if isinstance(data["welcome_title"], str)
|
|
3160
3164
|
else None
|
|
3161
3165
|
),
|
|
3162
|
-
path=str(data["path"]),
|
|
3163
3166
|
start_message=(
|
|
3164
3167
|
str(data["start_message"])
|
|
3165
3168
|
if isinstance(data["start_message"], str)
|
|
3166
3169
|
else None
|
|
3167
3170
|
),
|
|
3168
|
-
|
|
3169
|
-
data["
|
|
3170
|
-
|
|
3171
|
-
welcome_title=(
|
|
3172
|
-
str(data["welcome_title"])
|
|
3173
|
-
if isinstance(data["welcome_title"], str)
|
|
3171
|
+
error_message=(
|
|
3172
|
+
str(data["error_message"])
|
|
3173
|
+
if isinstance(data["error_message"], str)
|
|
3174
3174
|
else None
|
|
3175
3175
|
),
|
|
3176
3176
|
)
|
|
@@ -3180,9 +3180,17 @@ CommonAbstraJsonV14FormsItem = CommonAbstraJsonV14DefinitionsFormStage
|
|
|
3180
3180
|
|
|
3181
3181
|
CommonAbstraJsonV14Forms = typing.List[CommonAbstraJsonV14FormsItem]
|
|
3182
3182
|
|
|
3183
|
+
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3184
|
+
|
|
3183
3185
|
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3184
3186
|
|
|
3185
|
-
|
|
3187
|
+
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3188
|
+
|
|
3189
|
+
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3190
|
+
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3191
|
+
]
|
|
3192
|
+
|
|
3193
|
+
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3186
3194
|
|
|
3187
3195
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem = (
|
|
3188
3196
|
CommonAbstraJsonV14DefinitionsTransition
|
|
@@ -3192,33 +3200,25 @@ CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
|
3192
3200
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem
|
|
3193
3201
|
]
|
|
3194
3202
|
|
|
3195
|
-
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3196
|
-
|
|
3197
|
-
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3198
|
-
|
|
3199
|
-
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3200
|
-
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3201
|
-
]
|
|
3202
|
-
|
|
3203
3203
|
CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
3204
3204
|
|
|
3205
3205
|
|
|
3206
3206
|
@dataclass
|
|
3207
3207
|
class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
3208
|
-
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3209
3208
|
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3210
|
-
|
|
3211
|
-
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3209
|
+
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3212
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["file"] = self.file
|
|
3218
3217
|
data["title"] = self.title
|
|
3219
|
-
data["
|
|
3220
|
-
data["id"] = self.id
|
|
3218
|
+
data["file"] = self.file
|
|
3221
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
|
-
file=str(data["file"]),
|
|
3231
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"]),
|
|
3232
3234
|
transitions=[
|
|
3233
3235
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3234
3236
|
for item in data["transitions"]
|
|
3235
3237
|
],
|
|
3236
|
-
id=str(data["id"]),
|
|
3237
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3238
3238
|
is_initial=bool(data["is_initial"]),
|
|
3239
3239
|
)
|
|
3240
3240
|
|
|
@@ -3478,9 +3478,17 @@ class CommonAbstraJsonV13Home:
|
|
|
3478
3478
|
)
|
|
3479
3479
|
|
|
3480
3480
|
|
|
3481
|
+
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3482
|
+
|
|
3481
3483
|
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3482
3484
|
|
|
3483
|
-
|
|
3485
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
3486
|
+
|
|
3487
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3488
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
3489
|
+
]
|
|
3490
|
+
|
|
3491
|
+
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3484
3492
|
|
|
3485
3493
|
CommonAbstraJsonV13DefinitionsTransitionId = str
|
|
3486
3494
|
|
|
@@ -3547,33 +3555,25 @@ CommonAbstraJsonV13DefinitionsJobStageTransitions = typing.List[
|
|
|
3547
3555
|
CommonAbstraJsonV13DefinitionsJobStageTransitionsItem
|
|
3548
3556
|
]
|
|
3549
3557
|
|
|
3550
|
-
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3551
|
-
|
|
3552
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
3553
|
-
|
|
3554
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3555
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
3556
|
-
]
|
|
3557
|
-
|
|
3558
3558
|
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
3559
3559
|
|
|
3560
3560
|
|
|
3561
3561
|
@dataclass
|
|
3562
3562
|
class CommonAbstraJsonV13DefinitionsJobStage:
|
|
3563
|
-
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3564
3563
|
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
3565
|
-
|
|
3566
|
-
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3564
|
+
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3567
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["file"] = self.file
|
|
3573
3572
|
data["title"] = self.title
|
|
3574
|
-
data["
|
|
3575
|
-
data["id"] = self.id
|
|
3573
|
+
data["file"] = self.file
|
|
3576
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
|
-
file=str(data["file"]),
|
|
3586
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"]),
|
|
3587
3589
|
transitions=[
|
|
3588
3590
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3589
3591
|
for item in data["transitions"]
|
|
3590
3592
|
],
|
|
3591
|
-
id=str(data["id"]),
|
|
3592
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3593
3593
|
schedule=str(data["schedule"]),
|
|
3594
3594
|
)
|
|
3595
3595
|
|
|
@@ -3598,9 +3598,17 @@ CommonAbstraJsonV13JobsItem = CommonAbstraJsonV13DefinitionsJobStage
|
|
|
3598
3598
|
|
|
3599
3599
|
CommonAbstraJsonV13Jobs = typing.List[CommonAbstraJsonV13JobsItem]
|
|
3600
3600
|
|
|
3601
|
+
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
3602
|
+
|
|
3601
3603
|
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
3602
3604
|
|
|
3603
|
-
|
|
3605
|
+
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
3606
|
+
|
|
3607
|
+
CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition = typing.List[
|
|
3608
|
+
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem
|
|
3609
|
+
]
|
|
3610
|
+
|
|
3611
|
+
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3604
3612
|
|
|
3605
3613
|
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem = (
|
|
3606
3614
|
CommonAbstraJsonV13DefinitionsTransition
|
|
@@ -3610,42 +3618,34 @@ CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
|
3610
3618
|
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
3611
3619
|
]
|
|
3612
3620
|
|
|
3613
|
-
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3614
|
-
|
|
3615
|
-
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
3616
|
-
|
|
3617
|
-
CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition = typing.List[
|
|
3618
|
-
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem
|
|
3619
|
-
]
|
|
3620
|
-
|
|
3621
3621
|
CommonAbstraJsonV13DefinitionsHookStageEnabled = bool
|
|
3622
3622
|
|
|
3623
|
-
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
3624
|
-
|
|
3625
3623
|
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3626
3624
|
|
|
3625
|
+
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
3626
|
+
|
|
3627
3627
|
|
|
3628
3628
|
@dataclass
|
|
3629
3629
|
class CommonAbstraJsonV13DefinitionsHookStage:
|
|
3630
|
-
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3631
3630
|
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
3632
|
-
|
|
3633
|
-
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3631
|
+
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3634
3632
|
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
3633
|
+
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3634
|
+
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
3635
3635
|
enabled: CommonAbstraJsonV13DefinitionsHookStageEnabled
|
|
3636
|
-
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3637
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["file"] = self.file
|
|
3642
3641
|
data["title"] = self.title
|
|
3643
|
-
data["
|
|
3644
|
-
data["id"] = self.id
|
|
3642
|
+
data["file"] = self.file
|
|
3645
3643
|
data["workflow_position"] = self.workflow_position
|
|
3644
|
+
data["id"] = self.id
|
|
3645
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3646
3646
|
data["enabled"] = self.enabled
|
|
3647
|
-
data["is_initial"] = self.is_initial
|
|
3648
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
|
-
file=str(data["file"]),
|
|
3657
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"]),
|
|
3658
3660
|
transitions=[
|
|
3659
3661
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3660
3662
|
for item in data["transitions"]
|
|
3661
3663
|
],
|
|
3662
|
-
id=str(data["id"]),
|
|
3663
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3664
3664
|
enabled=bool(data["enabled"]),
|
|
3665
|
-
is_initial=bool(data["is_initial"]),
|
|
3666
3665
|
path=str(data["path"]),
|
|
3666
|
+
is_initial=bool(data["is_initial"]),
|
|
3667
3667
|
)
|
|
3668
3668
|
|
|
3669
3669
|
|
|
@@ -3671,9 +3671,17 @@ CommonAbstraJsonV13HooksItem = CommonAbstraJsonV13DefinitionsHookStage
|
|
|
3671
3671
|
|
|
3672
3672
|
CommonAbstraJsonV13Hooks = typing.List[CommonAbstraJsonV13HooksItem]
|
|
3673
3673
|
|
|
3674
|
+
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
3675
|
+
|
|
3674
3676
|
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
3675
3677
|
|
|
3676
|
-
|
|
3678
|
+
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
3679
|
+
|
|
3680
|
+
CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition = typing.List[
|
|
3681
|
+
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem
|
|
3682
|
+
]
|
|
3683
|
+
|
|
3684
|
+
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3677
3685
|
|
|
3678
3686
|
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem = (
|
|
3679
3687
|
CommonAbstraJsonV13DefinitionsTransition
|
|
@@ -3683,16 +3691,6 @@ CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
|
3683
3691
|
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
3684
3692
|
]
|
|
3685
3693
|
|
|
3686
|
-
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3687
|
-
|
|
3688
|
-
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
3689
|
-
|
|
3690
|
-
CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition = typing.List[
|
|
3691
|
-
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem
|
|
3692
|
-
]
|
|
3693
|
-
|
|
3694
|
-
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3695
|
-
|
|
3696
3694
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3697
3695
|
|
|
3698
3696
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
@@ -3702,18 +3700,46 @@ CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
3702
3700
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3703
3701
|
]
|
|
3704
3702
|
|
|
3705
|
-
|
|
3703
|
+
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3706
3704
|
|
|
3707
|
-
|
|
3705
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
3708
3706
|
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3707
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull = type(None)
|
|
3708
|
+
|
|
3709
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
3710
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString,
|
|
3711
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
3712
3712
|
]
|
|
3713
3713
|
|
|
3714
|
-
|
|
3714
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3715
3715
|
|
|
3716
|
-
|
|
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
|
|
3717
3743
|
|
|
3718
3744
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
3719
3745
|
|
|
@@ -3724,6 +3750,19 @@ CommonAbstraJsonV13DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
3724
3750
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull,
|
|
3725
3751
|
]
|
|
3726
3752
|
|
|
3753
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString = str
|
|
3754
|
+
|
|
3755
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3756
|
+
|
|
3757
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3758
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString,
|
|
3759
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3760
|
+
]
|
|
3761
|
+
|
|
3762
|
+
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
3763
|
+
|
|
3764
|
+
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3765
|
+
|
|
3727
3766
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic = bool
|
|
3728
3767
|
|
|
3729
3768
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -3754,26 +3793,15 @@ class CommonAbstraJsonV13DefinitionsFormStageAccessControl:
|
|
|
3754
3793
|
)
|
|
3755
3794
|
|
|
3756
3795
|
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3760
|
-
|
|
3761
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3762
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString,
|
|
3763
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3764
|
-
]
|
|
3765
|
-
|
|
3766
|
-
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
3796
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
3767
3797
|
|
|
3768
|
-
|
|
3798
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3769
3799
|
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3800
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3801
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
3802
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
3773
3803
|
]
|
|
3774
3804
|
|
|
3775
|
-
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3776
|
-
|
|
3777
3805
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
3778
3806
|
|
|
3779
3807
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
@@ -3783,110 +3811,82 @@ CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
|
3783
3811
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3784
3812
|
]
|
|
3785
3813
|
|
|
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
|
|
3803
|
-
|
|
3804
|
-
@classmethod
|
|
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
|
-
)
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
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
|
-
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3827
3826
|
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
3828
|
-
|
|
3829
|
-
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3827
|
+
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3830
3828
|
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
3831
|
-
|
|
3829
|
+
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3830
|
+
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
3832
3831
|
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3833
|
-
|
|
3832
|
+
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3833
|
+
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3834
|
+
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3834
3835
|
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3835
|
-
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3836
3836
|
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3837
|
-
access_control: CommonAbstraJsonV13DefinitionsFormStageAccessControl
|
|
3838
3837
|
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3838
|
+
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3839
|
+
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
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["file"] = self.file
|
|
3848
3847
|
data["title"] = self.title
|
|
3849
|
-
data["
|
|
3850
|
-
data["id"] = self.id
|
|
3848
|
+
data["file"] = self.file
|
|
3851
3849
|
data["workflow_position"] = self.workflow_position
|
|
3852
|
-
data["
|
|
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
|
-
|
|
3860
|
-
if isinstance(self.
|
|
3861
|
-
else self.error_message
|
|
3857
|
+
data["path"] = self.path
|
|
3858
|
+
data["end_message"] = (
|
|
3859
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3862
3860
|
)
|
|
3861
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3863
3862
|
data["auto_start"] = self.auto_start
|
|
3864
|
-
data["allow_restart"] = self.allow_restart
|
|
3865
3863
|
data["start_button_text"] = (
|
|
3866
3864
|
self.start_button_text
|
|
3867
3865
|
if isinstance(self.start_button_text, str)
|
|
3868
3866
|
else self.start_button_text
|
|
3869
3867
|
)
|
|
3870
|
-
data["access_control"] = self.access_control.to_dict()
|
|
3871
3868
|
data["timeout_message"] = (
|
|
3872
3869
|
self.timeout_message
|
|
3873
3870
|
if isinstance(self.timeout_message, str)
|
|
3874
3871
|
else self.timeout_message
|
|
3875
3872
|
)
|
|
3876
|
-
data["
|
|
3877
|
-
|
|
3873
|
+
data["allow_restart"] = self.allow_restart
|
|
3874
|
+
data["is_initial"] = self.is_initial
|
|
3875
|
+
data["access_control"] = self.access_control.to_dict()
|
|
3876
|
+
data["welcome_title"] = (
|
|
3877
|
+
self.welcome_title
|
|
3878
|
+
if isinstance(self.welcome_title, str)
|
|
3879
|
+
else self.welcome_title
|
|
3878
3880
|
)
|
|
3879
|
-
data["path"] = self.path
|
|
3880
3881
|
data["start_message"] = (
|
|
3881
3882
|
self.start_message
|
|
3882
3883
|
if isinstance(self.start_message, str)
|
|
3883
3884
|
else self.start_message
|
|
3884
3885
|
)
|
|
3885
|
-
data["
|
|
3886
|
-
|
|
3887
|
-
self.
|
|
3888
|
-
|
|
3889
|
-
else self.welcome_title
|
|
3886
|
+
data["error_message"] = (
|
|
3887
|
+
self.error_message
|
|
3888
|
+
if isinstance(self.error_message, str)
|
|
3889
|
+
else self.error_message
|
|
3890
3890
|
)
|
|
3891
3891
|
return data
|
|
3892
3892
|
|
|
@@ -3895,57 +3895,57 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3895
3895
|
cls, data: typing.Dict[str, typing.Any]
|
|
3896
3896
|
) -> "CommonAbstraJsonV13DefinitionsFormStage":
|
|
3897
3897
|
return cls(
|
|
3898
|
-
file=str(data["file"]),
|
|
3899
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"]),
|
|
3900
3902
|
transitions=[
|
|
3901
3903
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3902
3904
|
for item in data["transitions"]
|
|
3903
3905
|
],
|
|
3904
|
-
id=str(data["id"]),
|
|
3905
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3906
|
-
is_initial=bool(data["is_initial"]),
|
|
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
|
-
|
|
3914
|
-
|
|
3911
|
+
path=str(data["path"]),
|
|
3912
|
+
end_message=(
|
|
3913
|
+
str(data["end_message"])
|
|
3914
|
+
if isinstance(data["end_message"], str)
|
|
3915
3915
|
else None
|
|
3916
3916
|
),
|
|
3917
|
+
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3918
|
+
data["notification_trigger"]
|
|
3919
|
+
),
|
|
3917
3920
|
auto_start=bool(data["auto_start"]),
|
|
3918
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3919
3921
|
start_button_text=(
|
|
3920
3922
|
str(data["start_button_text"])
|
|
3921
3923
|
if isinstance(data["start_button_text"], str)
|
|
3922
3924
|
else None
|
|
3923
3925
|
),
|
|
3924
|
-
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
3925
|
-
data["access_control"]
|
|
3926
|
-
),
|
|
3927
3926
|
timeout_message=(
|
|
3928
3927
|
str(data["timeout_message"])
|
|
3929
3928
|
if isinstance(data["timeout_message"], str)
|
|
3930
3929
|
else None
|
|
3931
3930
|
),
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3931
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3932
|
+
is_initial=bool(data["is_initial"]),
|
|
3933
|
+
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
3934
|
+
data["access_control"]
|
|
3935
|
+
),
|
|
3936
|
+
welcome_title=(
|
|
3937
|
+
str(data["welcome_title"])
|
|
3938
|
+
if isinstance(data["welcome_title"], str)
|
|
3935
3939
|
else None
|
|
3936
3940
|
),
|
|
3937
|
-
path=str(data["path"]),
|
|
3938
3941
|
start_message=(
|
|
3939
3942
|
str(data["start_message"])
|
|
3940
3943
|
if isinstance(data["start_message"], str)
|
|
3941
3944
|
else None
|
|
3942
3945
|
),
|
|
3943
|
-
|
|
3944
|
-
data["
|
|
3945
|
-
|
|
3946
|
-
welcome_title=(
|
|
3947
|
-
str(data["welcome_title"])
|
|
3948
|
-
if isinstance(data["welcome_title"], str)
|
|
3946
|
+
error_message=(
|
|
3947
|
+
str(data["error_message"])
|
|
3948
|
+
if isinstance(data["error_message"], str)
|
|
3949
3949
|
else None
|
|
3950
3950
|
),
|
|
3951
3951
|
)
|
|
@@ -3955,9 +3955,17 @@ CommonAbstraJsonV13FormsItem = CommonAbstraJsonV13DefinitionsFormStage
|
|
|
3955
3955
|
|
|
3956
3956
|
CommonAbstraJsonV13Forms = typing.List[CommonAbstraJsonV13FormsItem]
|
|
3957
3957
|
|
|
3958
|
+
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
3959
|
+
|
|
3958
3960
|
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3959
3961
|
|
|
3960
|
-
|
|
3962
|
+
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
3963
|
+
|
|
3964
|
+
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3965
|
+
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem
|
|
3966
|
+
]
|
|
3967
|
+
|
|
3968
|
+
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3961
3969
|
|
|
3962
3970
|
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem = (
|
|
3963
3971
|
CommonAbstraJsonV13DefinitionsTransition
|
|
@@ -3967,33 +3975,25 @@ CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
|
3967
3975
|
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
3968
3976
|
]
|
|
3969
3977
|
|
|
3970
|
-
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3971
|
-
|
|
3972
|
-
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
3973
|
-
|
|
3974
|
-
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3975
|
-
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem
|
|
3976
|
-
]
|
|
3977
|
-
|
|
3978
3978
|
CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
3979
3979
|
|
|
3980
3980
|
|
|
3981
3981
|
@dataclass
|
|
3982
3982
|
class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
3983
|
-
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3984
3983
|
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
3985
|
-
|
|
3986
|
-
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3984
|
+
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3987
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["file"] = self.file
|
|
3993
3992
|
data["title"] = self.title
|
|
3994
|
-
data["
|
|
3995
|
-
data["id"] = self.id
|
|
3993
|
+
data["file"] = self.file
|
|
3996
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
|
-
file=str(data["file"]),
|
|
4006
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"]),
|
|
4007
4009
|
transitions=[
|
|
4008
4010
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4009
4011
|
for item in data["transitions"]
|
|
4010
4012
|
],
|
|
4011
|
-
id=str(data["id"]),
|
|
4012
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4013
4013
|
is_initial=bool(data["is_initial"]),
|
|
4014
4014
|
)
|
|
4015
4015
|
|
|
@@ -4398,9 +4398,17 @@ class CommonAbstraJsonV12Home:
|
|
|
4398
4398
|
)
|
|
4399
4399
|
|
|
4400
4400
|
|
|
4401
|
+
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4402
|
+
|
|
4401
4403
|
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4402
4404
|
|
|
4403
|
-
|
|
4405
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
4406
|
+
|
|
4407
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4408
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
4409
|
+
]
|
|
4410
|
+
|
|
4411
|
+
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4404
4412
|
|
|
4405
4413
|
CommonAbstraJsonV12DefinitionsTransitionId = str
|
|
4406
4414
|
|
|
@@ -4467,33 +4475,25 @@ CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
|
4467
4475
|
CommonAbstraJsonV12DefinitionsJobStageTransitionsItem
|
|
4468
4476
|
]
|
|
4469
4477
|
|
|
4470
|
-
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4471
|
-
|
|
4472
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
4473
|
-
|
|
4474
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4475
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
4476
|
-
]
|
|
4477
|
-
|
|
4478
4478
|
CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
4479
4479
|
|
|
4480
4480
|
|
|
4481
4481
|
@dataclass
|
|
4482
4482
|
class CommonAbstraJsonV12DefinitionsJobStage:
|
|
4483
|
-
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4484
4483
|
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
4485
|
-
|
|
4486
|
-
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4484
|
+
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4487
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["file"] = self.file
|
|
4493
4492
|
data["title"] = self.title
|
|
4494
|
-
data["
|
|
4495
|
-
data["id"] = self.id
|
|
4493
|
+
data["file"] = self.file
|
|
4496
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
|
-
file=str(data["file"]),
|
|
4506
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"]),
|
|
4507
4509
|
transitions=[
|
|
4508
4510
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4509
4511
|
for item in data["transitions"]
|
|
4510
4512
|
],
|
|
4511
|
-
id=str(data["id"]),
|
|
4512
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4513
4513
|
schedule=str(data["schedule"]),
|
|
4514
4514
|
)
|
|
4515
4515
|
|
|
@@ -4518,9 +4518,17 @@ CommonAbstraJsonV12JobsItem = CommonAbstraJsonV12DefinitionsJobStage
|
|
|
4518
4518
|
|
|
4519
4519
|
CommonAbstraJsonV12Jobs = typing.List[CommonAbstraJsonV12JobsItem]
|
|
4520
4520
|
|
|
4521
|
+
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
4522
|
+
|
|
4521
4523
|
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
4522
4524
|
|
|
4523
|
-
|
|
4525
|
+
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
4526
|
+
|
|
4527
|
+
CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition = typing.List[
|
|
4528
|
+
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem
|
|
4529
|
+
]
|
|
4530
|
+
|
|
4531
|
+
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4524
4532
|
|
|
4525
4533
|
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem = (
|
|
4526
4534
|
CommonAbstraJsonV12DefinitionsTransition
|
|
@@ -4530,42 +4538,34 @@ CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
|
4530
4538
|
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
4531
4539
|
]
|
|
4532
4540
|
|
|
4533
|
-
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4534
|
-
|
|
4535
|
-
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
4536
|
-
|
|
4537
|
-
CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition = typing.List[
|
|
4538
|
-
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem
|
|
4539
|
-
]
|
|
4540
|
-
|
|
4541
4541
|
CommonAbstraJsonV12DefinitionsHookStageEnabled = bool
|
|
4542
4542
|
|
|
4543
|
-
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
4544
|
-
|
|
4545
4543
|
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4546
4544
|
|
|
4545
|
+
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
4546
|
+
|
|
4547
4547
|
|
|
4548
4548
|
@dataclass
|
|
4549
4549
|
class CommonAbstraJsonV12DefinitionsHookStage:
|
|
4550
|
-
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4551
4550
|
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
4552
|
-
|
|
4553
|
-
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4551
|
+
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4554
4552
|
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
4553
|
+
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4554
|
+
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
4555
4555
|
enabled: CommonAbstraJsonV12DefinitionsHookStageEnabled
|
|
4556
|
-
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4557
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["file"] = self.file
|
|
4562
4561
|
data["title"] = self.title
|
|
4563
|
-
data["
|
|
4564
|
-
data["id"] = self.id
|
|
4562
|
+
data["file"] = self.file
|
|
4565
4563
|
data["workflow_position"] = self.workflow_position
|
|
4564
|
+
data["id"] = self.id
|
|
4565
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4566
4566
|
data["enabled"] = self.enabled
|
|
4567
|
-
data["is_initial"] = self.is_initial
|
|
4568
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
|
-
file=str(data["file"]),
|
|
4577
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"]),
|
|
4578
4580
|
transitions=[
|
|
4579
4581
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4580
4582
|
for item in data["transitions"]
|
|
4581
4583
|
],
|
|
4582
|
-
id=str(data["id"]),
|
|
4583
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4584
4584
|
enabled=bool(data["enabled"]),
|
|
4585
|
-
is_initial=bool(data["is_initial"]),
|
|
4586
4585
|
path=str(data["path"]),
|
|
4586
|
+
is_initial=bool(data["is_initial"]),
|
|
4587
4587
|
)
|
|
4588
4588
|
|
|
4589
4589
|
|
|
@@ -4591,9 +4591,17 @@ CommonAbstraJsonV12HooksItem = CommonAbstraJsonV12DefinitionsHookStage
|
|
|
4591
4591
|
|
|
4592
4592
|
CommonAbstraJsonV12Hooks = typing.List[CommonAbstraJsonV12HooksItem]
|
|
4593
4593
|
|
|
4594
|
+
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
4595
|
+
|
|
4594
4596
|
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
4595
4597
|
|
|
4596
|
-
|
|
4598
|
+
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
4599
|
+
|
|
4600
|
+
CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition = typing.List[
|
|
4601
|
+
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem
|
|
4602
|
+
]
|
|
4603
|
+
|
|
4604
|
+
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4597
4605
|
|
|
4598
4606
|
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem = (
|
|
4599
4607
|
CommonAbstraJsonV12DefinitionsTransition
|
|
@@ -4603,16 +4611,6 @@ CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
|
4603
4611
|
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
4604
4612
|
]
|
|
4605
4613
|
|
|
4606
|
-
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4607
|
-
|
|
4608
|
-
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
4609
|
-
|
|
4610
|
-
CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition = typing.List[
|
|
4611
|
-
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem
|
|
4612
|
-
]
|
|
4613
|
-
|
|
4614
|
-
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4615
|
-
|
|
4616
4614
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4617
4615
|
|
|
4618
4616
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
@@ -4622,18 +4620,46 @@ CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
4622
4620
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4623
4621
|
]
|
|
4624
4622
|
|
|
4625
|
-
|
|
4623
|
+
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4626
4624
|
|
|
4627
|
-
|
|
4625
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
4628
4626
|
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4627
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull = type(None)
|
|
4628
|
+
|
|
4629
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
4630
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString,
|
|
4631
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
4632
4632
|
]
|
|
4633
4633
|
|
|
4634
|
-
|
|
4634
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4635
4635
|
|
|
4636
|
-
|
|
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
|
|
4637
4663
|
|
|
4638
4664
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
4639
4665
|
|
|
@@ -4644,6 +4670,19 @@ CommonAbstraJsonV12DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
4644
4670
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull,
|
|
4645
4671
|
]
|
|
4646
4672
|
|
|
4673
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString = str
|
|
4674
|
+
|
|
4675
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
4676
|
+
|
|
4677
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
4678
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString,
|
|
4679
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4680
|
+
]
|
|
4681
|
+
|
|
4682
|
+
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
4683
|
+
|
|
4684
|
+
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4685
|
+
|
|
4647
4686
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic = bool
|
|
4648
4687
|
|
|
4649
4688
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -4674,26 +4713,15 @@ class CommonAbstraJsonV12DefinitionsFormStageAccessControl:
|
|
|
4674
4713
|
)
|
|
4675
4714
|
|
|
4676
4715
|
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
4680
|
-
|
|
4681
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
4682
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString,
|
|
4683
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4684
|
-
]
|
|
4685
|
-
|
|
4686
|
-
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
4716
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
4687
4717
|
|
|
4688
|
-
|
|
4718
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4689
4719
|
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4720
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
4721
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
4722
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
4693
4723
|
]
|
|
4694
4724
|
|
|
4695
|
-
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4696
|
-
|
|
4697
4725
|
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
4698
4726
|
|
|
4699
4727
|
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
@@ -4703,110 +4731,82 @@ CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
|
4703
4731
|
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4704
4732
|
]
|
|
4705
4733
|
|
|
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
|
|
4723
|
-
|
|
4724
|
-
@classmethod
|
|
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
|
-
)
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
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
|
-
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4747
4746
|
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
4748
|
-
|
|
4749
|
-
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4747
|
+
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4750
4748
|
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
4751
|
-
|
|
4749
|
+
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4750
|
+
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
4752
4751
|
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4753
|
-
|
|
4752
|
+
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4753
|
+
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4754
|
+
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4754
4755
|
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4755
|
-
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4756
4756
|
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4757
|
-
access_control: CommonAbstraJsonV12DefinitionsFormStageAccessControl
|
|
4758
4757
|
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4758
|
+
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4759
|
+
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
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["file"] = self.file
|
|
4768
4767
|
data["title"] = self.title
|
|
4769
|
-
data["
|
|
4770
|
-
data["id"] = self.id
|
|
4768
|
+
data["file"] = self.file
|
|
4771
4769
|
data["workflow_position"] = self.workflow_position
|
|
4772
|
-
data["
|
|
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
|
-
|
|
4780
|
-
if isinstance(self.
|
|
4781
|
-
else self.error_message
|
|
4777
|
+
data["path"] = self.path
|
|
4778
|
+
data["end_message"] = (
|
|
4779
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4782
4780
|
)
|
|
4781
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4783
4782
|
data["auto_start"] = self.auto_start
|
|
4784
|
-
data["allow_restart"] = self.allow_restart
|
|
4785
4783
|
data["start_button_text"] = (
|
|
4786
4784
|
self.start_button_text
|
|
4787
4785
|
if isinstance(self.start_button_text, str)
|
|
4788
4786
|
else self.start_button_text
|
|
4789
4787
|
)
|
|
4790
|
-
data["access_control"] = self.access_control.to_dict()
|
|
4791
4788
|
data["timeout_message"] = (
|
|
4792
4789
|
self.timeout_message
|
|
4793
4790
|
if isinstance(self.timeout_message, str)
|
|
4794
4791
|
else self.timeout_message
|
|
4795
4792
|
)
|
|
4796
|
-
data["
|
|
4797
|
-
|
|
4793
|
+
data["allow_restart"] = self.allow_restart
|
|
4794
|
+
data["is_initial"] = self.is_initial
|
|
4795
|
+
data["access_control"] = self.access_control.to_dict()
|
|
4796
|
+
data["welcome_title"] = (
|
|
4797
|
+
self.welcome_title
|
|
4798
|
+
if isinstance(self.welcome_title, str)
|
|
4799
|
+
else self.welcome_title
|
|
4798
4800
|
)
|
|
4799
|
-
data["path"] = self.path
|
|
4800
4801
|
data["start_message"] = (
|
|
4801
4802
|
self.start_message
|
|
4802
4803
|
if isinstance(self.start_message, str)
|
|
4803
4804
|
else self.start_message
|
|
4804
4805
|
)
|
|
4805
|
-
data["
|
|
4806
|
-
|
|
4807
|
-
self.
|
|
4808
|
-
|
|
4809
|
-
else self.welcome_title
|
|
4806
|
+
data["error_message"] = (
|
|
4807
|
+
self.error_message
|
|
4808
|
+
if isinstance(self.error_message, str)
|
|
4809
|
+
else self.error_message
|
|
4810
4810
|
)
|
|
4811
4811
|
return data
|
|
4812
4812
|
|
|
@@ -4815,57 +4815,57 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4815
4815
|
cls, data: typing.Dict[str, typing.Any]
|
|
4816
4816
|
) -> "CommonAbstraJsonV12DefinitionsFormStage":
|
|
4817
4817
|
return cls(
|
|
4818
|
-
file=str(data["file"]),
|
|
4819
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"]),
|
|
4820
4822
|
transitions=[
|
|
4821
4823
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4822
4824
|
for item in data["transitions"]
|
|
4823
4825
|
],
|
|
4824
|
-
id=str(data["id"]),
|
|
4825
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4826
|
-
is_initial=bool(data["is_initial"]),
|
|
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
|
-
|
|
4834
|
-
|
|
4831
|
+
path=str(data["path"]),
|
|
4832
|
+
end_message=(
|
|
4833
|
+
str(data["end_message"])
|
|
4834
|
+
if isinstance(data["end_message"], str)
|
|
4835
4835
|
else None
|
|
4836
4836
|
),
|
|
4837
|
+
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4838
|
+
data["notification_trigger"]
|
|
4839
|
+
),
|
|
4837
4840
|
auto_start=bool(data["auto_start"]),
|
|
4838
|
-
allow_restart=bool(data["allow_restart"]),
|
|
4839
4841
|
start_button_text=(
|
|
4840
4842
|
str(data["start_button_text"])
|
|
4841
4843
|
if isinstance(data["start_button_text"], str)
|
|
4842
4844
|
else None
|
|
4843
4845
|
),
|
|
4844
|
-
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
4845
|
-
data["access_control"]
|
|
4846
|
-
),
|
|
4847
4846
|
timeout_message=(
|
|
4848
4847
|
str(data["timeout_message"])
|
|
4849
4848
|
if isinstance(data["timeout_message"], str)
|
|
4850
4849
|
else None
|
|
4851
4850
|
),
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4851
|
+
allow_restart=bool(data["allow_restart"]),
|
|
4852
|
+
is_initial=bool(data["is_initial"]),
|
|
4853
|
+
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
4854
|
+
data["access_control"]
|
|
4855
|
+
),
|
|
4856
|
+
welcome_title=(
|
|
4857
|
+
str(data["welcome_title"])
|
|
4858
|
+
if isinstance(data["welcome_title"], str)
|
|
4855
4859
|
else None
|
|
4856
4860
|
),
|
|
4857
|
-
path=str(data["path"]),
|
|
4858
4861
|
start_message=(
|
|
4859
4862
|
str(data["start_message"])
|
|
4860
4863
|
if isinstance(data["start_message"], str)
|
|
4861
4864
|
else None
|
|
4862
4865
|
),
|
|
4863
|
-
|
|
4864
|
-
data["
|
|
4865
|
-
|
|
4866
|
-
welcome_title=(
|
|
4867
|
-
str(data["welcome_title"])
|
|
4868
|
-
if isinstance(data["welcome_title"], str)
|
|
4866
|
+
error_message=(
|
|
4867
|
+
str(data["error_message"])
|
|
4868
|
+
if isinstance(data["error_message"], str)
|
|
4869
4869
|
else None
|
|
4870
4870
|
),
|
|
4871
4871
|
)
|
|
@@ -4875,9 +4875,17 @@ CommonAbstraJsonV12FormsItem = CommonAbstraJsonV12DefinitionsFormStage
|
|
|
4875
4875
|
|
|
4876
4876
|
CommonAbstraJsonV12Forms = typing.List[CommonAbstraJsonV12FormsItem]
|
|
4877
4877
|
|
|
4878
|
+
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
4879
|
+
|
|
4878
4880
|
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4879
4881
|
|
|
4880
|
-
|
|
4882
|
+
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
4883
|
+
|
|
4884
|
+
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
4885
|
+
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem
|
|
4886
|
+
]
|
|
4887
|
+
|
|
4888
|
+
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4881
4889
|
|
|
4882
4890
|
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem = (
|
|
4883
4891
|
CommonAbstraJsonV12DefinitionsTransition
|
|
@@ -4887,33 +4895,25 @@ CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
|
4887
4895
|
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
4888
4896
|
]
|
|
4889
4897
|
|
|
4890
|
-
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4891
|
-
|
|
4892
|
-
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
4893
|
-
|
|
4894
|
-
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
4895
|
-
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem
|
|
4896
|
-
]
|
|
4897
|
-
|
|
4898
4898
|
CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
4899
4899
|
|
|
4900
4900
|
|
|
4901
4901
|
@dataclass
|
|
4902
4902
|
class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
4903
|
-
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4904
4903
|
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
4905
|
-
|
|
4906
|
-
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4904
|
+
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4907
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["file"] = self.file
|
|
4913
4912
|
data["title"] = self.title
|
|
4914
|
-
data["
|
|
4915
|
-
data["id"] = self.id
|
|
4913
|
+
data["file"] = self.file
|
|
4916
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
|
-
file=str(data["file"]),
|
|
4926
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"]),
|
|
4927
4929
|
transitions=[
|
|
4928
4930
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4929
4931
|
for item in data["transitions"]
|
|
4930
4932
|
],
|
|
4931
|
-
id=str(data["id"]),
|
|
4932
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
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
|
|
@@ -10446,6 +10704,10 @@ class AbstraLibApiEditorGitCheckoutResponse:
|
|
|
10446
10704
|
|
|
10447
10705
|
AbstraLibApiEditorGitGetStatusResponseAvailable = bool
|
|
10448
10706
|
|
|
10707
|
+
AbstraLibApiEditorGitGetStatusResponseGitInstalled = bool
|
|
10708
|
+
|
|
10709
|
+
AbstraLibApiEditorGitGetStatusResponseIsMonorepo = bool
|
|
10710
|
+
|
|
10449
10711
|
AbstraLibApiEditorGitGetStatusResponseBranch = str
|
|
10450
10712
|
|
|
10451
10713
|
AbstraLibApiEditorGitGetStatusResponseBranchesItem = str
|
|
@@ -10622,6 +10884,8 @@ class AbstraLibApiEditorGitGetStatusResponseRemoteStatus:
|
|
|
10622
10884
|
@dataclass
|
|
10623
10885
|
class AbstraLibApiEditorGitGetStatusResponse:
|
|
10624
10886
|
available: AbstraLibApiEditorGitGetStatusResponseAvailable
|
|
10887
|
+
git_installed: AbstraLibApiEditorGitGetStatusResponseGitInstalled
|
|
10888
|
+
is_monorepo: AbstraLibApiEditorGitGetStatusResponseIsMonorepo
|
|
10625
10889
|
branch: AbstraLibApiEditorGitGetStatusResponseBranch
|
|
10626
10890
|
branches: AbstraLibApiEditorGitGetStatusResponseBranches
|
|
10627
10891
|
last_commit: AbstraLibApiEditorGitGetStatusResponseLastCommit
|
|
@@ -10635,6 +10899,8 @@ class AbstraLibApiEditorGitGetStatusResponse:
|
|
|
10635
10899
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
10636
10900
|
data = {}
|
|
10637
10901
|
data["available"] = self.available
|
|
10902
|
+
data["gitInstalled"] = self.git_installed
|
|
10903
|
+
data["isMonorepo"] = self.is_monorepo
|
|
10638
10904
|
data["branch"] = self.branch
|
|
10639
10905
|
data["branches"] = self.branches
|
|
10640
10906
|
data["lastCommit"] = self.last_commit.to_dict()
|
|
@@ -10652,6 +10918,8 @@ class AbstraLibApiEditorGitGetStatusResponse:
|
|
|
10652
10918
|
) -> "AbstraLibApiEditorGitGetStatusResponse":
|
|
10653
10919
|
return cls(
|
|
10654
10920
|
available=bool(data["available"]),
|
|
10921
|
+
git_installed=bool(data["gitInstalled"]),
|
|
10922
|
+
is_monorepo=bool(data["isMonorepo"]),
|
|
10655
10923
|
branch=str(data["branch"]),
|
|
10656
10924
|
branches=[str(item) for item in data["branches"]],
|
|
10657
10925
|
last_commit=AbstraLibApiEditorGitGetStatusResponseLastCommit.from_dict(
|