abstra 3.23.12__py3-none-any.whl → 3.24.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- abstra/cli.py +8 -3
- {abstra-3.23.12.dist-info → abstra-3.24.0.dist-info}/METADATA +2 -1
- {abstra-3.23.12.dist-info → abstra-3.24.0.dist-info}/RECORD +197 -187
- abstra_internals/consts/filepaths.py +1 -1
- abstra_internals/contracts_generated.py +665 -655
- abstra_internals/controllers/git.py +305 -0
- abstra_internals/controllers/main.py +10 -6
- abstra_internals/environment.py +6 -0
- abstra_internals/interface/cli/deploy.py +1 -1
- abstra_internals/interface/sdk/ai.py +1 -0
- abstra_internals/repositories/git/__init__.py +38 -0
- abstra_internals/repositories/git/dulwich.py +1353 -0
- abstra_internals/repositories/git/git_test.py +1572 -0
- abstra_internals/repositories/git/native.py +578 -0
- abstra_internals/repositories/git/types.py +267 -0
- abstra_internals/repositories/linter/rules/env_in_bundle.py +5 -5
- abstra_internals/repositories/linter/rules/env_in_bundle_test.py +6 -6
- abstra_internals/repositories/linter/rules/venv_in_bundle.py +9 -16
- abstra_internals/server/blueprints/editor.py +4 -0
- abstra_internals/server/routes/git.py +190 -0
- abstra_internals/server/routes/workspace.py +1 -1
- abstra_internals/services/file_watcher.py +32 -13
- abstra_internals/services/fs.py +4 -4
- abstra_internals/services/fs_test.py +4 -6
- abstra_internals/templates/__init__.py +0 -11
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.eb8ccb64.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9f98292e.js +2 -0
- abstra_statics/dist/assets/ApiKeys.e975c4f3.js +2 -0
- abstra_statics/dist/assets/App.f62faff6.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.5aa45ac1.js +2 -0
- abstra_statics/dist/assets/BaseLayout.1ec2c96d.js +2 -0
- abstra_statics/dist/assets/{Billing.461db3ef.js → Billing.60adc9fa.js} +2 -2
- abstra_statics/dist/assets/{Breadcrumb.27110ec4.js → Breadcrumb.26dec5f7.js} +2 -2
- abstra_statics/dist/assets/{Builds.4eecd717.js → Builds.f86210bc.js} +2 -2
- abstra_statics/dist/assets/{Card.1d1a9fb7.js → Card.6cfffb80.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.fc66331b.js → CircularLoading.a13d6a76.js} +2 -2
- abstra_statics/dist/assets/{CloseCircleOutlined.0110bbe2.js → CloseCircleOutlined.30bc25a8.js} +2 -2
- abstra_statics/dist/assets/{ConnectorsView.82e74ae4.css → ConnectorsView.33c5380f.css} +1 -1
- abstra_statics/dist/assets/ConnectorsView.eb4c769f.js +2 -0
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.8d2e4672.js +2 -0
- abstra_statics/dist/assets/ContentLayout.d03fee5b.js +2 -0
- abstra_statics/dist/assets/{CrudView.c16e2f81.js → CrudView.c0824225.js} +2 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.3668aee4.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.00a3b3d9.js → EditorLogin.46db248f.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.f7b2843c.js → EditorsView.e72621fa.js} +2 -2
- abstra_statics/dist/assets/EnvVars.f9f9d61f.js +2 -0
- abstra_statics/dist/assets/{Error.466dbb94.js → Error.864f05b3.js} +2 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.a489b996.js +2 -0
- abstra_statics/dist/assets/{Files.104385dd.js → Files.afe615e1.js} +2 -2
- abstra_statics/dist/assets/{Form.8077681f.js → Form.556d0de2.js} +2 -2
- abstra_statics/dist/assets/{FormRunner.055e2c45.js → FormRunner.7f56a8c6.js} +2 -2
- abstra_statics/dist/assets/{Home.0ef22910.js → Home.287d17f8.js} +2 -2
- abstra_statics/dist/assets/Home.5b7e9c23.js +2 -0
- abstra_statics/dist/assets/{Live.e1261458.js → Live.50bacfea.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.ebace8de.js +2 -0
- abstra_statics/dist/assets/{LoadingOutlined.cd84d9c9.js → LoadingOutlined.9e949112.js} +2 -2
- abstra_statics/dist/assets/{Login.041361ea.js → Login.536a3067.js} +2 -2
- abstra_statics/dist/assets/Login.bec408c9.js +2 -0
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.c2eb444c.js → Login.vue_vue_type_script_setup_true_lang.1c3f108d.js} +2 -2
- abstra_statics/dist/assets/Logo.82d6ab70.js +2 -0
- abstra_statics/dist/assets/{Logs.f76cde12.js → Logs.f6135084.js} +2 -2
- abstra_statics/dist/assets/{LogsController.addd81bf.js → LogsController.6b666816.js} +2 -2
- abstra_statics/dist/assets/Main.77b115f8.js +2 -0
- abstra_statics/dist/assets/{MockForm.c9441864.js → MockForm.deda9355.js} +2 -2
- abstra_statics/dist/assets/{Navbar.07ba9452.js → Navbar.4a6f2b09.js} +2 -2
- abstra_statics/dist/assets/NewEditor.5f84de86.css +1 -0
- abstra_statics/dist/assets/NewEditor.e558e47d.js +8 -0
- abstra_statics/dist/assets/OidcLoginCallback.7f514b45.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.038813a1.js +2 -0
- abstra_statics/dist/assets/OmniChat.05ba8d8a.css +1 -0
- abstra_statics/dist/assets/OmniChat.60d98deb.js +6 -0
- abstra_statics/dist/assets/{OnboardingView.fbc4b6fe.js → OnboardingView.9413ee50.js} +2 -2
- abstra_statics/dist/assets/{Organization.bc495099.js → Organization.7203cc0b.js} +2 -2
- abstra_statics/dist/assets/{Organizations.b630803f.js → Organizations.91220ca0.js} +2 -2
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.156bcd89.js → PhArrowCounterClockwise.vue.8090d021.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.d0c95a06.js → PhArrowSquareOut.vue.26582195.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.42e49494.js → PhBookBookmark.vue.5b7ab079.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.54d692e4.js → PhChats.vue.b5df7174.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.d47d66ba.js → PhClockCounterClockwise.vue.812311ad.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.a0d9b0ec.js → PhCopy.vue.59b0f1b4.js} +2 -2
- abstra_statics/dist/assets/PhCopySimple.vue.d41d9160.js +2 -0
- abstra_statics/dist/assets/{PhCube.vue.498c014d.js → PhCube.vue.63ae7d32.js} +2 -2
- abstra_statics/dist/assets/PhDatabase.vue.edfcb96b.js +2 -0
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.0ea03d82.js → PhDotsThreeVertical.vue.ab4580a5.js} +2 -2
- abstra_statics/dist/assets/PhDownloadSimple.vue.c2eaaad1.js +2 -0
- abstra_statics/dist/assets/{PhFolderPlus.vue.0c210f8d.js → PhFolderPlus.vue.05ba4a5c.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.86c3014a.js → PhGear.vue.0e4a6135.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.72ce23d3.js → PhKey.vue.b2c184d1.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.80ed4b2e.js → PhPencil.vue.2f2fe576.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.0046d784.js → PhPencilSimple.vue.cc8620ae.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.f3302a7e.js → PhRocket.vue.e397203c.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.c9150da4.js → PhSignOut.vue.a271f14b.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.84ea95fc.js → PhSparkle.vue.726defa2.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.bce47902.js → PhUserList.vue.6a29f16d.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.0a84dfa4.js → PhUsersThree.vue.275d13ab.js} +2 -2
- abstra_statics/dist/assets/PhWarningCircle.vue.3b1aca1b.js +2 -0
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.a704632d.js → PhWebhooksLogo.vue.5e772aac.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.26b585a1.js → PlayerConfigProvider.e90a2b41.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.0fa6f760.js → PlayerNavbar.11ec1844.js} +2 -2
- abstra_statics/dist/assets/Project.c16740fb.js +2 -0
- abstra_statics/dist/assets/ProjectLogin.e7a6f444.js +2 -0
- abstra_statics/dist/assets/{ProjectSettings.2bf7e6c8.js → ProjectSettings.52c19693.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.ed31b921.js → ProjectsView.22fa7a8e.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.fdf70b31.js → SaveButton.719393d2.js} +2 -2
- abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.3bbea426.js → ScrollArea.vue_vue_type_script_setup_true_lang.d4028954.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.e69f49bd.css → Sidebar.29baeab0.css} +1 -1
- abstra_statics/dist/assets/{Sidebar.781afa0a.js → Sidebar.5cb8e04e.js} +2 -2
- abstra_statics/dist/assets/Sql.23d80bad.js +5 -0
- abstra_statics/dist/assets/Sql.90e6e2ba.css +1 -0
- abstra_statics/dist/assets/Steps.8e5d201a.js +2 -0
- abstra_statics/dist/assets/TableCard.529112b9.css +1 -0
- abstra_statics/dist/assets/TableCard.59f95f8f.js +2 -0
- abstra_statics/dist/assets/TableEditor.5853a363.css +1 -0
- abstra_statics/dist/assets/TableEditor.8539f984.js +2 -0
- abstra_statics/dist/assets/Tables.44d953f7.js +2 -0
- abstra_statics/dist/assets/TablesDiagram.8e47383c.js +15 -0
- abstra_statics/dist/assets/TablesDiagram.a588e7ff.css +1 -0
- abstra_statics/dist/assets/{TablesTabs.vue_vue_type_script_setup_true_lang.63aa07d0.js → TablesTabs.vue_vue_type_script_setup_true_lang.6866fb32.js} +2 -2
- abstra_statics/dist/assets/{Tasks.ee450480.js → Tasks.09551b19.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.e3072945.js → UploadOutlined.eab75eb0.js} +2 -2
- abstra_statics/dist/assets/View.5fd7ddf0.js +2 -0
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.ee5d447b.js → View.vue_vue_type_script_setup_true_lang.a904f400.js} +2 -2
- abstra_statics/dist/assets/{Watermark.891eee9f.js → Watermark.ab3d818f.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.7409cd48.js → WebEditor.d6ec6392.js} +2 -2
- abstra_statics/dist/assets/WidgetPreview.86b31dec.js +2 -0
- abstra_statics/dist/assets/ant-design.a865486e.js +2 -0
- abstra_statics/dist/assets/apiKey.72f497ca.js +2 -0
- abstra_statics/dist/assets/asyncComputed.cf5282fc.js +2 -0
- abstra_statics/dist/assets/{build.8fa1a961.js → build.df2d55cc.js} +2 -2
- abstra_statics/dist/assets/{colorHelpers.71d6d61d.js → colorHelpers.37d9932b.js} +2 -2
- abstra_statics/dist/assets/console.2bf7f04d.js +17 -0
- abstra_statics/dist/assets/constants.7d38ec8b.js +2 -0
- abstra_statics/dist/assets/{contracts.generated.c4057ed0.js → contracts.generated.590b1102.js} +2 -2
- abstra_statics/dist/assets/{cssMode.4c65b876.js → cssMode.7133c7cb.js} +2 -2
- abstra_statics/dist/assets/datetime.8de2ff28.js +2 -0
- abstra_statics/dist/assets/dayjs.f18bbbca.js +2 -0
- abstra_statics/dist/assets/editor.3a4714e3.js +2 -0
- abstra_statics/dist/assets/editor.main.9c635b9a.js +2 -0
- abstra_statics/dist/assets/fetch.89fd5b7b.js +2 -0
- abstra_statics/dist/assets/folder.d8e23009.js +2 -0
- abstra_statics/dist/assets/{freemarker2.1d872d48.js → freemarker2.6698d1ea.js} +2 -2
- abstra_statics/dist/assets/{handlebars.41fc6db8.js → handlebars.a6c42dc0.js} +2 -2
- abstra_statics/dist/assets/{html.967e3c6d.js → html.493a5410.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.d38ab72a.js → htmlMode.a28b2fca.js} +2 -2
- abstra_statics/dist/assets/{index.51dbb698.js → index.2af3391c.js} +2 -2
- abstra_statics/dist/assets/{index.9021ba5d.js → index.4176fe88.js} +2 -2
- abstra_statics/dist/assets/{index.b762f5e8.js → index.4d20c159.js} +2 -2
- abstra_statics/dist/assets/{index.8e871bae.js → index.5d6b1e62.js} +2 -2
- abstra_statics/dist/assets/index.79ce3bf1.js +2 -0
- abstra_statics/dist/assets/{index.03d222dd.js → index.c34a405a.js} +2 -2
- abstra_statics/dist/assets/index.fb182bd1.js +2 -0
- abstra_statics/dist/assets/{index.5f3f38ed.js → index.fb49354b.js} +2 -2
- abstra_statics/dist/assets/{javascript.0935bea2.js → javascript.3a36cf17.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.2860b71c.js → jsonMode.bead6ac8.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.7f2ef0df.js → jwt-decode.esm.d4517a10.js} +8 -8
- abstra_statics/dist/assets/linters.2f3141cb.js +2 -0
- abstra_statics/dist/assets/{liquid.1bae5f6b.js → liquid.0c337fae.js} +3 -3
- abstra_statics/dist/assets/{member.b7ac8000.js → member.48d6f2cd.js} +2 -2
- abstra_statics/dist/assets/{metadata.39f9b9ba.js → metadata.c3aed6e1.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.3431c026.js → omniChatStore.c53bcca2.js} +3 -3
- abstra_statics/dist/assets/{organization.a877b653.js → organization.928c9bef.js} +2 -2
- abstra_statics/dist/assets/player.d3aeafc5.js +2 -0
- abstra_statics/dist/assets/{plotly.min.d3f75723.js → plotly.min.7225d3a0.js} +2 -2
- abstra_statics/dist/assets/polling.82ee6b45.js +2 -0
- abstra_statics/dist/assets/{project.d22a89ee.js → project.619b7244.js} +2 -2
- abstra_statics/dist/assets/{python.4c1a1300.js → python.05764499.js} +3 -3
- abstra_statics/dist/assets/{razor.ba8bdb33.js → razor.81a45581.js} +3 -3
- abstra_statics/dist/assets/record.7f43486c.js +2 -0
- abstra_statics/dist/assets/{redirect.ce3c0f65.js → redirect.f028a879.js} +2 -2
- abstra_statics/dist/assets/repository.9534db4b.js +2 -0
- abstra_statics/dist/assets/repository.c15239ce.js +2 -0
- abstra_statics/dist/assets/router.262190ec.js +2 -0
- abstra_statics/dist/assets/router.424f7da9.js +18 -0
- abstra_statics/dist/assets/{string.2ed1cde3.js → string.0acf5572.js} +2 -2
- abstra_statics/dist/assets/{tables.be1c51f8.js → tables.1f68ec62.js} +2 -2
- abstra_statics/dist/assets/{tasksController.bf12e264.js → tasksController.371896de.js} +2 -2
- abstra_statics/dist/assets/{toggleHighContrast.c4e1b24d.js → toggleHighContrast.0d0e5662.js} +7 -7
- abstra_statics/dist/assets/{tsMode.da264aae.js → tsMode.6eadbf06.js} +2 -2
- abstra_statics/dist/assets/{typescript.db5d7517.js → typescript.1670e287.js} +3 -3
- abstra_statics/dist/assets/url.e8732f77.js +2 -0
- abstra_statics/dist/assets/{useCodebaseEvents.42573b00.js → useCodebaseEvents.53dec1f2.js} +2 -2
- abstra_statics/dist/assets/useTables.4f034cf8.js +2 -0
- abstra_statics/dist/assets/userStore.31024da3.js +2 -0
- abstra_statics/dist/assets/uuid.bde15ce7.js +2 -0
- abstra_statics/dist/assets/vue-flow-background.818c7852.js +2 -0
- abstra_statics/dist/assets/vue-flow-core.1180ec83.js +22 -0
- abstra_statics/dist/assets/{vue-quill.esm-bundler.37119951.js → vue-quill.esm-bundler.c4f04985.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.50ef2df1.js → workspaceStore.6244d03d.js} +2 -2
- abstra_statics/dist/assets/{xml.94b88503.js → xml.f2867af8.js} +3 -3
- abstra_statics/dist/assets/{yaml.73b7d5ce.js → yaml.5427bb1b.js} +2 -2
- abstra_statics/dist/console.html +14 -15
- abstra_statics/dist/editor.html +13 -13
- abstra_statics/dist/player.html +9 -9
- tests/e2e/test_crud_files.py +1 -0
- abstra_internals/templates/abstraignore +0 -8
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.441fcdfd.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.3f03a3ef.js +0 -2
- abstra_statics/dist/assets/ApiKeys.cb561e62.js +0 -2
- abstra_statics/dist/assets/App.dc82115f.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.3640ec1c.js +0 -2
- abstra_statics/dist/assets/BaseLayout.c63dfc2d.js +0 -2
- abstra_statics/dist/assets/ConnectorsView.b428e487.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.506f28c6.js +0 -2
- abstra_statics/dist/assets/ContentLayout.228d2328.js +0 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.61381525.js +0 -2
- abstra_statics/dist/assets/EnvVars.242b97c2.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.6d10f60b.js +0 -2
- abstra_statics/dist/assets/Home.80c7e349.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.6e2b63e4.js +0 -2
- abstra_statics/dist/assets/Login.409f4a11.js +0 -2
- abstra_statics/dist/assets/Logo.2de02c4a.js +0 -2
- abstra_statics/dist/assets/Main.4370ed68.js +0 -2
- abstra_statics/dist/assets/NewEditor.769f4459.js +0 -8
- abstra_statics/dist/assets/NewEditor.d6e41a05.css +0 -1
- abstra_statics/dist/assets/OidcLoginCallback.a89857fe.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.d151c695.js +0 -2
- abstra_statics/dist/assets/OmniChat.0f64dfec.css +0 -1
- abstra_statics/dist/assets/OmniChat.d015bfa8.js +0 -6
- abstra_statics/dist/assets/PhCopySimple.vue.43c74ebe.js +0 -2
- abstra_statics/dist/assets/PhDownloadSimple.vue.c92aeaff.js +0 -2
- abstra_statics/dist/assets/PhPencilSimpleLine.vue.34633dfa.js +0 -2
- abstra_statics/dist/assets/Project.c03610d3.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.934271a6.js +0 -2
- abstra_statics/dist/assets/Sql.3cdc910a.css +0 -1
- abstra_statics/dist/assets/Sql.b6aa38ca.js +0 -5
- abstra_statics/dist/assets/Steps.7c7e4a4a.js +0 -2
- abstra_statics/dist/assets/TableEditor.1e680eaf.css +0 -1
- abstra_statics/dist/assets/TableEditor.dc1b4a2d.js +0 -2
- abstra_statics/dist/assets/Tables.de30953b.js +0 -2
- abstra_statics/dist/assets/TablesDiagram.1ec45dd9.css +0 -1
- abstra_statics/dist/assets/TablesDiagram.97d6a43f.js +0 -15
- abstra_statics/dist/assets/View.617ad8d8.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.99f14714.js +0 -2
- abstra_statics/dist/assets/ant-design.4952c8fb.js +0 -2
- abstra_statics/dist/assets/apiKey.864dc66b.js +0 -2
- abstra_statics/dist/assets/asyncComputed.25309626.js +0 -2
- abstra_statics/dist/assets/console.3d4702c3.js +0 -25
- abstra_statics/dist/assets/constants.56e8988f.js +0 -2
- abstra_statics/dist/assets/datetime.e5660676.js +0 -2
- abstra_statics/dist/assets/dayjs.c54f8edb.js +0 -2
- abstra_statics/dist/assets/editor.6d0baf6f.js +0 -2
- abstra_statics/dist/assets/editor.main.65812c73.js +0 -2
- abstra_statics/dist/assets/fetch.5136a62d.js +0 -2
- abstra_statics/dist/assets/folder.d7d65e5b.js +0 -2
- abstra_statics/dist/assets/index.23283fbb.js +0 -2
- abstra_statics/dist/assets/index.4b93c8ad.js +0 -2
- abstra_statics/dist/assets/index.58e29274.js +0 -2
- abstra_statics/dist/assets/linters.640d6098.js +0 -2
- abstra_statics/dist/assets/player.30593e18.js +0 -2
- abstra_statics/dist/assets/polling.d1c934c7.js +0 -2
- abstra_statics/dist/assets/record.4ffc477c.js +0 -2
- abstra_statics/dist/assets/repository.360feb8f.js +0 -2
- abstra_statics/dist/assets/repository.ab3036a9.js +0 -2
- abstra_statics/dist/assets/router.7f571832.js +0 -2
- abstra_statics/dist/assets/router.8fd5b2ad.js +0 -10
- abstra_statics/dist/assets/url.8583a595.js +0 -2
- abstra_statics/dist/assets/userStore.73b89fbb.js +0 -2
- abstra_statics/dist/assets/uuid.dadede91.js +0 -2
- abstra_statics/dist/assets/vue-flow-background.d2772d9a.js +0 -22
- {abstra-3.23.12.dist-info → abstra-3.24.0.dist-info}/WHEEL +0 -0
- {abstra-3.23.12.dist-info → abstra-3.24.0.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.12.dist-info → abstra-3.24.0.dist-info}/top_level.txt +0 -0
|
@@ -1924,6 +1924,10 @@ class CommonAbstraJsonV15Home:
|
|
|
1924
1924
|
)
|
|
1925
1925
|
|
|
1926
1926
|
|
|
1927
|
+
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
1928
|
+
|
|
1929
|
+
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
1930
|
+
|
|
1927
1931
|
CommonAbstraJsonV15DefinitionsTransitionId = str
|
|
1928
1932
|
|
|
1929
1933
|
CommonAbstraJsonV15DefinitionsTransitionTargetId = str
|
|
@@ -1991,35 +1995,31 @@ CommonAbstraJsonV15DefinitionsJobStageTransitions = typing.List[
|
|
|
1991
1995
|
|
|
1992
1996
|
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
1993
1997
|
|
|
1994
|
-
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
1995
|
-
|
|
1996
1998
|
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
1997
1999
|
|
|
1998
2000
|
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
1999
2001
|
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
2000
2002
|
]
|
|
2001
2003
|
|
|
2002
|
-
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
2003
|
-
|
|
2004
2004
|
CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
2005
2005
|
|
|
2006
2006
|
|
|
2007
2007
|
@dataclass
|
|
2008
2008
|
class CommonAbstraJsonV15DefinitionsJobStage:
|
|
2009
|
+
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2010
|
+
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2009
2011
|
transitions: CommonAbstraJsonV15DefinitionsJobStageTransitions
|
|
2010
2012
|
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2011
|
-
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2012
2013
|
workflow_position: CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition
|
|
2013
|
-
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
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
|
+
data["title"] = self.title
|
|
2018
2020
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2019
2021
|
data["id"] = self.id
|
|
2020
|
-
data["title"] = self.title
|
|
2021
2022
|
data["workflow_position"] = self.workflow_position
|
|
2022
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
2031
2033
|
transitions=[
|
|
2032
2034
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2033
2035
|
for item in data["transitions"]
|
|
2034
2036
|
],
|
|
2035
2037
|
id=str(data["id"]),
|
|
2036
|
-
title=str(data["title"]),
|
|
2037
2038
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2038
|
-
file=str(data["file"]),
|
|
2039
2039
|
schedule=str(data["schedule"]),
|
|
2040
2040
|
)
|
|
2041
2041
|
|
|
@@ -2044,6 +2044,10 @@ CommonAbstraJsonV15JobsItem = CommonAbstraJsonV15DefinitionsJobStage
|
|
|
2044
2044
|
|
|
2045
2045
|
CommonAbstraJsonV15Jobs = typing.List[CommonAbstraJsonV15JobsItem]
|
|
2046
2046
|
|
|
2047
|
+
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2048
|
+
|
|
2049
|
+
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2050
|
+
|
|
2047
2051
|
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem = (
|
|
2048
2052
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2049
2053
|
)
|
|
@@ -2054,44 +2058,40 @@ CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
|
2054
2058
|
|
|
2055
2059
|
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2056
2060
|
|
|
2057
|
-
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2058
|
-
|
|
2059
2061
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
2060
2062
|
|
|
2061
2063
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition = typing.List[
|
|
2062
2064
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem
|
|
2063
2065
|
]
|
|
2064
2066
|
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2067
|
+
CommonAbstraJsonV15DefinitionsHookStageEnabled = bool
|
|
2068
2068
|
|
|
2069
2069
|
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2070
2070
|
|
|
2071
|
-
|
|
2071
|
+
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2072
2072
|
|
|
2073
2073
|
|
|
2074
2074
|
@dataclass
|
|
2075
2075
|
class CommonAbstraJsonV15DefinitionsHookStage:
|
|
2076
|
+
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2077
|
+
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2076
2078
|
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2077
2079
|
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2078
|
-
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2079
2080
|
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2080
|
-
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2081
|
-
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2082
|
-
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2083
2081
|
enabled: CommonAbstraJsonV15DefinitionsHookStageEnabled
|
|
2082
|
+
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2083
|
+
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2084
2084
|
|
|
2085
2085
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2086
2086
|
data = {}
|
|
2087
|
+
data["file"] = self.file
|
|
2088
|
+
data["title"] = self.title
|
|
2087
2089
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2088
2090
|
data["id"] = self.id
|
|
2089
|
-
data["title"] = self.title
|
|
2090
2091
|
data["workflow_position"] = self.workflow_position
|
|
2091
|
-
data["file"] = self.file
|
|
2092
|
-
data["path"] = self.path
|
|
2093
|
-
data["is_initial"] = self.is_initial
|
|
2094
2092
|
data["enabled"] = self.enabled
|
|
2093
|
+
data["is_initial"] = self.is_initial
|
|
2094
|
+
data["path"] = self.path
|
|
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
|
+
title=str(data["title"]),
|
|
2102
2104
|
transitions=[
|
|
2103
2105
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2104
2106
|
for item in data["transitions"]
|
|
2105
2107
|
],
|
|
2106
2108
|
id=str(data["id"]),
|
|
2107
|
-
title=str(data["title"]),
|
|
2108
2109
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2109
|
-
file=str(data["file"]),
|
|
2110
|
-
path=str(data["path"]),
|
|
2111
|
-
is_initial=bool(data["is_initial"]),
|
|
2112
2110
|
enabled=bool(data["enabled"]),
|
|
2111
|
+
is_initial=bool(data["is_initial"]),
|
|
2112
|
+
path=str(data["path"]),
|
|
2113
2113
|
)
|
|
2114
2114
|
|
|
2115
2115
|
|
|
@@ -2117,6 +2117,10 @@ CommonAbstraJsonV15HooksItem = CommonAbstraJsonV15DefinitionsHookStage
|
|
|
2117
2117
|
|
|
2118
2118
|
CommonAbstraJsonV15Hooks = typing.List[CommonAbstraJsonV15HooksItem]
|
|
2119
2119
|
|
|
2120
|
+
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2121
|
+
|
|
2122
|
+
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2123
|
+
|
|
2120
2124
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem = (
|
|
2121
2125
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2122
2126
|
)
|
|
@@ -2127,15 +2131,22 @@ CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
|
2127
2131
|
|
|
2128
2132
|
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2129
2133
|
|
|
2130
|
-
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2131
|
-
|
|
2132
2134
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
2133
2135
|
|
|
2134
2136
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2135
2137
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem
|
|
2136
2138
|
]
|
|
2137
2139
|
|
|
2138
|
-
|
|
2140
|
+
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2141
|
+
|
|
2142
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2143
|
+
|
|
2144
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2145
|
+
|
|
2146
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2147
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString,
|
|
2148
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2149
|
+
]
|
|
2139
2150
|
|
|
2140
2151
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageString = str
|
|
2141
2152
|
|
|
@@ -2146,52 +2157,19 @@ CommonAbstraJsonV15DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
2146
2157
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull,
|
|
2147
2158
|
]
|
|
2148
2159
|
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2160
|
+
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
2152
2161
|
|
|
2153
|
-
|
|
2154
|
-
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString,
|
|
2155
|
-
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull,
|
|
2156
|
-
]
|
|
2162
|
+
CommonAbstraJsonV15DefinitionsFormStageAllowRestart = bool
|
|
2157
2163
|
|
|
2158
|
-
|
|
2164
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
2159
2165
|
|
|
2160
|
-
|
|
2166
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull = type(None)
|
|
2161
2167
|
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2168
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonText = typing.Union[
|
|
2169
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString,
|
|
2170
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull,
|
|
2165
2171
|
]
|
|
2166
2172
|
|
|
2167
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2168
|
-
|
|
2169
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
@dataclass
|
|
2173
|
-
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2174
|
-
variable_name: (
|
|
2175
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2176
|
-
)
|
|
2177
|
-
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2178
|
-
|
|
2179
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2180
|
-
data = {}
|
|
2181
|
-
data["variable_name"] = self.variable_name
|
|
2182
|
-
data["enabled"] = self.enabled
|
|
2183
|
-
return data
|
|
2184
|
-
|
|
2185
|
-
@classmethod
|
|
2186
|
-
def from_dict(
|
|
2187
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
2188
|
-
) -> "CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger":
|
|
2189
|
-
return cls(
|
|
2190
|
-
variable_name=str(data["variable_name"]),
|
|
2191
|
-
enabled=bool(data["enabled"]),
|
|
2192
|
-
)
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
2173
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic = bool
|
|
2196
2174
|
|
|
2197
2175
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -2222,9 +2200,25 @@ class CommonAbstraJsonV15DefinitionsFormStageAccessControl:
|
|
|
2222
2200
|
)
|
|
2223
2201
|
|
|
2224
2202
|
|
|
2225
|
-
|
|
2203
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2226
2204
|
|
|
2227
|
-
|
|
2205
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2206
|
+
|
|
2207
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2208
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2209
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2210
|
+
]
|
|
2211
|
+
|
|
2212
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2213
|
+
|
|
2214
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull = type(None)
|
|
2215
|
+
|
|
2216
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessage = typing.Union[
|
|
2217
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageString,
|
|
2218
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull,
|
|
2219
|
+
]
|
|
2220
|
+
|
|
2221
|
+
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2228
2222
|
|
|
2229
2223
|
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
2230
2224
|
|
|
@@ -2235,104 +2229,110 @@ CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
|
2235
2229
|
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2236
2230
|
]
|
|
2237
2231
|
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2232
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2241
2233
|
|
|
2242
|
-
|
|
2234
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2243
2235
|
|
|
2244
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2245
2236
|
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2237
|
+
@dataclass
|
|
2238
|
+
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2239
|
+
variable_name: (
|
|
2240
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2241
|
+
)
|
|
2242
|
+
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2250
2243
|
|
|
2251
|
-
|
|
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
|
|
2252
2249
|
|
|
2253
|
-
|
|
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
|
+
)
|
|
2254
2258
|
|
|
2255
|
-
CommonAbstraJsonV15DefinitionsFormStageEndMessage = typing.Union[
|
|
2256
|
-
CommonAbstraJsonV15DefinitionsFormStageEndMessageString,
|
|
2257
|
-
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull,
|
|
2258
|
-
]
|
|
2259
2259
|
|
|
2260
|
-
|
|
2260
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString = str
|
|
2261
2261
|
|
|
2262
|
-
|
|
2262
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2263
2263
|
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2264
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
2265
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString,
|
|
2266
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull,
|
|
2267
2267
|
]
|
|
2268
2268
|
|
|
2269
2269
|
|
|
2270
2270
|
@dataclass
|
|
2271
2271
|
class CommonAbstraJsonV15DefinitionsFormStage:
|
|
2272
|
+
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2273
|
+
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
2272
2274
|
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
2273
2275
|
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2274
|
-
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
2275
2276
|
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
2276
|
-
|
|
2277
|
+
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
2278
|
+
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2277
2279
|
error_message: CommonAbstraJsonV15DefinitionsFormStageErrorMessage
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2280
|
+
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2281
|
+
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2282
|
+
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2281
2283
|
access_control: CommonAbstraJsonV15DefinitionsFormStageAccessControl
|
|
2284
|
+
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
2285
|
+
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2282
2286
|
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2283
|
-
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2284
2287
|
start_message: CommonAbstraJsonV15DefinitionsFormStageStartMessage
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2288
|
-
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2289
|
-
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2288
|
+
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2289
|
+
welcome_title: CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle
|
|
2290
2290
|
|
|
2291
2291
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2292
2292
|
data = {}
|
|
2293
|
+
data["file"] = self.file
|
|
2294
|
+
data["title"] = self.title
|
|
2293
2295
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2294
2296
|
data["id"] = self.id
|
|
2295
|
-
data["title"] = self.title
|
|
2296
2297
|
data["workflow_position"] = self.workflow_position
|
|
2297
|
-
data["
|
|
2298
|
+
data["is_initial"] = self.is_initial
|
|
2299
|
+
data["restart_button_text"] = (
|
|
2300
|
+
self.restart_button_text
|
|
2301
|
+
if isinstance(self.restart_button_text, str)
|
|
2302
|
+
else self.restart_button_text
|
|
2303
|
+
)
|
|
2298
2304
|
data["error_message"] = (
|
|
2299
2305
|
self.error_message
|
|
2300
2306
|
if isinstance(self.error_message, str)
|
|
2301
2307
|
else self.error_message
|
|
2302
2308
|
)
|
|
2303
|
-
data["
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2309
|
+
data["auto_start"] = self.auto_start
|
|
2310
|
+
data["allow_restart"] = self.allow_restart
|
|
2311
|
+
data["start_button_text"] = (
|
|
2312
|
+
self.start_button_text
|
|
2313
|
+
if isinstance(self.start_button_text, str)
|
|
2314
|
+
else self.start_button_text
|
|
2307
2315
|
)
|
|
2316
|
+
data["access_control"] = self.access_control.to_dict()
|
|
2308
2317
|
data["timeout_message"] = (
|
|
2309
2318
|
self.timeout_message
|
|
2310
2319
|
if isinstance(self.timeout_message, str)
|
|
2311
2320
|
else self.timeout_message
|
|
2312
2321
|
)
|
|
2313
|
-
data["
|
|
2314
|
-
|
|
2322
|
+
data["end_message"] = (
|
|
2323
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2324
|
+
)
|
|
2315
2325
|
data["path"] = self.path
|
|
2316
|
-
data["allow_restart"] = self.allow_restart
|
|
2317
2326
|
data["start_message"] = (
|
|
2318
2327
|
self.start_message
|
|
2319
2328
|
if isinstance(self.start_message, str)
|
|
2320
2329
|
else self.start_message
|
|
2321
2330
|
)
|
|
2322
|
-
data["
|
|
2323
|
-
data["
|
|
2324
|
-
|
|
2325
|
-
self.
|
|
2326
|
-
|
|
2327
|
-
else self.restart_button_text
|
|
2328
|
-
)
|
|
2329
|
-
data["end_message"] = (
|
|
2330
|
-
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2331
|
-
)
|
|
2332
|
-
data["start_button_text"] = (
|
|
2333
|
-
self.start_button_text
|
|
2334
|
-
if isinstance(self.start_button_text, str)
|
|
2335
|
-
else self.start_button_text
|
|
2331
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2332
|
+
data["welcome_title"] = (
|
|
2333
|
+
self.welcome_title
|
|
2334
|
+
if isinstance(self.welcome_title, str)
|
|
2335
|
+
else self.welcome_title
|
|
2336
2336
|
)
|
|
2337
2337
|
return data
|
|
2338
2338
|
|
|
@@ -2341,47 +2341,38 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2341
2341
|
cls, data: typing.Dict[str, typing.Any]
|
|
2342
2342
|
) -> "CommonAbstraJsonV15DefinitionsFormStage":
|
|
2343
2343
|
return cls(
|
|
2344
|
+
file=str(data["file"]),
|
|
2345
|
+
title=str(data["title"]),
|
|
2344
2346
|
transitions=[
|
|
2345
2347
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2346
2348
|
for item in data["transitions"]
|
|
2347
2349
|
],
|
|
2348
2350
|
id=str(data["id"]),
|
|
2349
|
-
title=str(data["title"]),
|
|
2350
2351
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2351
|
-
|
|
2352
|
+
is_initial=bool(data["is_initial"]),
|
|
2353
|
+
restart_button_text=(
|
|
2354
|
+
str(data["restart_button_text"])
|
|
2355
|
+
if isinstance(data["restart_button_text"], str)
|
|
2356
|
+
else None
|
|
2357
|
+
),
|
|
2352
2358
|
error_message=(
|
|
2353
2359
|
str(data["error_message"])
|
|
2354
2360
|
if isinstance(data["error_message"], str)
|
|
2355
2361
|
else None
|
|
2356
2362
|
),
|
|
2357
|
-
|
|
2358
|
-
str(data["welcome_title"])
|
|
2359
|
-
if isinstance(data["welcome_title"], str)
|
|
2360
|
-
else None
|
|
2361
|
-
),
|
|
2362
|
-
timeout_message=(
|
|
2363
|
-
str(data["timeout_message"])
|
|
2364
|
-
if isinstance(data["timeout_message"], str)
|
|
2365
|
-
else None
|
|
2366
|
-
),
|
|
2367
|
-
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2368
|
-
data["notification_trigger"]
|
|
2369
|
-
),
|
|
2370
|
-
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2371
|
-
data["access_control"]
|
|
2372
|
-
),
|
|
2373
|
-
path=str(data["path"]),
|
|
2363
|
+
auto_start=bool(data["auto_start"]),
|
|
2374
2364
|
allow_restart=bool(data["allow_restart"]),
|
|
2375
|
-
|
|
2376
|
-
str(data["
|
|
2377
|
-
if isinstance(data["
|
|
2365
|
+
start_button_text=(
|
|
2366
|
+
str(data["start_button_text"])
|
|
2367
|
+
if isinstance(data["start_button_text"], str)
|
|
2378
2368
|
else None
|
|
2379
2369
|
),
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2370
|
+
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2371
|
+
data["access_control"]
|
|
2372
|
+
),
|
|
2373
|
+
timeout_message=(
|
|
2374
|
+
str(data["timeout_message"])
|
|
2375
|
+
if isinstance(data["timeout_message"], str)
|
|
2385
2376
|
else None
|
|
2386
2377
|
),
|
|
2387
2378
|
end_message=(
|
|
@@ -2389,9 +2380,18 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2389
2380
|
if isinstance(data["end_message"], str)
|
|
2390
2381
|
else None
|
|
2391
2382
|
),
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2383
|
+
path=str(data["path"]),
|
|
2384
|
+
start_message=(
|
|
2385
|
+
str(data["start_message"])
|
|
2386
|
+
if isinstance(data["start_message"], str)
|
|
2387
|
+
else None
|
|
2388
|
+
),
|
|
2389
|
+
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2390
|
+
data["notification_trigger"]
|
|
2391
|
+
),
|
|
2392
|
+
welcome_title=(
|
|
2393
|
+
str(data["welcome_title"])
|
|
2394
|
+
if isinstance(data["welcome_title"], str)
|
|
2395
2395
|
else None
|
|
2396
2396
|
),
|
|
2397
2397
|
)
|
|
@@ -2401,6 +2401,10 @@ CommonAbstraJsonV15FormsItem = CommonAbstraJsonV15DefinitionsFormStage
|
|
|
2401
2401
|
|
|
2402
2402
|
CommonAbstraJsonV15Forms = typing.List[CommonAbstraJsonV15FormsItem]
|
|
2403
2403
|
|
|
2404
|
+
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2405
|
+
|
|
2406
|
+
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
2407
|
+
|
|
2404
2408
|
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem = (
|
|
2405
2409
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2406
2410
|
)
|
|
@@ -2411,35 +2415,31 @@ CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
|
2411
2415
|
|
|
2412
2416
|
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2413
2417
|
|
|
2414
|
-
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
2415
|
-
|
|
2416
2418
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
2417
2419
|
|
|
2418
2420
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
2419
2421
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem
|
|
2420
2422
|
]
|
|
2421
2423
|
|
|
2422
|
-
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2423
|
-
|
|
2424
2424
|
CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
2425
2425
|
|
|
2426
2426
|
|
|
2427
2427
|
@dataclass
|
|
2428
2428
|
class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
2429
|
+
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2430
|
+
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
2429
2431
|
transitions: CommonAbstraJsonV15DefinitionsScriptStageTransitions
|
|
2430
2432
|
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2431
|
-
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
2432
2433
|
workflow_position: CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition
|
|
2433
|
-
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
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
|
+
data["title"] = self.title
|
|
2438
2440
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2439
2441
|
data["id"] = self.id
|
|
2440
|
-
data["title"] = self.title
|
|
2441
2442
|
data["workflow_position"] = self.workflow_position
|
|
2442
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
2451
2453
|
transitions=[
|
|
2452
2454
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2453
2455
|
for item in data["transitions"]
|
|
2454
2456
|
],
|
|
2455
2457
|
id=str(data["id"]),
|
|
2456
|
-
title=str(data["title"]),
|
|
2457
2458
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2458
|
-
file=str(data["file"]),
|
|
2459
2459
|
is_initial=bool(data["is_initial"]),
|
|
2460
2460
|
)
|
|
2461
2461
|
|
|
@@ -2699,6 +2699,10 @@ class CommonAbstraJsonV14Home:
|
|
|
2699
2699
|
)
|
|
2700
2700
|
|
|
2701
2701
|
|
|
2702
|
+
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2703
|
+
|
|
2704
|
+
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2705
|
+
|
|
2702
2706
|
CommonAbstraJsonV14DefinitionsTransitionId = str
|
|
2703
2707
|
|
|
2704
2708
|
CommonAbstraJsonV14DefinitionsTransitionTargetId = str
|
|
@@ -2770,35 +2774,31 @@ CommonAbstraJsonV14DefinitionsJobStageTransitions = typing.List[
|
|
|
2770
2774
|
|
|
2771
2775
|
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2772
2776
|
|
|
2773
|
-
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2774
|
-
|
|
2775
2777
|
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
2776
2778
|
|
|
2777
2779
|
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2778
2780
|
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
2779
2781
|
]
|
|
2780
2782
|
|
|
2781
|
-
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2782
|
-
|
|
2783
2783
|
CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
2784
2784
|
|
|
2785
2785
|
|
|
2786
2786
|
@dataclass
|
|
2787
2787
|
class CommonAbstraJsonV14DefinitionsJobStage:
|
|
2788
|
+
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2789
|
+
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
2788
2790
|
transitions: CommonAbstraJsonV14DefinitionsJobStageTransitions
|
|
2789
2791
|
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2790
|
-
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
2791
2792
|
workflow_position: CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition
|
|
2792
|
-
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
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
|
+
data["title"] = self.title
|
|
2797
2799
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2798
2800
|
data["id"] = self.id
|
|
2799
|
-
data["title"] = self.title
|
|
2800
2801
|
data["workflow_position"] = self.workflow_position
|
|
2801
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
2810
2812
|
transitions=[
|
|
2811
2813
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2812
2814
|
for item in data["transitions"]
|
|
2813
2815
|
],
|
|
2814
2816
|
id=str(data["id"]),
|
|
2815
|
-
title=str(data["title"]),
|
|
2816
2817
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2817
|
-
file=str(data["file"]),
|
|
2818
2818
|
schedule=str(data["schedule"]),
|
|
2819
2819
|
)
|
|
2820
2820
|
|
|
@@ -2823,6 +2823,10 @@ CommonAbstraJsonV14JobsItem = CommonAbstraJsonV14DefinitionsJobStage
|
|
|
2823
2823
|
|
|
2824
2824
|
CommonAbstraJsonV14Jobs = typing.List[CommonAbstraJsonV14JobsItem]
|
|
2825
2825
|
|
|
2826
|
+
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
2827
|
+
|
|
2828
|
+
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
2829
|
+
|
|
2826
2830
|
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem = (
|
|
2827
2831
|
CommonAbstraJsonV14DefinitionsTransition
|
|
2828
2832
|
)
|
|
@@ -2833,44 +2837,40 @@ CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
|
2833
2837
|
|
|
2834
2838
|
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2835
2839
|
|
|
2836
|
-
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
2837
|
-
|
|
2838
2840
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
2839
2841
|
|
|
2840
2842
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition = typing.List[
|
|
2841
2843
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem
|
|
2842
2844
|
]
|
|
2843
2845
|
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2846
|
+
CommonAbstraJsonV14DefinitionsHookStageEnabled = bool
|
|
2847
2847
|
|
|
2848
2848
|
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
2849
2849
|
|
|
2850
|
-
|
|
2850
|
+
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2851
2851
|
|
|
2852
2852
|
|
|
2853
2853
|
@dataclass
|
|
2854
2854
|
class CommonAbstraJsonV14DefinitionsHookStage:
|
|
2855
|
+
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2856
|
+
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
2855
2857
|
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
2856
2858
|
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2857
|
-
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
2858
2859
|
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
2859
|
-
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2860
|
-
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
2861
|
-
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2862
2860
|
enabled: CommonAbstraJsonV14DefinitionsHookStageEnabled
|
|
2861
|
+
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2862
|
+
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
2863
2863
|
|
|
2864
2864
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2865
2865
|
data = {}
|
|
2866
|
+
data["file"] = self.file
|
|
2867
|
+
data["title"] = self.title
|
|
2866
2868
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2867
2869
|
data["id"] = self.id
|
|
2868
|
-
data["title"] = self.title
|
|
2869
2870
|
data["workflow_position"] = self.workflow_position
|
|
2870
|
-
data["file"] = self.file
|
|
2871
|
-
data["path"] = self.path
|
|
2872
|
-
data["is_initial"] = self.is_initial
|
|
2873
2871
|
data["enabled"] = self.enabled
|
|
2872
|
+
data["is_initial"] = self.is_initial
|
|
2873
|
+
data["path"] = self.path
|
|
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
|
+
title=str(data["title"]),
|
|
2881
2883
|
transitions=[
|
|
2882
2884
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2883
2885
|
for item in data["transitions"]
|
|
2884
2886
|
],
|
|
2885
2887
|
id=str(data["id"]),
|
|
2886
|
-
title=str(data["title"]),
|
|
2887
2888
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2888
|
-
file=str(data["file"]),
|
|
2889
|
-
path=str(data["path"]),
|
|
2890
|
-
is_initial=bool(data["is_initial"]),
|
|
2891
2889
|
enabled=bool(data["enabled"]),
|
|
2890
|
+
is_initial=bool(data["is_initial"]),
|
|
2891
|
+
path=str(data["path"]),
|
|
2892
2892
|
)
|
|
2893
2893
|
|
|
2894
2894
|
|
|
@@ -2896,6 +2896,10 @@ CommonAbstraJsonV14HooksItem = CommonAbstraJsonV14DefinitionsHookStage
|
|
|
2896
2896
|
|
|
2897
2897
|
CommonAbstraJsonV14Hooks = typing.List[CommonAbstraJsonV14HooksItem]
|
|
2898
2898
|
|
|
2899
|
+
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
2900
|
+
|
|
2901
|
+
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
2902
|
+
|
|
2899
2903
|
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem = (
|
|
2900
2904
|
CommonAbstraJsonV14DefinitionsTransition
|
|
2901
2905
|
)
|
|
@@ -2906,15 +2910,22 @@ CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
|
2906
2910
|
|
|
2907
2911
|
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2908
2912
|
|
|
2909
|
-
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
2910
|
-
|
|
2911
2913
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
2912
2914
|
|
|
2913
2915
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2914
2916
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem
|
|
2915
2917
|
]
|
|
2916
2918
|
|
|
2917
|
-
|
|
2919
|
+
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
2920
|
+
|
|
2921
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
2922
|
+
|
|
2923
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2924
|
+
|
|
2925
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2926
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString,
|
|
2927
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
2928
|
+
]
|
|
2918
2929
|
|
|
2919
2930
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString = str
|
|
2920
2931
|
|
|
@@ -2925,52 +2936,19 @@ CommonAbstraJsonV14DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
2925
2936
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull,
|
|
2926
2937
|
]
|
|
2927
2938
|
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2939
|
+
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
2931
2940
|
|
|
2932
|
-
|
|
2933
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
2934
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
2935
|
-
]
|
|
2941
|
+
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
2936
2942
|
|
|
2937
|
-
|
|
2943
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
2938
2944
|
|
|
2939
|
-
|
|
2945
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull = type(None)
|
|
2940
2946
|
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2947
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonText = typing.Union[
|
|
2948
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString,
|
|
2949
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull,
|
|
2944
2950
|
]
|
|
2945
2951
|
|
|
2946
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2947
|
-
|
|
2948
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
@dataclass
|
|
2952
|
-
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
2953
|
-
variable_name: (
|
|
2954
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
2955
|
-
)
|
|
2956
|
-
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
2957
|
-
|
|
2958
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2959
|
-
data = {}
|
|
2960
|
-
data["variable_name"] = self.variable_name
|
|
2961
|
-
data["enabled"] = self.enabled
|
|
2962
|
-
return data
|
|
2963
|
-
|
|
2964
|
-
@classmethod
|
|
2965
|
-
def from_dict(
|
|
2966
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
2967
|
-
) -> "CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger":
|
|
2968
|
-
return cls(
|
|
2969
|
-
variable_name=str(data["variable_name"]),
|
|
2970
|
-
enabled=bool(data["enabled"]),
|
|
2971
|
-
)
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
2952
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic = bool
|
|
2975
2953
|
|
|
2976
2954
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -3001,9 +2979,25 @@ class CommonAbstraJsonV14DefinitionsFormStageAccessControl:
|
|
|
3001
2979
|
)
|
|
3002
2980
|
|
|
3003
2981
|
|
|
3004
|
-
|
|
2982
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString = str
|
|
3005
2983
|
|
|
3006
|
-
|
|
2984
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2985
|
+
|
|
2986
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2987
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString,
|
|
2988
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
2989
|
+
]
|
|
2990
|
+
|
|
2991
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
2992
|
+
|
|
2993
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
2994
|
+
|
|
2995
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
2996
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString,
|
|
2997
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
2998
|
+
]
|
|
2999
|
+
|
|
3000
|
+
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
3007
3001
|
|
|
3008
3002
|
CommonAbstraJsonV14DefinitionsFormStageStartMessageString = str
|
|
3009
3003
|
|
|
@@ -3014,104 +3008,110 @@ CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
|
3014
3008
|
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3015
3009
|
]
|
|
3016
3010
|
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
3011
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3020
3012
|
|
|
3021
|
-
|
|
3013
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3022
3014
|
|
|
3023
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3024
3015
|
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3016
|
+
@dataclass
|
|
3017
|
+
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
3018
|
+
variable_name: (
|
|
3019
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
3020
|
+
)
|
|
3021
|
+
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
3029
3022
|
|
|
3030
|
-
|
|
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
|
|
3031
3028
|
|
|
3032
|
-
|
|
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
|
+
)
|
|
3033
3037
|
|
|
3034
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
3035
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageString,
|
|
3036
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
3037
|
-
]
|
|
3038
3038
|
|
|
3039
|
-
|
|
3039
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
3040
3040
|
|
|
3041
|
-
|
|
3041
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3042
3042
|
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3043
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3044
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
3045
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
3046
3046
|
]
|
|
3047
3047
|
|
|
3048
3048
|
|
|
3049
3049
|
@dataclass
|
|
3050
3050
|
class CommonAbstraJsonV14DefinitionsFormStage:
|
|
3051
|
+
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3052
|
+
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3051
3053
|
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3052
3054
|
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3053
|
-
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3054
3055
|
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3055
|
-
|
|
3056
|
+
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3057
|
+
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3056
3058
|
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3059
|
+
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3060
|
+
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3061
|
+
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3060
3062
|
access_control: CommonAbstraJsonV14DefinitionsFormStageAccessControl
|
|
3063
|
+
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3064
|
+
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3061
3065
|
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3062
|
-
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3063
3066
|
start_message: CommonAbstraJsonV14DefinitionsFormStageStartMessage
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3067
|
-
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3068
|
-
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3067
|
+
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3068
|
+
welcome_title: CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle
|
|
3069
3069
|
|
|
3070
3070
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3071
3071
|
data = {}
|
|
3072
|
+
data["file"] = self.file
|
|
3073
|
+
data["title"] = self.title
|
|
3072
3074
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3073
3075
|
data["id"] = self.id
|
|
3074
|
-
data["title"] = self.title
|
|
3075
3076
|
data["workflow_position"] = self.workflow_position
|
|
3076
|
-
data["
|
|
3077
|
+
data["is_initial"] = self.is_initial
|
|
3078
|
+
data["restart_button_text"] = (
|
|
3079
|
+
self.restart_button_text
|
|
3080
|
+
if isinstance(self.restart_button_text, str)
|
|
3081
|
+
else self.restart_button_text
|
|
3082
|
+
)
|
|
3077
3083
|
data["error_message"] = (
|
|
3078
3084
|
self.error_message
|
|
3079
3085
|
if isinstance(self.error_message, str)
|
|
3080
3086
|
else self.error_message
|
|
3081
3087
|
)
|
|
3082
|
-
data["
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3088
|
+
data["auto_start"] = self.auto_start
|
|
3089
|
+
data["allow_restart"] = self.allow_restart
|
|
3090
|
+
data["start_button_text"] = (
|
|
3091
|
+
self.start_button_text
|
|
3092
|
+
if isinstance(self.start_button_text, str)
|
|
3093
|
+
else self.start_button_text
|
|
3086
3094
|
)
|
|
3095
|
+
data["access_control"] = self.access_control.to_dict()
|
|
3087
3096
|
data["timeout_message"] = (
|
|
3088
3097
|
self.timeout_message
|
|
3089
3098
|
if isinstance(self.timeout_message, str)
|
|
3090
3099
|
else self.timeout_message
|
|
3091
3100
|
)
|
|
3092
|
-
data["
|
|
3093
|
-
|
|
3101
|
+
data["end_message"] = (
|
|
3102
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3103
|
+
)
|
|
3094
3104
|
data["path"] = self.path
|
|
3095
|
-
data["allow_restart"] = self.allow_restart
|
|
3096
3105
|
data["start_message"] = (
|
|
3097
3106
|
self.start_message
|
|
3098
3107
|
if isinstance(self.start_message, str)
|
|
3099
3108
|
else self.start_message
|
|
3100
3109
|
)
|
|
3101
|
-
data["
|
|
3102
|
-
data["
|
|
3103
|
-
|
|
3104
|
-
self.
|
|
3105
|
-
|
|
3106
|
-
else self.restart_button_text
|
|
3107
|
-
)
|
|
3108
|
-
data["end_message"] = (
|
|
3109
|
-
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3110
|
-
)
|
|
3111
|
-
data["start_button_text"] = (
|
|
3112
|
-
self.start_button_text
|
|
3113
|
-
if isinstance(self.start_button_text, str)
|
|
3114
|
-
else self.start_button_text
|
|
3110
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3111
|
+
data["welcome_title"] = (
|
|
3112
|
+
self.welcome_title
|
|
3113
|
+
if isinstance(self.welcome_title, str)
|
|
3114
|
+
else self.welcome_title
|
|
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
|
+
title=str(data["title"]),
|
|
3123
3125
|
transitions=[
|
|
3124
3126
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3125
3127
|
for item in data["transitions"]
|
|
3126
3128
|
],
|
|
3127
3129
|
id=str(data["id"]),
|
|
3128
|
-
title=str(data["title"]),
|
|
3129
3130
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3130
|
-
|
|
3131
|
+
is_initial=bool(data["is_initial"]),
|
|
3132
|
+
restart_button_text=(
|
|
3133
|
+
str(data["restart_button_text"])
|
|
3134
|
+
if isinstance(data["restart_button_text"], str)
|
|
3135
|
+
else None
|
|
3136
|
+
),
|
|
3131
3137
|
error_message=(
|
|
3132
3138
|
str(data["error_message"])
|
|
3133
3139
|
if isinstance(data["error_message"], str)
|
|
3134
3140
|
else None
|
|
3135
3141
|
),
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3142
|
+
auto_start=bool(data["auto_start"]),
|
|
3143
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3144
|
+
start_button_text=(
|
|
3145
|
+
str(data["start_button_text"])
|
|
3146
|
+
if isinstance(data["start_button_text"], str)
|
|
3139
3147
|
else None
|
|
3140
3148
|
),
|
|
3149
|
+
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3150
|
+
data["access_control"]
|
|
3151
|
+
),
|
|
3141
3152
|
timeout_message=(
|
|
3142
3153
|
str(data["timeout_message"])
|
|
3143
3154
|
if isinstance(data["timeout_message"], str)
|
|
3144
3155
|
else None
|
|
3145
3156
|
),
|
|
3146
|
-
|
|
3147
|
-
data["
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
data["access_control"]
|
|
3157
|
+
end_message=(
|
|
3158
|
+
str(data["end_message"])
|
|
3159
|
+
if isinstance(data["end_message"], str)
|
|
3160
|
+
else None
|
|
3151
3161
|
),
|
|
3152
3162
|
path=str(data["path"]),
|
|
3153
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3154
3163
|
start_message=(
|
|
3155
3164
|
str(data["start_message"])
|
|
3156
3165
|
if isinstance(data["start_message"], str)
|
|
3157
3166
|
else None
|
|
3158
3167
|
),
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
restart_button_text=(
|
|
3162
|
-
str(data["restart_button_text"])
|
|
3163
|
-
if isinstance(data["restart_button_text"], str)
|
|
3164
|
-
else None
|
|
3165
|
-
),
|
|
3166
|
-
end_message=(
|
|
3167
|
-
str(data["end_message"])
|
|
3168
|
-
if isinstance(data["end_message"], str)
|
|
3169
|
-
else None
|
|
3168
|
+
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3169
|
+
data["notification_trigger"]
|
|
3170
3170
|
),
|
|
3171
|
-
|
|
3172
|
-
str(data["
|
|
3173
|
-
if isinstance(data["
|
|
3171
|
+
welcome_title=(
|
|
3172
|
+
str(data["welcome_title"])
|
|
3173
|
+
if isinstance(data["welcome_title"], str)
|
|
3174
3174
|
else None
|
|
3175
3175
|
),
|
|
3176
3176
|
)
|
|
@@ -3180,6 +3180,10 @@ CommonAbstraJsonV14FormsItem = CommonAbstraJsonV14DefinitionsFormStage
|
|
|
3180
3180
|
|
|
3181
3181
|
CommonAbstraJsonV14Forms = typing.List[CommonAbstraJsonV14FormsItem]
|
|
3182
3182
|
|
|
3183
|
+
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3184
|
+
|
|
3185
|
+
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3186
|
+
|
|
3183
3187
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem = (
|
|
3184
3188
|
CommonAbstraJsonV14DefinitionsTransition
|
|
3185
3189
|
)
|
|
@@ -3190,35 +3194,31 @@ CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
|
3190
3194
|
|
|
3191
3195
|
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3192
3196
|
|
|
3193
|
-
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3194
|
-
|
|
3195
3197
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3196
3198
|
|
|
3197
3199
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3198
3200
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3199
3201
|
]
|
|
3200
3202
|
|
|
3201
|
-
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3202
|
-
|
|
3203
3203
|
CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
3204
3204
|
|
|
3205
3205
|
|
|
3206
3206
|
@dataclass
|
|
3207
3207
|
class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
3208
|
+
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3209
|
+
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3208
3210
|
transitions: CommonAbstraJsonV14DefinitionsScriptStageTransitions
|
|
3209
3211
|
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3210
|
-
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3211
3212
|
workflow_position: CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition
|
|
3212
|
-
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
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
|
+
data["title"] = self.title
|
|
3217
3219
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3218
3220
|
data["id"] = self.id
|
|
3219
|
-
data["title"] = self.title
|
|
3220
3221
|
data["workflow_position"] = self.workflow_position
|
|
3221
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
3230
3232
|
transitions=[
|
|
3231
3233
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3232
3234
|
for item in data["transitions"]
|
|
3233
3235
|
],
|
|
3234
3236
|
id=str(data["id"]),
|
|
3235
|
-
title=str(data["title"]),
|
|
3236
3237
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3237
|
-
file=str(data["file"]),
|
|
3238
3238
|
is_initial=bool(data["is_initial"]),
|
|
3239
3239
|
)
|
|
3240
3240
|
|
|
@@ -3478,6 +3478,10 @@ class CommonAbstraJsonV13Home:
|
|
|
3478
3478
|
)
|
|
3479
3479
|
|
|
3480
3480
|
|
|
3481
|
+
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3482
|
+
|
|
3483
|
+
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3484
|
+
|
|
3481
3485
|
CommonAbstraJsonV13DefinitionsTransitionId = str
|
|
3482
3486
|
|
|
3483
3487
|
CommonAbstraJsonV13DefinitionsTransitionTargetId = str
|
|
@@ -3545,35 +3549,31 @@ CommonAbstraJsonV13DefinitionsJobStageTransitions = typing.List[
|
|
|
3545
3549
|
|
|
3546
3550
|
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3547
3551
|
|
|
3548
|
-
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3549
|
-
|
|
3550
3552
|
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
3551
3553
|
|
|
3552
3554
|
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3553
3555
|
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
3554
3556
|
]
|
|
3555
3557
|
|
|
3556
|
-
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3557
|
-
|
|
3558
3558
|
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
3559
3559
|
|
|
3560
3560
|
|
|
3561
3561
|
@dataclass
|
|
3562
3562
|
class CommonAbstraJsonV13DefinitionsJobStage:
|
|
3563
|
+
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3564
|
+
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
3563
3565
|
transitions: CommonAbstraJsonV13DefinitionsJobStageTransitions
|
|
3564
3566
|
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3565
|
-
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
3566
3567
|
workflow_position: CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition
|
|
3567
|
-
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
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
|
+
data["title"] = self.title
|
|
3572
3574
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3573
3575
|
data["id"] = self.id
|
|
3574
|
-
data["title"] = self.title
|
|
3575
3576
|
data["workflow_position"] = self.workflow_position
|
|
3576
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
3585
3587
|
transitions=[
|
|
3586
3588
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3587
3589
|
for item in data["transitions"]
|
|
3588
3590
|
],
|
|
3589
3591
|
id=str(data["id"]),
|
|
3590
|
-
title=str(data["title"]),
|
|
3591
3592
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3592
|
-
file=str(data["file"]),
|
|
3593
3593
|
schedule=str(data["schedule"]),
|
|
3594
3594
|
)
|
|
3595
3595
|
|
|
@@ -3598,6 +3598,10 @@ CommonAbstraJsonV13JobsItem = CommonAbstraJsonV13DefinitionsJobStage
|
|
|
3598
3598
|
|
|
3599
3599
|
CommonAbstraJsonV13Jobs = typing.List[CommonAbstraJsonV13JobsItem]
|
|
3600
3600
|
|
|
3601
|
+
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
3602
|
+
|
|
3603
|
+
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
3604
|
+
|
|
3601
3605
|
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem = (
|
|
3602
3606
|
CommonAbstraJsonV13DefinitionsTransition
|
|
3603
3607
|
)
|
|
@@ -3608,44 +3612,40 @@ CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
|
3608
3612
|
|
|
3609
3613
|
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3610
3614
|
|
|
3611
|
-
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
3612
|
-
|
|
3613
3615
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
3614
3616
|
|
|
3615
3617
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition = typing.List[
|
|
3616
3618
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem
|
|
3617
3619
|
]
|
|
3618
3620
|
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3621
|
+
CommonAbstraJsonV13DefinitionsHookStageEnabled = bool
|
|
3622
3622
|
|
|
3623
3623
|
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
3624
3624
|
|
|
3625
|
-
|
|
3625
|
+
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3626
3626
|
|
|
3627
3627
|
|
|
3628
3628
|
@dataclass
|
|
3629
3629
|
class CommonAbstraJsonV13DefinitionsHookStage:
|
|
3630
|
+
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3631
|
+
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
3630
3632
|
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
3631
3633
|
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3632
|
-
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
3633
3634
|
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
3634
|
-
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3635
|
-
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
3636
|
-
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3637
3635
|
enabled: CommonAbstraJsonV13DefinitionsHookStageEnabled
|
|
3636
|
+
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3637
|
+
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
3638
3638
|
|
|
3639
3639
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3640
3640
|
data = {}
|
|
3641
|
+
data["file"] = self.file
|
|
3642
|
+
data["title"] = self.title
|
|
3641
3643
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3642
3644
|
data["id"] = self.id
|
|
3643
|
-
data["title"] = self.title
|
|
3644
3645
|
data["workflow_position"] = self.workflow_position
|
|
3645
|
-
data["file"] = self.file
|
|
3646
|
-
data["path"] = self.path
|
|
3647
|
-
data["is_initial"] = self.is_initial
|
|
3648
3646
|
data["enabled"] = self.enabled
|
|
3647
|
+
data["is_initial"] = self.is_initial
|
|
3648
|
+
data["path"] = self.path
|
|
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
|
+
title=str(data["title"]),
|
|
3656
3658
|
transitions=[
|
|
3657
3659
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3658
3660
|
for item in data["transitions"]
|
|
3659
3661
|
],
|
|
3660
3662
|
id=str(data["id"]),
|
|
3661
|
-
title=str(data["title"]),
|
|
3662
3663
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3663
|
-
file=str(data["file"]),
|
|
3664
|
-
path=str(data["path"]),
|
|
3665
|
-
is_initial=bool(data["is_initial"]),
|
|
3666
3664
|
enabled=bool(data["enabled"]),
|
|
3665
|
+
is_initial=bool(data["is_initial"]),
|
|
3666
|
+
path=str(data["path"]),
|
|
3667
3667
|
)
|
|
3668
3668
|
|
|
3669
3669
|
|
|
@@ -3671,6 +3671,10 @@ CommonAbstraJsonV13HooksItem = CommonAbstraJsonV13DefinitionsHookStage
|
|
|
3671
3671
|
|
|
3672
3672
|
CommonAbstraJsonV13Hooks = typing.List[CommonAbstraJsonV13HooksItem]
|
|
3673
3673
|
|
|
3674
|
+
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
3675
|
+
|
|
3676
|
+
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
3677
|
+
|
|
3674
3678
|
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem = (
|
|
3675
3679
|
CommonAbstraJsonV13DefinitionsTransition
|
|
3676
3680
|
)
|
|
@@ -3681,15 +3685,22 @@ CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
|
3681
3685
|
|
|
3682
3686
|
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3683
3687
|
|
|
3684
|
-
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
3685
|
-
|
|
3686
3688
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
3687
3689
|
|
|
3688
3690
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition = typing.List[
|
|
3689
3691
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem
|
|
3690
3692
|
]
|
|
3691
3693
|
|
|
3692
|
-
|
|
3694
|
+
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3695
|
+
|
|
3696
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3697
|
+
|
|
3698
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3699
|
+
|
|
3700
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
3701
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString,
|
|
3702
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3703
|
+
]
|
|
3693
3704
|
|
|
3694
3705
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString = str
|
|
3695
3706
|
|
|
@@ -3700,52 +3711,19 @@ CommonAbstraJsonV13DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
3700
3711
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull,
|
|
3701
3712
|
]
|
|
3702
3713
|
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3714
|
+
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3706
3715
|
|
|
3707
|
-
|
|
3708
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
3709
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
3710
|
-
]
|
|
3716
|
+
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
3711
3717
|
|
|
3712
|
-
|
|
3718
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
3713
3719
|
|
|
3714
|
-
|
|
3720
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull = type(None)
|
|
3715
3721
|
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3722
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonText = typing.Union[
|
|
3723
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString,
|
|
3724
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull,
|
|
3719
3725
|
]
|
|
3720
3726
|
|
|
3721
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3722
|
-
|
|
3723
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
@dataclass
|
|
3727
|
-
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3728
|
-
variable_name: (
|
|
3729
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3730
|
-
)
|
|
3731
|
-
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3732
|
-
|
|
3733
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3734
|
-
data = {}
|
|
3735
|
-
data["variable_name"] = self.variable_name
|
|
3736
|
-
data["enabled"] = self.enabled
|
|
3737
|
-
return data
|
|
3738
|
-
|
|
3739
|
-
@classmethod
|
|
3740
|
-
def from_dict(
|
|
3741
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
3742
|
-
) -> "CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger":
|
|
3743
|
-
return cls(
|
|
3744
|
-
variable_name=str(data["variable_name"]),
|
|
3745
|
-
enabled=bool(data["enabled"]),
|
|
3746
|
-
)
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
3727
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic = bool
|
|
3750
3728
|
|
|
3751
3729
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -3776,9 +3754,25 @@ class CommonAbstraJsonV13DefinitionsFormStageAccessControl:
|
|
|
3776
3754
|
)
|
|
3777
3755
|
|
|
3778
3756
|
|
|
3779
|
-
|
|
3757
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString = str
|
|
3780
3758
|
|
|
3781
|
-
|
|
3759
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3760
|
+
|
|
3761
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3762
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString,
|
|
3763
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3764
|
+
]
|
|
3765
|
+
|
|
3766
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
3767
|
+
|
|
3768
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull = type(None)
|
|
3769
|
+
|
|
3770
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
3771
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString,
|
|
3772
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
3773
|
+
]
|
|
3774
|
+
|
|
3775
|
+
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3782
3776
|
|
|
3783
3777
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
3784
3778
|
|
|
@@ -3787,106 +3781,112 @@ CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
|
3787
3781
|
CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
3788
3782
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
3789
3783
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3790
|
-
]
|
|
3791
|
-
|
|
3792
|
-
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3784
|
+
]
|
|
3793
3785
|
|
|
3794
|
-
|
|
3786
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3795
3787
|
|
|
3796
|
-
|
|
3788
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3797
3789
|
|
|
3798
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3799
3790
|
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3791
|
+
@dataclass
|
|
3792
|
+
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3793
|
+
variable_name: (
|
|
3794
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3795
|
+
)
|
|
3796
|
+
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3804
3797
|
|
|
3805
|
-
|
|
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
|
|
3806
3803
|
|
|
3807
|
-
|
|
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
|
+
)
|
|
3808
3812
|
|
|
3809
|
-
CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
3810
|
-
CommonAbstraJsonV13DefinitionsFormStageEndMessageString,
|
|
3811
|
-
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
3812
|
-
]
|
|
3813
3813
|
|
|
3814
|
-
|
|
3814
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
3815
3815
|
|
|
3816
|
-
|
|
3816
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3817
3817
|
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3818
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3819
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
3820
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
3821
3821
|
]
|
|
3822
3822
|
|
|
3823
3823
|
|
|
3824
3824
|
@dataclass
|
|
3825
3825
|
class CommonAbstraJsonV13DefinitionsFormStage:
|
|
3826
|
+
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3827
|
+
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
3826
3828
|
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
3827
3829
|
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3828
|
-
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
3829
3830
|
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
3830
|
-
|
|
3831
|
+
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
3832
|
+
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3831
3833
|
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3834
|
+
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3835
|
+
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3836
|
+
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3835
3837
|
access_control: CommonAbstraJsonV13DefinitionsFormStageAccessControl
|
|
3838
|
+
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
3839
|
+
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3836
3840
|
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3837
|
-
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3838
3841
|
start_message: CommonAbstraJsonV13DefinitionsFormStageStartMessage
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3842
|
-
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3843
|
-
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3842
|
+
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3843
|
+
welcome_title: CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle
|
|
3844
3844
|
|
|
3845
3845
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3846
3846
|
data = {}
|
|
3847
|
+
data["file"] = self.file
|
|
3848
|
+
data["title"] = self.title
|
|
3847
3849
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3848
3850
|
data["id"] = self.id
|
|
3849
|
-
data["title"] = self.title
|
|
3850
3851
|
data["workflow_position"] = self.workflow_position
|
|
3851
|
-
data["
|
|
3852
|
+
data["is_initial"] = self.is_initial
|
|
3853
|
+
data["restart_button_text"] = (
|
|
3854
|
+
self.restart_button_text
|
|
3855
|
+
if isinstance(self.restart_button_text, str)
|
|
3856
|
+
else self.restart_button_text
|
|
3857
|
+
)
|
|
3852
3858
|
data["error_message"] = (
|
|
3853
3859
|
self.error_message
|
|
3854
3860
|
if isinstance(self.error_message, str)
|
|
3855
3861
|
else self.error_message
|
|
3856
3862
|
)
|
|
3857
|
-
data["
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3863
|
+
data["auto_start"] = self.auto_start
|
|
3864
|
+
data["allow_restart"] = self.allow_restart
|
|
3865
|
+
data["start_button_text"] = (
|
|
3866
|
+
self.start_button_text
|
|
3867
|
+
if isinstance(self.start_button_text, str)
|
|
3868
|
+
else self.start_button_text
|
|
3861
3869
|
)
|
|
3870
|
+
data["access_control"] = self.access_control.to_dict()
|
|
3862
3871
|
data["timeout_message"] = (
|
|
3863
3872
|
self.timeout_message
|
|
3864
3873
|
if isinstance(self.timeout_message, str)
|
|
3865
3874
|
else self.timeout_message
|
|
3866
3875
|
)
|
|
3867
|
-
data["
|
|
3868
|
-
|
|
3876
|
+
data["end_message"] = (
|
|
3877
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3878
|
+
)
|
|
3869
3879
|
data["path"] = self.path
|
|
3870
|
-
data["allow_restart"] = self.allow_restart
|
|
3871
3880
|
data["start_message"] = (
|
|
3872
3881
|
self.start_message
|
|
3873
3882
|
if isinstance(self.start_message, str)
|
|
3874
3883
|
else self.start_message
|
|
3875
3884
|
)
|
|
3876
|
-
data["
|
|
3877
|
-
data["
|
|
3878
|
-
|
|
3879
|
-
self.
|
|
3880
|
-
|
|
3881
|
-
else self.restart_button_text
|
|
3882
|
-
)
|
|
3883
|
-
data["end_message"] = (
|
|
3884
|
-
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3885
|
-
)
|
|
3886
|
-
data["start_button_text"] = (
|
|
3887
|
-
self.start_button_text
|
|
3888
|
-
if isinstance(self.start_button_text, str)
|
|
3889
|
-
else self.start_button_text
|
|
3885
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3886
|
+
data["welcome_title"] = (
|
|
3887
|
+
self.welcome_title
|
|
3888
|
+
if isinstance(self.welcome_title, str)
|
|
3889
|
+
else self.welcome_title
|
|
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
|
+
title=str(data["title"]),
|
|
3898
3900
|
transitions=[
|
|
3899
3901
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3900
3902
|
for item in data["transitions"]
|
|
3901
3903
|
],
|
|
3902
3904
|
id=str(data["id"]),
|
|
3903
|
-
title=str(data["title"]),
|
|
3904
3905
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3905
|
-
|
|
3906
|
+
is_initial=bool(data["is_initial"]),
|
|
3907
|
+
restart_button_text=(
|
|
3908
|
+
str(data["restart_button_text"])
|
|
3909
|
+
if isinstance(data["restart_button_text"], str)
|
|
3910
|
+
else None
|
|
3911
|
+
),
|
|
3906
3912
|
error_message=(
|
|
3907
3913
|
str(data["error_message"])
|
|
3908
3914
|
if isinstance(data["error_message"], str)
|
|
3909
3915
|
else None
|
|
3910
3916
|
),
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3917
|
+
auto_start=bool(data["auto_start"]),
|
|
3918
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3919
|
+
start_button_text=(
|
|
3920
|
+
str(data["start_button_text"])
|
|
3921
|
+
if isinstance(data["start_button_text"], str)
|
|
3914
3922
|
else None
|
|
3915
3923
|
),
|
|
3924
|
+
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
3925
|
+
data["access_control"]
|
|
3926
|
+
),
|
|
3916
3927
|
timeout_message=(
|
|
3917
3928
|
str(data["timeout_message"])
|
|
3918
3929
|
if isinstance(data["timeout_message"], str)
|
|
3919
3930
|
else None
|
|
3920
3931
|
),
|
|
3921
|
-
|
|
3922
|
-
data["
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
data["access_control"]
|
|
3932
|
+
end_message=(
|
|
3933
|
+
str(data["end_message"])
|
|
3934
|
+
if isinstance(data["end_message"], str)
|
|
3935
|
+
else None
|
|
3926
3936
|
),
|
|
3927
3937
|
path=str(data["path"]),
|
|
3928
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3929
3938
|
start_message=(
|
|
3930
3939
|
str(data["start_message"])
|
|
3931
3940
|
if isinstance(data["start_message"], str)
|
|
3932
3941
|
else None
|
|
3933
3942
|
),
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
restart_button_text=(
|
|
3937
|
-
str(data["restart_button_text"])
|
|
3938
|
-
if isinstance(data["restart_button_text"], str)
|
|
3939
|
-
else None
|
|
3940
|
-
),
|
|
3941
|
-
end_message=(
|
|
3942
|
-
str(data["end_message"])
|
|
3943
|
-
if isinstance(data["end_message"], str)
|
|
3944
|
-
else None
|
|
3943
|
+
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3944
|
+
data["notification_trigger"]
|
|
3945
3945
|
),
|
|
3946
|
-
|
|
3947
|
-
str(data["
|
|
3948
|
-
if isinstance(data["
|
|
3946
|
+
welcome_title=(
|
|
3947
|
+
str(data["welcome_title"])
|
|
3948
|
+
if isinstance(data["welcome_title"], str)
|
|
3949
3949
|
else None
|
|
3950
3950
|
),
|
|
3951
3951
|
)
|
|
@@ -3955,6 +3955,10 @@ CommonAbstraJsonV13FormsItem = CommonAbstraJsonV13DefinitionsFormStage
|
|
|
3955
3955
|
|
|
3956
3956
|
CommonAbstraJsonV13Forms = typing.List[CommonAbstraJsonV13FormsItem]
|
|
3957
3957
|
|
|
3958
|
+
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3959
|
+
|
|
3960
|
+
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
3961
|
+
|
|
3958
3962
|
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem = (
|
|
3959
3963
|
CommonAbstraJsonV13DefinitionsTransition
|
|
3960
3964
|
)
|
|
@@ -3965,35 +3969,31 @@ CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
|
3965
3969
|
|
|
3966
3970
|
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3967
3971
|
|
|
3968
|
-
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
3969
|
-
|
|
3970
3972
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
3971
3973
|
|
|
3972
3974
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3973
3975
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem
|
|
3974
3976
|
]
|
|
3975
3977
|
|
|
3976
|
-
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3977
|
-
|
|
3978
3978
|
CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
3979
3979
|
|
|
3980
3980
|
|
|
3981
3981
|
@dataclass
|
|
3982
3982
|
class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
3983
|
+
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3984
|
+
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
3983
3985
|
transitions: CommonAbstraJsonV13DefinitionsScriptStageTransitions
|
|
3984
3986
|
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3985
|
-
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
3986
3987
|
workflow_position: CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition
|
|
3987
|
-
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
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
|
+
data["title"] = self.title
|
|
3992
3994
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3993
3995
|
data["id"] = self.id
|
|
3994
|
-
data["title"] = self.title
|
|
3995
3996
|
data["workflow_position"] = self.workflow_position
|
|
3996
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
4005
4007
|
transitions=[
|
|
4006
4008
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4007
4009
|
for item in data["transitions"]
|
|
4008
4010
|
],
|
|
4009
4011
|
id=str(data["id"]),
|
|
4010
|
-
title=str(data["title"]),
|
|
4011
4012
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4012
|
-
file=str(data["file"]),
|
|
4013
4013
|
is_initial=bool(data["is_initial"]),
|
|
4014
4014
|
)
|
|
4015
4015
|
|
|
@@ -4398,6 +4398,10 @@ class CommonAbstraJsonV12Home:
|
|
|
4398
4398
|
)
|
|
4399
4399
|
|
|
4400
4400
|
|
|
4401
|
+
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4402
|
+
|
|
4403
|
+
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4404
|
+
|
|
4401
4405
|
CommonAbstraJsonV12DefinitionsTransitionId = str
|
|
4402
4406
|
|
|
4403
4407
|
CommonAbstraJsonV12DefinitionsTransitionTargetId = str
|
|
@@ -4465,35 +4469,31 @@ CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
|
4465
4469
|
|
|
4466
4470
|
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4467
4471
|
|
|
4468
|
-
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4469
|
-
|
|
4470
4472
|
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
4471
4473
|
|
|
4472
4474
|
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4473
4475
|
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
4474
4476
|
]
|
|
4475
4477
|
|
|
4476
|
-
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4477
|
-
|
|
4478
4478
|
CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
4479
4479
|
|
|
4480
4480
|
|
|
4481
4481
|
@dataclass
|
|
4482
4482
|
class CommonAbstraJsonV12DefinitionsJobStage:
|
|
4483
|
+
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4484
|
+
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
4483
4485
|
transitions: CommonAbstraJsonV12DefinitionsJobStageTransitions
|
|
4484
4486
|
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4485
|
-
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
4486
4487
|
workflow_position: CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition
|
|
4487
|
-
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
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
|
+
data["title"] = self.title
|
|
4492
4494
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4493
4495
|
data["id"] = self.id
|
|
4494
|
-
data["title"] = self.title
|
|
4495
4496
|
data["workflow_position"] = self.workflow_position
|
|
4496
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
4505
4507
|
transitions=[
|
|
4506
4508
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4507
4509
|
for item in data["transitions"]
|
|
4508
4510
|
],
|
|
4509
4511
|
id=str(data["id"]),
|
|
4510
|
-
title=str(data["title"]),
|
|
4511
4512
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4512
|
-
file=str(data["file"]),
|
|
4513
4513
|
schedule=str(data["schedule"]),
|
|
4514
4514
|
)
|
|
4515
4515
|
|
|
@@ -4518,6 +4518,10 @@ CommonAbstraJsonV12JobsItem = CommonAbstraJsonV12DefinitionsJobStage
|
|
|
4518
4518
|
|
|
4519
4519
|
CommonAbstraJsonV12Jobs = typing.List[CommonAbstraJsonV12JobsItem]
|
|
4520
4520
|
|
|
4521
|
+
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
4522
|
+
|
|
4523
|
+
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
4524
|
+
|
|
4521
4525
|
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem = (
|
|
4522
4526
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4523
4527
|
)
|
|
@@ -4528,44 +4532,40 @@ CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
|
4528
4532
|
|
|
4529
4533
|
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4530
4534
|
|
|
4531
|
-
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
4532
|
-
|
|
4533
4535
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
4534
4536
|
|
|
4535
4537
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition = typing.List[
|
|
4536
4538
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem
|
|
4537
4539
|
]
|
|
4538
4540
|
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4541
|
+
CommonAbstraJsonV12DefinitionsHookStageEnabled = bool
|
|
4542
4542
|
|
|
4543
4543
|
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
4544
4544
|
|
|
4545
|
-
|
|
4545
|
+
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4546
4546
|
|
|
4547
4547
|
|
|
4548
4548
|
@dataclass
|
|
4549
4549
|
class CommonAbstraJsonV12DefinitionsHookStage:
|
|
4550
|
+
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4551
|
+
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
4550
4552
|
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
4551
4553
|
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4552
|
-
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
4553
4554
|
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
4554
|
-
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4555
|
-
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
4556
|
-
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4557
4555
|
enabled: CommonAbstraJsonV12DefinitionsHookStageEnabled
|
|
4556
|
+
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4557
|
+
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
4558
4558
|
|
|
4559
4559
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4560
4560
|
data = {}
|
|
4561
|
+
data["file"] = self.file
|
|
4562
|
+
data["title"] = self.title
|
|
4561
4563
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4562
4564
|
data["id"] = self.id
|
|
4563
|
-
data["title"] = self.title
|
|
4564
4565
|
data["workflow_position"] = self.workflow_position
|
|
4565
|
-
data["file"] = self.file
|
|
4566
|
-
data["path"] = self.path
|
|
4567
|
-
data["is_initial"] = self.is_initial
|
|
4568
4566
|
data["enabled"] = self.enabled
|
|
4567
|
+
data["is_initial"] = self.is_initial
|
|
4568
|
+
data["path"] = self.path
|
|
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
|
+
title=str(data["title"]),
|
|
4576
4578
|
transitions=[
|
|
4577
4579
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4578
4580
|
for item in data["transitions"]
|
|
4579
4581
|
],
|
|
4580
4582
|
id=str(data["id"]),
|
|
4581
|
-
title=str(data["title"]),
|
|
4582
4583
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4583
|
-
file=str(data["file"]),
|
|
4584
|
-
path=str(data["path"]),
|
|
4585
|
-
is_initial=bool(data["is_initial"]),
|
|
4586
4584
|
enabled=bool(data["enabled"]),
|
|
4585
|
+
is_initial=bool(data["is_initial"]),
|
|
4586
|
+
path=str(data["path"]),
|
|
4587
4587
|
)
|
|
4588
4588
|
|
|
4589
4589
|
|
|
@@ -4591,6 +4591,10 @@ CommonAbstraJsonV12HooksItem = CommonAbstraJsonV12DefinitionsHookStage
|
|
|
4591
4591
|
|
|
4592
4592
|
CommonAbstraJsonV12Hooks = typing.List[CommonAbstraJsonV12HooksItem]
|
|
4593
4593
|
|
|
4594
|
+
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
4595
|
+
|
|
4596
|
+
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
4597
|
+
|
|
4594
4598
|
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem = (
|
|
4595
4599
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4596
4600
|
)
|
|
@@ -4601,16 +4605,23 @@ CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
|
4601
4605
|
|
|
4602
4606
|
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4603
4607
|
|
|
4604
|
-
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
4605
|
-
|
|
4606
4608
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
4607
4609
|
|
|
4608
4610
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition = typing.List[
|
|
4609
4611
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem
|
|
4610
4612
|
]
|
|
4611
4613
|
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
+
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4615
|
+
|
|
4616
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4617
|
+
|
|
4618
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
4619
|
+
|
|
4620
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
4621
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
4622
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4623
|
+
]
|
|
4624
|
+
|
|
4614
4625
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString = str
|
|
4615
4626
|
|
|
4616
4627
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -4620,52 +4631,19 @@ CommonAbstraJsonV12DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
4620
4631
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull,
|
|
4621
4632
|
]
|
|
4622
4633
|
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4634
|
+
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
4626
4635
|
|
|
4627
|
-
|
|
4628
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
4629
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
4630
|
-
]
|
|
4636
|
+
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
4631
4637
|
|
|
4632
|
-
|
|
4638
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
4633
4639
|
|
|
4634
|
-
|
|
4640
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull = type(None)
|
|
4635
4641
|
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4642
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonText = typing.Union[
|
|
4643
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString,
|
|
4644
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull,
|
|
4639
4645
|
]
|
|
4640
4646
|
|
|
4641
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4642
|
-
|
|
4643
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
@dataclass
|
|
4647
|
-
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4648
|
-
variable_name: (
|
|
4649
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4650
|
-
)
|
|
4651
|
-
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4652
|
-
|
|
4653
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4654
|
-
data = {}
|
|
4655
|
-
data["variable_name"] = self.variable_name
|
|
4656
|
-
data["enabled"] = self.enabled
|
|
4657
|
-
return data
|
|
4658
|
-
|
|
4659
|
-
@classmethod
|
|
4660
|
-
def from_dict(
|
|
4661
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
4662
|
-
) -> "CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger":
|
|
4663
|
-
return cls(
|
|
4664
|
-
variable_name=str(data["variable_name"]),
|
|
4665
|
-
enabled=bool(data["enabled"]),
|
|
4666
|
-
)
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
4647
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic = bool
|
|
4670
4648
|
|
|
4671
4649
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -4696,9 +4674,25 @@ class CommonAbstraJsonV12DefinitionsFormStageAccessControl:
|
|
|
4696
4674
|
)
|
|
4697
4675
|
|
|
4698
4676
|
|
|
4699
|
-
|
|
4677
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString = str
|
|
4700
4678
|
|
|
4701
|
-
|
|
4679
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
4680
|
+
|
|
4681
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
4682
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString,
|
|
4683
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4684
|
+
]
|
|
4685
|
+
|
|
4686
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
4687
|
+
|
|
4688
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull = type(None)
|
|
4689
|
+
|
|
4690
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
4691
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString,
|
|
4692
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
4693
|
+
]
|
|
4694
|
+
|
|
4695
|
+
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4702
4696
|
|
|
4703
4697
|
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
4704
4698
|
|
|
@@ -4709,104 +4703,110 @@ CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
|
4709
4703
|
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4710
4704
|
]
|
|
4711
4705
|
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4706
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4715
4707
|
|
|
4716
|
-
|
|
4708
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4717
4709
|
|
|
4718
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
4719
4710
|
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4711
|
+
@dataclass
|
|
4712
|
+
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4713
|
+
variable_name: (
|
|
4714
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4715
|
+
)
|
|
4716
|
+
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4724
4717
|
|
|
4725
|
-
|
|
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
|
|
4726
4723
|
|
|
4727
|
-
|
|
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
|
+
)
|
|
4728
4732
|
|
|
4729
|
-
CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
4730
|
-
CommonAbstraJsonV12DefinitionsFormStageEndMessageString,
|
|
4731
|
-
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
4732
|
-
]
|
|
4733
4733
|
|
|
4734
|
-
|
|
4734
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
4735
4735
|
|
|
4736
|
-
|
|
4736
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4737
4737
|
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4738
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
4739
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
4740
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
4741
4741
|
]
|
|
4742
4742
|
|
|
4743
4743
|
|
|
4744
4744
|
@dataclass
|
|
4745
4745
|
class CommonAbstraJsonV12DefinitionsFormStage:
|
|
4746
|
+
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4747
|
+
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
4746
4748
|
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
4747
4749
|
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4748
|
-
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
4749
4750
|
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
4750
|
-
|
|
4751
|
+
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
4752
|
+
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4751
4753
|
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4754
|
+
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4755
|
+
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4756
|
+
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4755
4757
|
access_control: CommonAbstraJsonV12DefinitionsFormStageAccessControl
|
|
4758
|
+
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
4759
|
+
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4756
4760
|
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4757
|
-
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4758
4761
|
start_message: CommonAbstraJsonV12DefinitionsFormStageStartMessage
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4762
|
-
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4763
|
-
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4762
|
+
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4763
|
+
welcome_title: CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle
|
|
4764
4764
|
|
|
4765
4765
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4766
4766
|
data = {}
|
|
4767
|
+
data["file"] = self.file
|
|
4768
|
+
data["title"] = self.title
|
|
4767
4769
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4768
4770
|
data["id"] = self.id
|
|
4769
|
-
data["title"] = self.title
|
|
4770
4771
|
data["workflow_position"] = self.workflow_position
|
|
4771
|
-
data["
|
|
4772
|
+
data["is_initial"] = self.is_initial
|
|
4773
|
+
data["restart_button_text"] = (
|
|
4774
|
+
self.restart_button_text
|
|
4775
|
+
if isinstance(self.restart_button_text, str)
|
|
4776
|
+
else self.restart_button_text
|
|
4777
|
+
)
|
|
4772
4778
|
data["error_message"] = (
|
|
4773
4779
|
self.error_message
|
|
4774
4780
|
if isinstance(self.error_message, str)
|
|
4775
4781
|
else self.error_message
|
|
4776
4782
|
)
|
|
4777
|
-
data["
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4783
|
+
data["auto_start"] = self.auto_start
|
|
4784
|
+
data["allow_restart"] = self.allow_restart
|
|
4785
|
+
data["start_button_text"] = (
|
|
4786
|
+
self.start_button_text
|
|
4787
|
+
if isinstance(self.start_button_text, str)
|
|
4788
|
+
else self.start_button_text
|
|
4781
4789
|
)
|
|
4790
|
+
data["access_control"] = self.access_control.to_dict()
|
|
4782
4791
|
data["timeout_message"] = (
|
|
4783
4792
|
self.timeout_message
|
|
4784
4793
|
if isinstance(self.timeout_message, str)
|
|
4785
4794
|
else self.timeout_message
|
|
4786
4795
|
)
|
|
4787
|
-
data["
|
|
4788
|
-
|
|
4796
|
+
data["end_message"] = (
|
|
4797
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4798
|
+
)
|
|
4789
4799
|
data["path"] = self.path
|
|
4790
|
-
data["allow_restart"] = self.allow_restart
|
|
4791
4800
|
data["start_message"] = (
|
|
4792
4801
|
self.start_message
|
|
4793
4802
|
if isinstance(self.start_message, str)
|
|
4794
4803
|
else self.start_message
|
|
4795
4804
|
)
|
|
4796
|
-
data["
|
|
4797
|
-
data["
|
|
4798
|
-
|
|
4799
|
-
self.
|
|
4800
|
-
|
|
4801
|
-
else self.restart_button_text
|
|
4802
|
-
)
|
|
4803
|
-
data["end_message"] = (
|
|
4804
|
-
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4805
|
-
)
|
|
4806
|
-
data["start_button_text"] = (
|
|
4807
|
-
self.start_button_text
|
|
4808
|
-
if isinstance(self.start_button_text, str)
|
|
4809
|
-
else self.start_button_text
|
|
4805
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4806
|
+
data["welcome_title"] = (
|
|
4807
|
+
self.welcome_title
|
|
4808
|
+
if isinstance(self.welcome_title, str)
|
|
4809
|
+
else self.welcome_title
|
|
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
|
+
title=str(data["title"]),
|
|
4818
4820
|
transitions=[
|
|
4819
4821
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4820
4822
|
for item in data["transitions"]
|
|
4821
4823
|
],
|
|
4822
4824
|
id=str(data["id"]),
|
|
4823
|
-
title=str(data["title"]),
|
|
4824
4825
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4825
|
-
|
|
4826
|
+
is_initial=bool(data["is_initial"]),
|
|
4827
|
+
restart_button_text=(
|
|
4828
|
+
str(data["restart_button_text"])
|
|
4829
|
+
if isinstance(data["restart_button_text"], str)
|
|
4830
|
+
else None
|
|
4831
|
+
),
|
|
4826
4832
|
error_message=(
|
|
4827
4833
|
str(data["error_message"])
|
|
4828
4834
|
if isinstance(data["error_message"], str)
|
|
4829
4835
|
else None
|
|
4830
4836
|
),
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4837
|
+
auto_start=bool(data["auto_start"]),
|
|
4838
|
+
allow_restart=bool(data["allow_restart"]),
|
|
4839
|
+
start_button_text=(
|
|
4840
|
+
str(data["start_button_text"])
|
|
4841
|
+
if isinstance(data["start_button_text"], str)
|
|
4834
4842
|
else None
|
|
4835
4843
|
),
|
|
4844
|
+
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
4845
|
+
data["access_control"]
|
|
4846
|
+
),
|
|
4836
4847
|
timeout_message=(
|
|
4837
4848
|
str(data["timeout_message"])
|
|
4838
4849
|
if isinstance(data["timeout_message"], str)
|
|
4839
4850
|
else None
|
|
4840
4851
|
),
|
|
4841
|
-
|
|
4842
|
-
data["
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
data["access_control"]
|
|
4852
|
+
end_message=(
|
|
4853
|
+
str(data["end_message"])
|
|
4854
|
+
if isinstance(data["end_message"], str)
|
|
4855
|
+
else None
|
|
4846
4856
|
),
|
|
4847
4857
|
path=str(data["path"]),
|
|
4848
|
-
allow_restart=bool(data["allow_restart"]),
|
|
4849
4858
|
start_message=(
|
|
4850
4859
|
str(data["start_message"])
|
|
4851
4860
|
if isinstance(data["start_message"], str)
|
|
4852
4861
|
else None
|
|
4853
4862
|
),
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
restart_button_text=(
|
|
4857
|
-
str(data["restart_button_text"])
|
|
4858
|
-
if isinstance(data["restart_button_text"], str)
|
|
4859
|
-
else None
|
|
4860
|
-
),
|
|
4861
|
-
end_message=(
|
|
4862
|
-
str(data["end_message"])
|
|
4863
|
-
if isinstance(data["end_message"], str)
|
|
4864
|
-
else None
|
|
4863
|
+
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4864
|
+
data["notification_trigger"]
|
|
4865
4865
|
),
|
|
4866
|
-
|
|
4867
|
-
str(data["
|
|
4868
|
-
if isinstance(data["
|
|
4866
|
+
welcome_title=(
|
|
4867
|
+
str(data["welcome_title"])
|
|
4868
|
+
if isinstance(data["welcome_title"], str)
|
|
4869
4869
|
else None
|
|
4870
4870
|
),
|
|
4871
4871
|
)
|
|
@@ -4875,6 +4875,10 @@ CommonAbstraJsonV12FormsItem = CommonAbstraJsonV12DefinitionsFormStage
|
|
|
4875
4875
|
|
|
4876
4876
|
CommonAbstraJsonV12Forms = typing.List[CommonAbstraJsonV12FormsItem]
|
|
4877
4877
|
|
|
4878
|
+
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4879
|
+
|
|
4880
|
+
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
4881
|
+
|
|
4878
4882
|
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem = (
|
|
4879
4883
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4880
4884
|
)
|
|
@@ -4885,35 +4889,31 @@ CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
|
4885
4889
|
|
|
4886
4890
|
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4887
4891
|
|
|
4888
|
-
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
4889
|
-
|
|
4890
4892
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
4891
4893
|
|
|
4892
4894
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
4893
4895
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem
|
|
4894
4896
|
]
|
|
4895
4897
|
|
|
4896
|
-
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4897
|
-
|
|
4898
4898
|
CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
4899
4899
|
|
|
4900
4900
|
|
|
4901
4901
|
@dataclass
|
|
4902
4902
|
class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
4903
|
+
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4904
|
+
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
4903
4905
|
transitions: CommonAbstraJsonV12DefinitionsScriptStageTransitions
|
|
4904
4906
|
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4905
|
-
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
4906
4907
|
workflow_position: CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition
|
|
4907
|
-
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
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
|
+
data["title"] = self.title
|
|
4912
4914
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4913
4915
|
data["id"] = self.id
|
|
4914
|
-
data["title"] = self.title
|
|
4915
4916
|
data["workflow_position"] = self.workflow_position
|
|
4916
|
-
data["file"] = self.file
|
|
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
|
+
title=str(data["title"]),
|
|
4925
4927
|
transitions=[
|
|
4926
4928
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4927
4929
|
for item in data["transitions"]
|
|
4928
4930
|
],
|
|
4929
4931
|
id=str(data["id"]),
|
|
4930
|
-
title=str(data["title"]),
|
|
4931
4932
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4932
|
-
file=str(data["file"]),
|
|
4933
4933
|
is_initial=bool(data["is_initial"]),
|
|
4934
4934
|
)
|
|
4935
4935
|
|
|
@@ -7877,6 +7877,8 @@ CloudApiCliModelsNfseResponseCnpjPrestador = str
|
|
|
7877
7877
|
|
|
7878
7878
|
CloudApiCliModelsNfseResponseCnpjTomador = str
|
|
7879
7879
|
|
|
7880
|
+
CloudApiCliModelsNfseResponseCodigoServico = str
|
|
7881
|
+
|
|
7880
7882
|
CloudApiCliModelsNfseResponseDataEmissao = datetime.date
|
|
7881
7883
|
|
|
7882
7884
|
CloudApiCliModelsNfseResponseDescricao = str
|
|
@@ -7928,6 +7930,9 @@ class CloudApiCliModelsNfseResponse:
|
|
|
7928
7930
|
cnpj_tomador: typing.Optional[CloudApiCliModelsNfseResponseCnpjTomador] = field(
|
|
7929
7931
|
default_factory=lambda: None
|
|
7930
7932
|
)
|
|
7933
|
+
codigo_servico: typing.Optional[CloudApiCliModelsNfseResponseCodigoServico] = field(
|
|
7934
|
+
default_factory=lambda: None
|
|
7935
|
+
)
|
|
7931
7936
|
data_emissao: typing.Optional[CloudApiCliModelsNfseResponseDataEmissao] = field(
|
|
7932
7937
|
default_factory=lambda: None
|
|
7933
7938
|
)
|
|
@@ -7988,6 +7993,8 @@ class CloudApiCliModelsNfseResponse:
|
|
|
7988
7993
|
data["cnpj_prestador"] = self.cnpj_prestador
|
|
7989
7994
|
if self.cnpj_tomador is not None:
|
|
7990
7995
|
data["cnpj_tomador"] = self.cnpj_tomador
|
|
7996
|
+
if self.codigo_servico is not None:
|
|
7997
|
+
data["codigo_servico"] = self.codigo_servico
|
|
7991
7998
|
if self.data_emissao is not None:
|
|
7992
7999
|
data["data_emissao"] = self.data_emissao.isoformat()
|
|
7993
8000
|
if self.descricao is not None:
|
|
@@ -8043,6 +8050,9 @@ class CloudApiCliModelsNfseResponse:
|
|
|
8043
8050
|
cnpj_tomador=None
|
|
8044
8051
|
if data.get("cnpj_tomador") is None
|
|
8045
8052
|
else str(data["cnpj_tomador"]),
|
|
8053
|
+
codigo_servico=None
|
|
8054
|
+
if data.get("codigo_servico") is None
|
|
8055
|
+
else str(data["codigo_servico"]),
|
|
8046
8056
|
data_emissao=None
|
|
8047
8057
|
if data.get("data_emissao") is None
|
|
8048
8058
|
else datetime.date.fromisoformat(data["data_emissao"]),
|