abstra 3.23.4__py3-none-any.whl → 3.23.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/METADATA +1 -1
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/RECORD +164 -164
- abstra_internals/contracts_generated.py +660 -652
- abstra_internals/controllers/workflows.py +33 -0
- abstra_internals/entities/forms/widgets/file_upload.py +1 -1
- abstra_internals/server/routes/mcp.py +2 -1
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.ad9e23f0.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.ee29465c.js +2 -0
- abstra_statics/dist/assets/{ApiKeys.e132de0a.js → ApiKeys.958a2342.js} +2 -2
- abstra_statics/dist/assets/App.6c9e1d73.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.46bbdba5.js +2 -0
- abstra_statics/dist/assets/{BaseLayout.d41dae76.js → BaseLayout.d4459d3a.js} +2 -2
- abstra_statics/dist/assets/Billing.920e2b19.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.00a432b7.js → Breadcrumb.2d9d636f.js} +2 -2
- abstra_statics/dist/assets/{Builds.329c2faa.js → Builds.11e86dae.js} +2 -2
- abstra_statics/dist/assets/{Card.d8993609.js → Card.0b4293e1.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.e0819e0b.js → CircularLoading.e2f7dd80.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.196a309a.js +2 -0
- abstra_statics/dist/assets/{ConnectorsView.4c23ea88.js → ConnectorsView.cda5c60f.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.4d7bb007.js +2 -0
- abstra_statics/dist/assets/{ContentLayout.9774740e.js → ContentLayout.69b8ab09.js} +2 -2
- abstra_statics/dist/assets/{CrudView.01e6ed04.js → CrudView.56ebce1a.js} +2 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.4eb7d335.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.b9477432.js → EditorLogin.a10e3a50.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.ec2e0465.js → EditorsView.1925d1b5.js} +2 -2
- abstra_statics/dist/assets/EnvVars.67eed38a.js +2 -0
- abstra_statics/dist/assets/Error.66a8e630.js +2 -0
- abstra_statics/dist/assets/ExclamationCircleOutlined.3ef65f87.js +2 -0
- abstra_statics/dist/assets/{Files.598e1924.js → Files.e978e721.js} +2 -2
- abstra_statics/dist/assets/Form.ba1aeab0.js +2 -0
- abstra_statics/dist/assets/{FormRunner.22c166b3.js → FormRunner.1a6e12cb.js} +2 -2
- abstra_statics/dist/assets/Home.2871cae9.js +2 -0
- abstra_statics/dist/assets/Home.de257b98.js +2 -0
- abstra_statics/dist/assets/{Live.47f1d55b.js → Live.cf58dd01.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.e6a98e2f.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.398021fd.js +2 -0
- abstra_statics/dist/assets/Login.604d7bbd.js +2 -0
- abstra_statics/dist/assets/{Login.d4ed4415.js → Login.605b23e8.js} +2 -2
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.7a0b5cb9.js → Login.vue_vue_type_script_setup_true_lang.a8986f39.js} +2 -2
- abstra_statics/dist/assets/Logo.0fee0801.js +2 -0
- abstra_statics/dist/assets/{Logs.93696d9a.js → Logs.e15923a0.js} +2 -2
- abstra_statics/dist/assets/{LogsController.051e4c97.js → LogsController.35cad159.js} +2 -2
- abstra_statics/dist/assets/Main.17024018.js +2 -0
- abstra_statics/dist/assets/{MockForm.60f0a0c9.js → MockForm.603b1cbb.js} +2 -2
- abstra_statics/dist/assets/Navbar.d4751f52.js +2 -0
- abstra_statics/dist/assets/{NewEditor.a3f0cf6f.js → NewEditor.bd4c258c.js} +2 -2
- abstra_statics/dist/assets/OidcLoginCallback.14f293b0.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.cb05eca4.js +2 -0
- abstra_statics/dist/assets/{OmniChat.65218812.js → OmniChat.6d6fed9c.js} +2 -2
- abstra_statics/dist/assets/{OnboardingView.7b28e3d9.js → OnboardingView.546afa14.js} +2 -2
- abstra_statics/dist/assets/{Organization.4d764c53.js → Organization.a7309bfd.js} +2 -2
- abstra_statics/dist/assets/Organizations.91c269e6.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.731eb94b.js → PhArrowCounterClockwise.vue.2706c012.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.da6ece6b.js → PhArrowSquareOut.vue.06e1e087.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.129658c0.js → PhBookBookmark.vue.b9569168.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.3eae87f1.js → PhChats.vue.bb8ced1d.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.83a88fd2.js → PhClockCounterClockwise.vue.4252e6be.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.889171d4.js → PhCopy.vue.59c3a353.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.fa1be768.js → PhCopySimple.vue.1c5a0760.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.c868f288.js → PhCube.vue.7728ef5a.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.82ed05fc.js → PhDotsThreeVertical.vue.275748da.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.32b4f321.js → PhDownloadSimple.vue.ed1fb44c.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.9b394b08.js → PhFolderPlus.vue.aa7bc872.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.bd7172cf.js → PhGear.vue.ab14d56a.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.e1681937.js → PhKey.vue.c0768b68.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.6abcb050.js → PhPencil.vue.aaf907d1.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.9dc4c516.js → PhPencilSimple.vue.2580bcf9.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimpleLine.vue.516b8dd0.js → PhPencilSimpleLine.vue.2c2058ce.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.6310b8e2.js → PhRocket.vue.67935a85.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.33352908.js → PhSignOut.vue.87084f39.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.aaea2035.js → PhSparkle.vue.707b3721.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.66442c99.js → PhUserList.vue.907c1a2b.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.dd3dd5e5.js → PhUsersThree.vue.2c3539c7.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.3159b8c2.js → PhWebhooksLogo.vue.1134426a.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.608f994d.js → PlayerConfigProvider.bee6a260.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.db2b0cc0.js → PlayerNavbar.b15bb1f3.js} +2 -2
- abstra_statics/dist/assets/{Project.b5f0a540.js → Project.c5ac4ebe.js} +2 -2
- abstra_statics/dist/assets/ProjectLogin.2905a0d6.js +2 -0
- abstra_statics/dist/assets/{ProjectSettings.c69dc60b.js → ProjectSettings.e40cc19c.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.7ea6a476.js → ProjectsView.3df99f87.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.45360af6.js → SaveButton.5a81e6f5.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.5b02858f.js → Sidebar.f23acdbf.js} +2 -2
- abstra_statics/dist/assets/{Sql.f80e393a.js → Sql.ea1ee70d.js} +3 -3
- abstra_statics/dist/assets/Steps.ad9ac163.js +2 -0
- abstra_statics/dist/assets/{TableEditor.9f5307b3.js → TableEditor.3150beb1.js} +2 -2
- abstra_statics/dist/assets/Tables.ad8c6f7a.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.174bf25c.js → TablesDiagram.5d3625d1.js} +2 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.58bcff9a.js +2 -0
- abstra_statics/dist/assets/{Tasks.6bf6e3ab.js → Tasks.d5e7bdf2.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.17748ead.js → UploadOutlined.5f3b92b7.js} +2 -2
- abstra_statics/dist/assets/{View.fc004ade.js → View.63e7c09c.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.b156d2b4.js → View.vue_vue_type_script_setup_true_lang.a36086e8.js} +2 -2
- abstra_statics/dist/assets/{Watermark.3f4c77a5.js → Watermark.a7a7af90.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.1b4c1d6e.js → WebEditor.37194274.js} +2 -2
- abstra_statics/dist/assets/WidgetPreview.5d662c77.js +2 -0
- abstra_statics/dist/assets/ant-design.9bb31d85.js +2 -0
- abstra_statics/dist/assets/{apiKey.2481730b.js → apiKey.4f2a122c.js} +2 -2
- abstra_statics/dist/assets/asyncComputed.06839806.js +2 -0
- abstra_statics/dist/assets/{build.5e49b52b.js → build.995e6997.js} +2 -2
- abstra_statics/dist/assets/{colorHelpers.a41e45a3.js → colorHelpers.eb706cff.js} +2 -2
- abstra_statics/dist/assets/{console.d4555e1e.js → console.a07258d6.js} +2 -2
- abstra_statics/dist/assets/constants.d30e64e7.js +2 -0
- abstra_statics/dist/assets/{cssMode.94fba5f4.js → cssMode.5c9f19b3.js} +2 -2
- abstra_statics/dist/assets/datetime.49213c3c.js +2 -0
- abstra_statics/dist/assets/dayjs.9d20dd08.js +2 -0
- abstra_statics/dist/assets/{editor.68f10cac.js → editor.a151d549.js} +2 -2
- abstra_statics/dist/assets/editor.main.f809eb34.js +2 -0
- abstra_statics/dist/assets/fetch.ce34efab.js +2 -0
- abstra_statics/dist/assets/{files.2d03f0a6.js → files.5dcc78be.js} +2 -2
- abstra_statics/dist/assets/{folder.c0b92096.js → folder.777c3209.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.a8ae0e5a.js → freemarker2.385a198f.js} +2 -2
- abstra_statics/dist/assets/{handlebars.3529fc9d.js → handlebars.806a8b22.js} +2 -2
- abstra_statics/dist/assets/{html.193c548a.js → html.8df330b0.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.5669aea7.js → htmlMode.08713341.js} +2 -2
- abstra_statics/dist/assets/{index.2f9d5f42.js → index.11470ce1.js} +5 -5
- abstra_statics/dist/assets/index.15909af6.js +2 -0
- abstra_statics/dist/assets/{index.341d2d78.js → index.227be58a.js} +2 -2
- abstra_statics/dist/assets/{index.17c9890b.js → index.440bd76c.js} +2 -2
- abstra_statics/dist/assets/{index.17c59820.js → index.49f6d313.js} +2 -2
- abstra_statics/dist/assets/index.6f004291.js +2 -0
- abstra_statics/dist/assets/{index.fd173cc0.js → index.ad15e486.js} +2 -2
- abstra_statics/dist/assets/{index.ee7c5f13.js → index.cf5ef754.js} +2 -2
- abstra_statics/dist/assets/{index.84a81069.js → index.f219d050.js} +2 -2
- abstra_statics/dist/assets/{index.590aa576.js → index.fdbbf978.js} +3 -3
- abstra_statics/dist/assets/{javascript.ff046b2c.js → javascript.7e683eb3.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.c051f145.js → jsonMode.c71ca5e7.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.f18c394f.js → jwt-decode.esm.bcf2db26.js} +7 -7
- abstra_statics/dist/assets/linters.1f3c2bdc.js +2 -0
- abstra_statics/dist/assets/{liquid.98fcb8a3.js → liquid.c89ab4d8.js} +3 -3
- abstra_statics/dist/assets/member.39a2b810.js +2 -0
- abstra_statics/dist/assets/{metadata.218ef86b.js → metadata.77edb2ef.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.405dd08d.js → omniChatStore.13045a23.js} +2 -2
- abstra_statics/dist/assets/{organization.c20116a5.js → organization.017d0932.js} +2 -2
- abstra_statics/dist/assets/player.490b5a36.js +2 -0
- abstra_statics/dist/assets/{plotly.min.b26aecc2.js → plotly.min.ebdb6341.js} +2 -2
- abstra_statics/dist/assets/polling.b53cbe3d.js +2 -0
- abstra_statics/dist/assets/{project.d26f784f.js → project.6106c0ae.js} +2 -2
- abstra_statics/dist/assets/{python.6f801519.js → python.fe5f6c61.js} +3 -3
- abstra_statics/dist/assets/{razor.80957baf.js → razor.63a60978.js} +2 -2
- abstra_statics/dist/assets/{record.f0e74f25.js → record.6b6d4da9.js} +2 -2
- abstra_statics/dist/assets/redirect.b8ba406b.js +2 -0
- abstra_statics/dist/assets/{repository.75210ebd.js → repository.54d4a909.js} +2 -2
- abstra_statics/dist/assets/{repository.d2158c5f.js → repository.f2f5d880.js} +2 -2
- abstra_statics/dist/assets/{router.9924fce0.js → router.e5052323.js} +3 -3
- abstra_statics/dist/assets/string.2f1abff3.js +2 -0
- abstra_statics/dist/assets/{tables.4cd227ff.js → tables.ecf1f359.js} +2 -2
- abstra_statics/dist/assets/{tasksController.f0830c77.js → tasksController.64f43cce.js} +2 -2
- abstra_statics/dist/assets/{toggleHighContrast.d8b2c912.js → toggleHighContrast.a33c9afc.js} +7 -7
- abstra_statics/dist/assets/{tsMode.7de6acfd.js → tsMode.bbb62deb.js} +2 -2
- abstra_statics/dist/assets/{typescript.78bce6b9.js → typescript.f3be1a16.js} +3 -3
- abstra_statics/dist/assets/url.79c72bde.js +2 -0
- abstra_statics/dist/assets/userStore.5dca7ff0.js +2 -0
- abstra_statics/dist/assets/uuid.3f5b8acd.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.57038ee0.js → vue-flow-background.939eca5f.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.130627ea.js → vue-quill.esm-bundler.c86df351.js} +2 -2
- abstra_statics/dist/assets/workspaceStore.7283625b.js +2 -0
- abstra_statics/dist/assets/{xml.46fa5b06.js → xml.96392483.js} +3 -3
- abstra_statics/dist/assets/{yaml.775c20d7.js → yaml.96b91a1d.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +11 -11
- abstra_statics/dist/player.html +9 -9
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.86a761e5.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.d02ffa6d.js +0 -2
- abstra_statics/dist/assets/App.9aa34c4e.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.9dc1f7e7.js +0 -2
- abstra_statics/dist/assets/Billing.04224d7b.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.ae1e7621.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.f2c53fd6.js +0 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.3efd2188.js +0 -2
- abstra_statics/dist/assets/EnvVars.72e8a906.js +0 -2
- abstra_statics/dist/assets/Error.75789fcd.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.443f1727.js +0 -2
- abstra_statics/dist/assets/Form.dcd328f9.js +0 -2
- abstra_statics/dist/assets/Home.29af870e.js +0 -2
- abstra_statics/dist/assets/Home.5a193adf.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.4d7a6e83.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.688afd1b.js +0 -2
- abstra_statics/dist/assets/Login.543da72d.js +0 -2
- abstra_statics/dist/assets/Logo.a483cebb.js +0 -2
- abstra_statics/dist/assets/Main.e6271958.js +0 -2
- abstra_statics/dist/assets/Navbar.6beb23a2.js +0 -2
- abstra_statics/dist/assets/OidcLoginCallback.5d621b1e.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.726fd77b.js +0 -2
- abstra_statics/dist/assets/Organizations.99154f7f.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.ca80209f.js +0 -2
- abstra_statics/dist/assets/Steps.2a44bd5a.js +0 -2
- abstra_statics/dist/assets/Tables.c8410571.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.d32d5407.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.b3a57be6.js +0 -2
- abstra_statics/dist/assets/ant-design.4dde64bb.js +0 -2
- abstra_statics/dist/assets/asyncComputed.24fa122c.js +0 -2
- abstra_statics/dist/assets/constants.4f491067.js +0 -2
- abstra_statics/dist/assets/datetime.215ab936.js +0 -2
- abstra_statics/dist/assets/dayjs.cad6407e.js +0 -2
- abstra_statics/dist/assets/editor.main.d5278805.js +0 -2
- abstra_statics/dist/assets/fetch.b229b6c0.js +0 -2
- abstra_statics/dist/assets/index.9d0d77b2.js +0 -2
- abstra_statics/dist/assets/index.c3ea2813.js +0 -2
- abstra_statics/dist/assets/linters.e4e7bac9.js +0 -2
- abstra_statics/dist/assets/member.d0ead44d.js +0 -2
- abstra_statics/dist/assets/player.30fb0733.js +0 -2
- abstra_statics/dist/assets/polling.775bd07d.js +0 -2
- abstra_statics/dist/assets/redirect.47662fd9.js +0 -2
- abstra_statics/dist/assets/string.c4805024.js +0 -2
- abstra_statics/dist/assets/url.f54a173c.js +0 -2
- abstra_statics/dist/assets/userStore.1345e655.js +0 -2
- abstra_statics/dist/assets/uuid.2e8600ec.js +0 -2
- abstra_statics/dist/assets/workspaceStore.29138ee5.js +0 -2
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/WHEEL +0 -0
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/top_level.txt +0 -0
|
@@ -299,6 +299,7 @@ CommonProjectDeploymentResourcesWorkerType = typing.Union[
|
|
|
299
299
|
typing.Literal["onfly"],
|
|
300
300
|
typing.Literal["shared"],
|
|
301
301
|
typing.Literal["test"],
|
|
302
|
+
typing.Literal["abstra-projects"],
|
|
302
303
|
]
|
|
303
304
|
|
|
304
305
|
CommonProjectDeploymentResourcesWorkerTypeValues: typing.List[
|
|
@@ -315,6 +316,7 @@ CommonProjectDeploymentResourcesWorkerTypeValues: typing.List[
|
|
|
315
316
|
"onfly",
|
|
316
317
|
"shared",
|
|
317
318
|
"test",
|
|
319
|
+
"abstra-projects",
|
|
318
320
|
]
|
|
319
321
|
|
|
320
322
|
CommonProjectDeploymentResourcesPythonVersion = typing.Union[
|
|
@@ -1474,6 +1476,7 @@ CommonOrganizationDeploymentResourcesWorkerType = typing.Union[
|
|
|
1474
1476
|
typing.Literal["onfly"],
|
|
1475
1477
|
typing.Literal["shared"],
|
|
1476
1478
|
typing.Literal["test"],
|
|
1479
|
+
typing.Literal["abstra-projects"],
|
|
1477
1480
|
]
|
|
1478
1481
|
|
|
1479
1482
|
CommonOrganizationDeploymentResourcesWorkerTypeValues: typing.List[
|
|
@@ -1490,6 +1493,7 @@ CommonOrganizationDeploymentResourcesWorkerTypeValues: typing.List[
|
|
|
1490
1493
|
"onfly",
|
|
1491
1494
|
"shared",
|
|
1492
1495
|
"test",
|
|
1496
|
+
"abstra-projects",
|
|
1493
1497
|
]
|
|
1494
1498
|
|
|
1495
1499
|
CommonOrganizationDeploymentResourcesPythonVersion = typing.Union[
|
|
@@ -1926,9 +1930,9 @@ class CommonAbstraJsonV15Home:
|
|
|
1926
1930
|
)
|
|
1927
1931
|
|
|
1928
1932
|
|
|
1929
|
-
|
|
1933
|
+
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
1930
1934
|
|
|
1931
|
-
|
|
1935
|
+
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
1932
1936
|
|
|
1933
1937
|
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
1934
1938
|
|
|
@@ -1936,8 +1940,6 @@ CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
|
1936
1940
|
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
1937
1941
|
]
|
|
1938
1942
|
|
|
1939
|
-
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
1940
|
-
|
|
1941
1943
|
CommonAbstraJsonV15DefinitionsTransitionId = str
|
|
1942
1944
|
|
|
1943
1945
|
CommonAbstraJsonV15DefinitionsTransitionTargetId = str
|
|
@@ -2003,25 +2005,27 @@ CommonAbstraJsonV15DefinitionsJobStageTransitions = typing.List[
|
|
|
2003
2005
|
CommonAbstraJsonV15DefinitionsJobStageTransitionsItem
|
|
2004
2006
|
]
|
|
2005
2007
|
|
|
2008
|
+
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
2009
|
+
|
|
2006
2010
|
CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
2007
2011
|
|
|
2008
2012
|
|
|
2009
2013
|
@dataclass
|
|
2010
2014
|
class CommonAbstraJsonV15DefinitionsJobStage:
|
|
2015
|
+
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2011
2016
|
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2012
|
-
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2013
2017
|
workflow_position: CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition
|
|
2014
|
-
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2015
2018
|
transitions: CommonAbstraJsonV15DefinitionsJobStageTransitions
|
|
2019
|
+
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2016
2020
|
schedule: CommonAbstraJsonV15DefinitionsJobStageSchedule
|
|
2017
2021
|
|
|
2018
2022
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2019
2023
|
data = {}
|
|
2024
|
+
data["file"] = self.file
|
|
2020
2025
|
data["title"] = self.title
|
|
2021
|
-
data["id"] = self.id
|
|
2022
2026
|
data["workflow_position"] = self.workflow_position
|
|
2023
|
-
data["file"] = self.file
|
|
2024
2027
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2028
|
+
data["id"] = self.id
|
|
2025
2029
|
data["schedule"] = self.schedule
|
|
2026
2030
|
return data
|
|
2027
2031
|
|
|
@@ -2030,14 +2034,14 @@ class CommonAbstraJsonV15DefinitionsJobStage:
|
|
|
2030
2034
|
cls, data: typing.Dict[str, typing.Any]
|
|
2031
2035
|
) -> "CommonAbstraJsonV15DefinitionsJobStage":
|
|
2032
2036
|
return cls(
|
|
2037
|
+
file=str(data["file"]),
|
|
2033
2038
|
title=str(data["title"]),
|
|
2034
|
-
id=str(data["id"]),
|
|
2035
2039
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2036
|
-
file=str(data["file"]),
|
|
2037
2040
|
transitions=[
|
|
2038
2041
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2039
2042
|
for item in data["transitions"]
|
|
2040
2043
|
],
|
|
2044
|
+
id=str(data["id"]),
|
|
2041
2045
|
schedule=str(data["schedule"]),
|
|
2042
2046
|
)
|
|
2043
2047
|
|
|
@@ -2046,9 +2050,9 @@ CommonAbstraJsonV15JobsItem = CommonAbstraJsonV15DefinitionsJobStage
|
|
|
2046
2050
|
|
|
2047
2051
|
CommonAbstraJsonV15Jobs = typing.List[CommonAbstraJsonV15JobsItem]
|
|
2048
2052
|
|
|
2049
|
-
|
|
2053
|
+
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2050
2054
|
|
|
2051
|
-
|
|
2055
|
+
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2052
2056
|
|
|
2053
2057
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
2054
2058
|
|
|
@@ -2056,8 +2060,6 @@ CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
2056
2060
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem
|
|
2057
2061
|
]
|
|
2058
2062
|
|
|
2059
|
-
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2060
|
-
|
|
2061
2063
|
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem = (
|
|
2062
2064
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2063
2065
|
)
|
|
@@ -2066,34 +2068,36 @@ CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
|
2066
2068
|
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2067
2069
|
]
|
|
2068
2070
|
|
|
2069
|
-
|
|
2071
|
+
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2072
|
+
|
|
2073
|
+
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2070
2074
|
|
|
2071
2075
|
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2072
2076
|
|
|
2073
|
-
|
|
2077
|
+
CommonAbstraJsonV15DefinitionsHookStageEnabled = bool
|
|
2074
2078
|
|
|
2075
2079
|
|
|
2076
2080
|
@dataclass
|
|
2077
2081
|
class CommonAbstraJsonV15DefinitionsHookStage:
|
|
2082
|
+
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2078
2083
|
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2079
|
-
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2080
2084
|
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2081
|
-
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2082
2085
|
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2083
|
-
|
|
2084
|
-
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2086
|
+
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2085
2087
|
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2088
|
+
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2089
|
+
enabled: CommonAbstraJsonV15DefinitionsHookStageEnabled
|
|
2086
2090
|
|
|
2087
2091
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2088
2092
|
data = {}
|
|
2093
|
+
data["file"] = self.file
|
|
2089
2094
|
data["title"] = self.title
|
|
2090
|
-
data["id"] = self.id
|
|
2091
2095
|
data["workflow_position"] = self.workflow_position
|
|
2092
|
-
data["file"] = self.file
|
|
2093
2096
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2094
|
-
data["
|
|
2095
|
-
data["is_initial"] = self.is_initial
|
|
2097
|
+
data["id"] = self.id
|
|
2096
2098
|
data["path"] = self.path
|
|
2099
|
+
data["is_initial"] = self.is_initial
|
|
2100
|
+
data["enabled"] = self.enabled
|
|
2097
2101
|
return data
|
|
2098
2102
|
|
|
2099
2103
|
@classmethod
|
|
@@ -2101,17 +2105,17 @@ class CommonAbstraJsonV15DefinitionsHookStage:
|
|
|
2101
2105
|
cls, data: typing.Dict[str, typing.Any]
|
|
2102
2106
|
) -> "CommonAbstraJsonV15DefinitionsHookStage":
|
|
2103
2107
|
return cls(
|
|
2108
|
+
file=str(data["file"]),
|
|
2104
2109
|
title=str(data["title"]),
|
|
2105
|
-
id=str(data["id"]),
|
|
2106
2110
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2107
|
-
file=str(data["file"]),
|
|
2108
2111
|
transitions=[
|
|
2109
2112
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2110
2113
|
for item in data["transitions"]
|
|
2111
2114
|
],
|
|
2112
|
-
|
|
2113
|
-
is_initial=bool(data["is_initial"]),
|
|
2115
|
+
id=str(data["id"]),
|
|
2114
2116
|
path=str(data["path"]),
|
|
2117
|
+
is_initial=bool(data["is_initial"]),
|
|
2118
|
+
enabled=bool(data["enabled"]),
|
|
2115
2119
|
)
|
|
2116
2120
|
|
|
2117
2121
|
|
|
@@ -2119,9 +2123,9 @@ CommonAbstraJsonV15HooksItem = CommonAbstraJsonV15DefinitionsHookStage
|
|
|
2119
2123
|
|
|
2120
2124
|
CommonAbstraJsonV15Hooks = typing.List[CommonAbstraJsonV15HooksItem]
|
|
2121
2125
|
|
|
2122
|
-
|
|
2126
|
+
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2123
2127
|
|
|
2124
|
-
|
|
2128
|
+
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2125
2129
|
|
|
2126
2130
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
2127
2131
|
|
|
@@ -2129,8 +2133,6 @@ CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
2129
2133
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem
|
|
2130
2134
|
]
|
|
2131
2135
|
|
|
2132
|
-
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2133
|
-
|
|
2134
2136
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem = (
|
|
2135
2137
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2136
2138
|
)
|
|
@@ -2139,13 +2141,26 @@ CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
|
2139
2141
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem
|
|
2140
2142
|
]
|
|
2141
2143
|
|
|
2142
|
-
|
|
2144
|
+
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2143
2145
|
|
|
2144
|
-
|
|
2146
|
+
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2145
2147
|
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2148
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2149
|
+
|
|
2150
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull = type(None)
|
|
2151
|
+
|
|
2152
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessage = typing.Union[
|
|
2153
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageString,
|
|
2154
|
+
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull,
|
|
2155
|
+
]
|
|
2156
|
+
|
|
2157
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2158
|
+
|
|
2159
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2160
|
+
|
|
2161
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2162
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2163
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2149
2164
|
]
|
|
2150
2165
|
|
|
2151
2166
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
@@ -2157,17 +2172,6 @@ CommonAbstraJsonV15DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
2157
2172
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull,
|
|
2158
2173
|
]
|
|
2159
2174
|
|
|
2160
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2161
|
-
|
|
2162
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2163
|
-
|
|
2164
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2165
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString,
|
|
2166
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2167
|
-
]
|
|
2168
|
-
|
|
2169
|
-
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2170
|
-
|
|
2171
2175
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageString = str
|
|
2172
2176
|
|
|
2173
2177
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -2177,165 +2181,165 @@ CommonAbstraJsonV15DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
2177
2181
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull,
|
|
2178
2182
|
]
|
|
2179
2183
|
|
|
2180
|
-
|
|
2184
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString = str
|
|
2181
2185
|
|
|
2182
|
-
|
|
2186
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2183
2187
|
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2188
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
2189
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString,
|
|
2190
|
+
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull,
|
|
2187
2191
|
]
|
|
2188
2192
|
|
|
2189
|
-
|
|
2193
|
+
CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic = bool
|
|
2190
2194
|
|
|
2191
|
-
|
|
2195
|
+
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
2192
2196
|
|
|
2193
|
-
|
|
2197
|
+
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRoles = typing.List[
|
|
2198
|
+
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRolesItem
|
|
2199
|
+
]
|
|
2194
2200
|
|
|
2195
2201
|
|
|
2196
2202
|
@dataclass
|
|
2197
|
-
class
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
)
|
|
2201
|
-
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2203
|
+
class CommonAbstraJsonV15DefinitionsFormStageAccessControl:
|
|
2204
|
+
is_public: CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic
|
|
2205
|
+
required_roles: CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRoles
|
|
2202
2206
|
|
|
2203
2207
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2204
2208
|
data = {}
|
|
2205
|
-
data["
|
|
2206
|
-
data["
|
|
2209
|
+
data["is_public"] = self.is_public
|
|
2210
|
+
data["required_roles"] = self.required_roles
|
|
2207
2211
|
return data
|
|
2208
2212
|
|
|
2209
2213
|
@classmethod
|
|
2210
2214
|
def from_dict(
|
|
2211
2215
|
cls, data: typing.Dict[str, typing.Any]
|
|
2212
|
-
) -> "
|
|
2216
|
+
) -> "CommonAbstraJsonV15DefinitionsFormStageAccessControl":
|
|
2213
2217
|
return cls(
|
|
2214
|
-
|
|
2215
|
-
|
|
2218
|
+
is_public=bool(data["is_public"]),
|
|
2219
|
+
required_roles=[str(item) for item in data["required_roles"]],
|
|
2216
2220
|
)
|
|
2217
2221
|
|
|
2218
2222
|
|
|
2219
|
-
|
|
2223
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
2220
2224
|
|
|
2221
|
-
|
|
2225
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
2222
2226
|
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2227
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
2228
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageString,
|
|
2229
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2226
2230
|
]
|
|
2227
2231
|
|
|
2228
|
-
|
|
2232
|
+
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
2229
2233
|
|
|
2230
|
-
|
|
2234
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2231
2235
|
|
|
2232
|
-
|
|
2233
|
-
|
|
2236
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2237
|
+
|
|
2238
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2239
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString,
|
|
2240
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2234
2241
|
]
|
|
2235
2242
|
|
|
2243
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2244
|
+
|
|
2245
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2246
|
+
|
|
2236
2247
|
|
|
2237
2248
|
@dataclass
|
|
2238
|
-
class
|
|
2239
|
-
|
|
2240
|
-
|
|
2249
|
+
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2250
|
+
variable_name: (
|
|
2251
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2252
|
+
)
|
|
2253
|
+
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2241
2254
|
|
|
2242
2255
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2243
2256
|
data = {}
|
|
2244
|
-
data["
|
|
2245
|
-
data["
|
|
2257
|
+
data["variable_name"] = self.variable_name
|
|
2258
|
+
data["enabled"] = self.enabled
|
|
2246
2259
|
return data
|
|
2247
2260
|
|
|
2248
2261
|
@classmethod
|
|
2249
2262
|
def from_dict(
|
|
2250
2263
|
cls, data: typing.Dict[str, typing.Any]
|
|
2251
|
-
) -> "
|
|
2264
|
+
) -> "CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger":
|
|
2252
2265
|
return cls(
|
|
2253
|
-
|
|
2254
|
-
|
|
2266
|
+
variable_name=str(data["variable_name"]),
|
|
2267
|
+
enabled=bool(data["enabled"]),
|
|
2255
2268
|
)
|
|
2256
2269
|
|
|
2257
2270
|
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
2261
|
-
|
|
2262
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
2263
|
-
|
|
2264
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
2271
|
+
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2265
2272
|
|
|
2266
|
-
|
|
2267
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageString,
|
|
2268
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2269
|
-
]
|
|
2273
|
+
CommonAbstraJsonV15DefinitionsFormStageAllowRestart = bool
|
|
2270
2274
|
|
|
2271
2275
|
|
|
2272
2276
|
@dataclass
|
|
2273
2277
|
class CommonAbstraJsonV15DefinitionsFormStage:
|
|
2278
|
+
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2274
2279
|
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
2275
|
-
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2276
2280
|
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
2277
|
-
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2278
2281
|
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
2279
|
-
|
|
2280
|
-
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2281
|
-
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2282
|
-
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2283
|
-
error_message: CommonAbstraJsonV15DefinitionsFormStageErrorMessage
|
|
2284
|
-
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2282
|
+
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2285
2283
|
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
2286
|
-
|
|
2284
|
+
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2287
2285
|
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
2286
|
+
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2287
|
+
error_message: CommonAbstraJsonV15DefinitionsFormStageErrorMessage
|
|
2288
|
+
welcome_title: CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle
|
|
2288
2289
|
access_control: CommonAbstraJsonV15DefinitionsFormStageAccessControl
|
|
2289
|
-
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2290
|
-
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2291
2290
|
start_message: CommonAbstraJsonV15DefinitionsFormStageStartMessage
|
|
2291
|
+
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2292
|
+
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2293
|
+
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2294
|
+
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2295
|
+
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2292
2296
|
|
|
2293
2297
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2294
2298
|
data = {}
|
|
2299
|
+
data["file"] = self.file
|
|
2295
2300
|
data["title"] = self.title
|
|
2296
|
-
data["id"] = self.id
|
|
2297
2301
|
data["workflow_position"] = self.workflow_position
|
|
2298
|
-
data["file"] = self.file
|
|
2299
2302
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2300
|
-
data["
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
else self.
|
|
2303
|
+
data["id"] = self.id
|
|
2304
|
+
data["is_initial"] = self.is_initial
|
|
2305
|
+
data["end_message"] = (
|
|
2306
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2307
|
+
)
|
|
2308
|
+
data["timeout_message"] = (
|
|
2309
|
+
self.timeout_message
|
|
2310
|
+
if isinstance(self.timeout_message, str)
|
|
2311
|
+
else self.timeout_message
|
|
2304
2312
|
)
|
|
2305
2313
|
data["start_button_text"] = (
|
|
2306
2314
|
self.start_button_text
|
|
2307
2315
|
if isinstance(self.start_button_text, str)
|
|
2308
2316
|
else self.start_button_text
|
|
2309
2317
|
)
|
|
2310
|
-
data["restart_button_text"] = (
|
|
2311
|
-
self.restart_button_text
|
|
2312
|
-
if isinstance(self.restart_button_text, str)
|
|
2313
|
-
else self.restart_button_text
|
|
2314
|
-
)
|
|
2315
|
-
data["path"] = self.path
|
|
2316
2318
|
data["error_message"] = (
|
|
2317
2319
|
self.error_message
|
|
2318
2320
|
if isinstance(self.error_message, str)
|
|
2319
2321
|
else self.error_message
|
|
2320
2322
|
)
|
|
2321
|
-
data["
|
|
2322
|
-
self.
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2326
|
-
data["timeout_message"] = (
|
|
2327
|
-
self.timeout_message
|
|
2328
|
-
if isinstance(self.timeout_message, str)
|
|
2329
|
-
else self.timeout_message
|
|
2323
|
+
data["welcome_title"] = (
|
|
2324
|
+
self.welcome_title
|
|
2325
|
+
if isinstance(self.welcome_title, str)
|
|
2326
|
+
else self.welcome_title
|
|
2330
2327
|
)
|
|
2331
2328
|
data["access_control"] = self.access_control.to_dict()
|
|
2332
|
-
data["allow_restart"] = self.allow_restart
|
|
2333
|
-
data["auto_start"] = self.auto_start
|
|
2334
2329
|
data["start_message"] = (
|
|
2335
2330
|
self.start_message
|
|
2336
2331
|
if isinstance(self.start_message, str)
|
|
2337
2332
|
else self.start_message
|
|
2338
2333
|
)
|
|
2334
|
+
data["auto_start"] = self.auto_start
|
|
2335
|
+
data["restart_button_text"] = (
|
|
2336
|
+
self.restart_button_text
|
|
2337
|
+
if isinstance(self.restart_button_text, str)
|
|
2338
|
+
else self.restart_button_text
|
|
2339
|
+
)
|
|
2340
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2341
|
+
data["path"] = self.path
|
|
2342
|
+
data["allow_restart"] = self.allow_restart
|
|
2339
2343
|
return data
|
|
2340
2344
|
|
|
2341
2345
|
@classmethod
|
|
@@ -2343,17 +2347,23 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2343
2347
|
cls, data: typing.Dict[str, typing.Any]
|
|
2344
2348
|
) -> "CommonAbstraJsonV15DefinitionsFormStage":
|
|
2345
2349
|
return cls(
|
|
2350
|
+
file=str(data["file"]),
|
|
2346
2351
|
title=str(data["title"]),
|
|
2347
|
-
id=str(data["id"]),
|
|
2348
2352
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2349
|
-
file=str(data["file"]),
|
|
2350
2353
|
transitions=[
|
|
2351
2354
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2352
2355
|
for item in data["transitions"]
|
|
2353
2356
|
],
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
+
id=str(data["id"]),
|
|
2358
|
+
is_initial=bool(data["is_initial"]),
|
|
2359
|
+
end_message=(
|
|
2360
|
+
str(data["end_message"])
|
|
2361
|
+
if isinstance(data["end_message"], str)
|
|
2362
|
+
else None
|
|
2363
|
+
),
|
|
2364
|
+
timeout_message=(
|
|
2365
|
+
str(data["timeout_message"])
|
|
2366
|
+
if isinstance(data["timeout_message"], str)
|
|
2357
2367
|
else None
|
|
2358
2368
|
),
|
|
2359
2369
|
start_button_text=(
|
|
@@ -2361,41 +2371,35 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2361
2371
|
if isinstance(data["start_button_text"], str)
|
|
2362
2372
|
else None
|
|
2363
2373
|
),
|
|
2364
|
-
restart_button_text=(
|
|
2365
|
-
str(data["restart_button_text"])
|
|
2366
|
-
if isinstance(data["restart_button_text"], str)
|
|
2367
|
-
else None
|
|
2368
|
-
),
|
|
2369
|
-
path=str(data["path"]),
|
|
2370
2374
|
error_message=(
|
|
2371
2375
|
str(data["error_message"])
|
|
2372
2376
|
if isinstance(data["error_message"], str)
|
|
2373
2377
|
else None
|
|
2374
2378
|
),
|
|
2375
|
-
|
|
2376
|
-
str(data["
|
|
2377
|
-
if isinstance(data["
|
|
2378
|
-
else None
|
|
2379
|
-
),
|
|
2380
|
-
is_initial=bool(data["is_initial"]),
|
|
2381
|
-
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2382
|
-
data["notification_trigger"]
|
|
2383
|
-
),
|
|
2384
|
-
timeout_message=(
|
|
2385
|
-
str(data["timeout_message"])
|
|
2386
|
-
if isinstance(data["timeout_message"], str)
|
|
2379
|
+
welcome_title=(
|
|
2380
|
+
str(data["welcome_title"])
|
|
2381
|
+
if isinstance(data["welcome_title"], str)
|
|
2387
2382
|
else None
|
|
2388
2383
|
),
|
|
2389
2384
|
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2390
2385
|
data["access_control"]
|
|
2391
2386
|
),
|
|
2392
|
-
allow_restart=bool(data["allow_restart"]),
|
|
2393
|
-
auto_start=bool(data["auto_start"]),
|
|
2394
2387
|
start_message=(
|
|
2395
2388
|
str(data["start_message"])
|
|
2396
2389
|
if isinstance(data["start_message"], str)
|
|
2397
2390
|
else None
|
|
2398
2391
|
),
|
|
2392
|
+
auto_start=bool(data["auto_start"]),
|
|
2393
|
+
restart_button_text=(
|
|
2394
|
+
str(data["restart_button_text"])
|
|
2395
|
+
if isinstance(data["restart_button_text"], str)
|
|
2396
|
+
else None
|
|
2397
|
+
),
|
|
2398
|
+
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2399
|
+
data["notification_trigger"]
|
|
2400
|
+
),
|
|
2401
|
+
path=str(data["path"]),
|
|
2402
|
+
allow_restart=bool(data["allow_restart"]),
|
|
2399
2403
|
)
|
|
2400
2404
|
|
|
2401
2405
|
|
|
@@ -2403,9 +2407,9 @@ CommonAbstraJsonV15FormsItem = CommonAbstraJsonV15DefinitionsFormStage
|
|
|
2403
2407
|
|
|
2404
2408
|
CommonAbstraJsonV15Forms = typing.List[CommonAbstraJsonV15FormsItem]
|
|
2405
2409
|
|
|
2406
|
-
|
|
2410
|
+
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2407
2411
|
|
|
2408
|
-
|
|
2412
|
+
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
2409
2413
|
|
|
2410
2414
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
2411
2415
|
|
|
@@ -2413,8 +2417,6 @@ CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
2413
2417
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem
|
|
2414
2418
|
]
|
|
2415
2419
|
|
|
2416
|
-
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2417
|
-
|
|
2418
2420
|
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem = (
|
|
2419
2421
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2420
2422
|
)
|
|
@@ -2423,25 +2425,27 @@ CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
|
2423
2425
|
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
2424
2426
|
]
|
|
2425
2427
|
|
|
2428
|
+
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2429
|
+
|
|
2426
2430
|
CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
2427
2431
|
|
|
2428
2432
|
|
|
2429
2433
|
@dataclass
|
|
2430
2434
|
class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
2435
|
+
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2431
2436
|
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
2432
|
-
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2433
2437
|
workflow_position: CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition
|
|
2434
|
-
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2435
2438
|
transitions: CommonAbstraJsonV15DefinitionsScriptStageTransitions
|
|
2439
|
+
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2436
2440
|
is_initial: CommonAbstraJsonV15DefinitionsScriptStageIsInitial
|
|
2437
2441
|
|
|
2438
2442
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2439
2443
|
data = {}
|
|
2444
|
+
data["file"] = self.file
|
|
2440
2445
|
data["title"] = self.title
|
|
2441
|
-
data["id"] = self.id
|
|
2442
2446
|
data["workflow_position"] = self.workflow_position
|
|
2443
|
-
data["file"] = self.file
|
|
2444
2447
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2448
|
+
data["id"] = self.id
|
|
2445
2449
|
data["is_initial"] = self.is_initial
|
|
2446
2450
|
return data
|
|
2447
2451
|
|
|
@@ -2450,14 +2454,14 @@ class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
|
2450
2454
|
cls, data: typing.Dict[str, typing.Any]
|
|
2451
2455
|
) -> "CommonAbstraJsonV15DefinitionsScriptStage":
|
|
2452
2456
|
return cls(
|
|
2457
|
+
file=str(data["file"]),
|
|
2453
2458
|
title=str(data["title"]),
|
|
2454
|
-
id=str(data["id"]),
|
|
2455
2459
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2456
|
-
file=str(data["file"]),
|
|
2457
2460
|
transitions=[
|
|
2458
2461
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2459
2462
|
for item in data["transitions"]
|
|
2460
2463
|
],
|
|
2464
|
+
id=str(data["id"]),
|
|
2461
2465
|
is_initial=bool(data["is_initial"]),
|
|
2462
2466
|
)
|
|
2463
2467
|
|
|
@@ -2701,9 +2705,9 @@ class CommonAbstraJsonV14Home:
|
|
|
2701
2705
|
)
|
|
2702
2706
|
|
|
2703
2707
|
|
|
2704
|
-
|
|
2708
|
+
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2705
2709
|
|
|
2706
|
-
|
|
2710
|
+
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2707
2711
|
|
|
2708
2712
|
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
2709
2713
|
|
|
@@ -2711,8 +2715,6 @@ CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
|
2711
2715
|
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
2712
2716
|
]
|
|
2713
2717
|
|
|
2714
|
-
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2715
|
-
|
|
2716
2718
|
CommonAbstraJsonV14DefinitionsTransitionId = str
|
|
2717
2719
|
|
|
2718
2720
|
CommonAbstraJsonV14DefinitionsTransitionTargetId = str
|
|
@@ -2782,25 +2784,27 @@ CommonAbstraJsonV14DefinitionsJobStageTransitions = typing.List[
|
|
|
2782
2784
|
CommonAbstraJsonV14DefinitionsJobStageTransitionsItem
|
|
2783
2785
|
]
|
|
2784
2786
|
|
|
2787
|
+
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2788
|
+
|
|
2785
2789
|
CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
2786
2790
|
|
|
2787
2791
|
|
|
2788
2792
|
@dataclass
|
|
2789
2793
|
class CommonAbstraJsonV14DefinitionsJobStage:
|
|
2794
|
+
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2790
2795
|
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
2791
|
-
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2792
2796
|
workflow_position: CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition
|
|
2793
|
-
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2794
2797
|
transitions: CommonAbstraJsonV14DefinitionsJobStageTransitions
|
|
2798
|
+
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2795
2799
|
schedule: CommonAbstraJsonV14DefinitionsJobStageSchedule
|
|
2796
2800
|
|
|
2797
2801
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2798
2802
|
data = {}
|
|
2803
|
+
data["file"] = self.file
|
|
2799
2804
|
data["title"] = self.title
|
|
2800
|
-
data["id"] = self.id
|
|
2801
2805
|
data["workflow_position"] = self.workflow_position
|
|
2802
|
-
data["file"] = self.file
|
|
2803
2806
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2807
|
+
data["id"] = self.id
|
|
2804
2808
|
data["schedule"] = self.schedule
|
|
2805
2809
|
return data
|
|
2806
2810
|
|
|
@@ -2809,14 +2813,14 @@ class CommonAbstraJsonV14DefinitionsJobStage:
|
|
|
2809
2813
|
cls, data: typing.Dict[str, typing.Any]
|
|
2810
2814
|
) -> "CommonAbstraJsonV14DefinitionsJobStage":
|
|
2811
2815
|
return cls(
|
|
2816
|
+
file=str(data["file"]),
|
|
2812
2817
|
title=str(data["title"]),
|
|
2813
|
-
id=str(data["id"]),
|
|
2814
2818
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2815
|
-
file=str(data["file"]),
|
|
2816
2819
|
transitions=[
|
|
2817
2820
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2818
2821
|
for item in data["transitions"]
|
|
2819
2822
|
],
|
|
2823
|
+
id=str(data["id"]),
|
|
2820
2824
|
schedule=str(data["schedule"]),
|
|
2821
2825
|
)
|
|
2822
2826
|
|
|
@@ -2825,9 +2829,9 @@ CommonAbstraJsonV14JobsItem = CommonAbstraJsonV14DefinitionsJobStage
|
|
|
2825
2829
|
|
|
2826
2830
|
CommonAbstraJsonV14Jobs = typing.List[CommonAbstraJsonV14JobsItem]
|
|
2827
2831
|
|
|
2828
|
-
|
|
2832
|
+
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
2829
2833
|
|
|
2830
|
-
|
|
2834
|
+
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
2831
2835
|
|
|
2832
2836
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
2833
2837
|
|
|
@@ -2835,8 +2839,6 @@ CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
2835
2839
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem
|
|
2836
2840
|
]
|
|
2837
2841
|
|
|
2838
|
-
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
2839
|
-
|
|
2840
2842
|
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem = (
|
|
2841
2843
|
CommonAbstraJsonV14DefinitionsTransition
|
|
2842
2844
|
)
|
|
@@ -2845,34 +2847,36 @@ CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
|
2845
2847
|
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
2846
2848
|
]
|
|
2847
2849
|
|
|
2848
|
-
|
|
2850
|
+
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2851
|
+
|
|
2852
|
+
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2849
2853
|
|
|
2850
2854
|
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
2851
2855
|
|
|
2852
|
-
|
|
2856
|
+
CommonAbstraJsonV14DefinitionsHookStageEnabled = bool
|
|
2853
2857
|
|
|
2854
2858
|
|
|
2855
2859
|
@dataclass
|
|
2856
2860
|
class CommonAbstraJsonV14DefinitionsHookStage:
|
|
2861
|
+
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2857
2862
|
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
2858
|
-
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2859
2863
|
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
2860
|
-
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2861
2864
|
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
2862
|
-
|
|
2863
|
-
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2865
|
+
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2864
2866
|
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
2867
|
+
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2868
|
+
enabled: CommonAbstraJsonV14DefinitionsHookStageEnabled
|
|
2865
2869
|
|
|
2866
2870
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2867
2871
|
data = {}
|
|
2872
|
+
data["file"] = self.file
|
|
2868
2873
|
data["title"] = self.title
|
|
2869
|
-
data["id"] = self.id
|
|
2870
2874
|
data["workflow_position"] = self.workflow_position
|
|
2871
|
-
data["file"] = self.file
|
|
2872
2875
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2873
|
-
data["
|
|
2874
|
-
data["is_initial"] = self.is_initial
|
|
2876
|
+
data["id"] = self.id
|
|
2875
2877
|
data["path"] = self.path
|
|
2878
|
+
data["is_initial"] = self.is_initial
|
|
2879
|
+
data["enabled"] = self.enabled
|
|
2876
2880
|
return data
|
|
2877
2881
|
|
|
2878
2882
|
@classmethod
|
|
@@ -2880,17 +2884,17 @@ class CommonAbstraJsonV14DefinitionsHookStage:
|
|
|
2880
2884
|
cls, data: typing.Dict[str, typing.Any]
|
|
2881
2885
|
) -> "CommonAbstraJsonV14DefinitionsHookStage":
|
|
2882
2886
|
return cls(
|
|
2887
|
+
file=str(data["file"]),
|
|
2883
2888
|
title=str(data["title"]),
|
|
2884
|
-
id=str(data["id"]),
|
|
2885
2889
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2886
|
-
file=str(data["file"]),
|
|
2887
2890
|
transitions=[
|
|
2888
2891
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2889
2892
|
for item in data["transitions"]
|
|
2890
2893
|
],
|
|
2891
|
-
|
|
2892
|
-
is_initial=bool(data["is_initial"]),
|
|
2894
|
+
id=str(data["id"]),
|
|
2893
2895
|
path=str(data["path"]),
|
|
2896
|
+
is_initial=bool(data["is_initial"]),
|
|
2897
|
+
enabled=bool(data["enabled"]),
|
|
2894
2898
|
)
|
|
2895
2899
|
|
|
2896
2900
|
|
|
@@ -2898,9 +2902,9 @@ CommonAbstraJsonV14HooksItem = CommonAbstraJsonV14DefinitionsHookStage
|
|
|
2898
2902
|
|
|
2899
2903
|
CommonAbstraJsonV14Hooks = typing.List[CommonAbstraJsonV14HooksItem]
|
|
2900
2904
|
|
|
2901
|
-
|
|
2905
|
+
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
2902
2906
|
|
|
2903
|
-
|
|
2907
|
+
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
2904
2908
|
|
|
2905
2909
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
2906
2910
|
|
|
@@ -2908,8 +2912,6 @@ CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
2908
2912
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem
|
|
2909
2913
|
]
|
|
2910
2914
|
|
|
2911
|
-
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
2912
|
-
|
|
2913
2915
|
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem = (
|
|
2914
2916
|
CommonAbstraJsonV14DefinitionsTransition
|
|
2915
2917
|
)
|
|
@@ -2918,13 +2920,26 @@ CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
|
2918
2920
|
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
2919
2921
|
]
|
|
2920
2922
|
|
|
2921
|
-
|
|
2923
|
+
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2922
2924
|
|
|
2923
|
-
|
|
2925
|
+
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
2924
2926
|
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2927
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
2928
|
+
|
|
2929
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
2930
|
+
|
|
2931
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
2932
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString,
|
|
2933
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
2934
|
+
]
|
|
2935
|
+
|
|
2936
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString = str
|
|
2937
|
+
|
|
2938
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2939
|
+
|
|
2940
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2941
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString,
|
|
2942
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
2928
2943
|
]
|
|
2929
2944
|
|
|
2930
2945
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
@@ -2936,17 +2951,6 @@ CommonAbstraJsonV14DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
2936
2951
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull,
|
|
2937
2952
|
]
|
|
2938
2953
|
|
|
2939
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
2940
|
-
|
|
2941
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2942
|
-
|
|
2943
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2944
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString,
|
|
2945
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
2946
|
-
]
|
|
2947
|
-
|
|
2948
|
-
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
2949
|
-
|
|
2950
2954
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString = str
|
|
2951
2955
|
|
|
2952
2956
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -2956,165 +2960,165 @@ CommonAbstraJsonV14DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
2956
2960
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull,
|
|
2957
2961
|
]
|
|
2958
2962
|
|
|
2959
|
-
|
|
2963
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
2960
2964
|
|
|
2961
|
-
|
|
2965
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
2962
2966
|
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2967
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
2968
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
2969
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
2966
2970
|
]
|
|
2967
2971
|
|
|
2968
|
-
|
|
2972
|
+
CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic = bool
|
|
2969
2973
|
|
|
2970
|
-
|
|
2974
|
+
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
2971
2975
|
|
|
2972
|
-
|
|
2976
|
+
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRoles = typing.List[
|
|
2977
|
+
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRolesItem
|
|
2978
|
+
]
|
|
2973
2979
|
|
|
2974
2980
|
|
|
2975
2981
|
@dataclass
|
|
2976
|
-
class
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
)
|
|
2980
|
-
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
2982
|
+
class CommonAbstraJsonV14DefinitionsFormStageAccessControl:
|
|
2983
|
+
is_public: CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic
|
|
2984
|
+
required_roles: CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRoles
|
|
2981
2985
|
|
|
2982
2986
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2983
2987
|
data = {}
|
|
2984
|
-
data["
|
|
2985
|
-
data["
|
|
2988
|
+
data["is_public"] = self.is_public
|
|
2989
|
+
data["required_roles"] = self.required_roles
|
|
2986
2990
|
return data
|
|
2987
2991
|
|
|
2988
2992
|
@classmethod
|
|
2989
2993
|
def from_dict(
|
|
2990
2994
|
cls, data: typing.Dict[str, typing.Any]
|
|
2991
|
-
) -> "
|
|
2995
|
+
) -> "CommonAbstraJsonV14DefinitionsFormStageAccessControl":
|
|
2992
2996
|
return cls(
|
|
2993
|
-
|
|
2994
|
-
|
|
2997
|
+
is_public=bool(data["is_public"]),
|
|
2998
|
+
required_roles=[str(item) for item in data["required_roles"]],
|
|
2995
2999
|
)
|
|
2996
3000
|
|
|
2997
3001
|
|
|
2998
|
-
|
|
3002
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageString = str
|
|
2999
3003
|
|
|
3000
|
-
|
|
3004
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull = type(None)
|
|
3001
3005
|
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3006
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
3007
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageString,
|
|
3008
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3005
3009
|
]
|
|
3006
3010
|
|
|
3007
|
-
|
|
3011
|
+
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
3008
3012
|
|
|
3009
|
-
|
|
3013
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
3010
3014
|
|
|
3011
|
-
|
|
3012
|
-
|
|
3015
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3016
|
+
|
|
3017
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
3018
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString,
|
|
3019
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
3013
3020
|
]
|
|
3014
3021
|
|
|
3022
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3023
|
+
|
|
3024
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3025
|
+
|
|
3015
3026
|
|
|
3016
3027
|
@dataclass
|
|
3017
|
-
class
|
|
3018
|
-
|
|
3019
|
-
|
|
3028
|
+
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
3029
|
+
variable_name: (
|
|
3030
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
3031
|
+
)
|
|
3032
|
+
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
3020
3033
|
|
|
3021
3034
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3022
3035
|
data = {}
|
|
3023
|
-
data["
|
|
3024
|
-
data["
|
|
3036
|
+
data["variable_name"] = self.variable_name
|
|
3037
|
+
data["enabled"] = self.enabled
|
|
3025
3038
|
return data
|
|
3026
3039
|
|
|
3027
3040
|
@classmethod
|
|
3028
3041
|
def from_dict(
|
|
3029
3042
|
cls, data: typing.Dict[str, typing.Any]
|
|
3030
|
-
) -> "
|
|
3043
|
+
) -> "CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger":
|
|
3031
3044
|
return cls(
|
|
3032
|
-
|
|
3033
|
-
|
|
3045
|
+
variable_name=str(data["variable_name"]),
|
|
3046
|
+
enabled=bool(data["enabled"]),
|
|
3034
3047
|
)
|
|
3035
3048
|
|
|
3036
3049
|
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
3050
|
+
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
3040
3051
|
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull = type(None)
|
|
3044
|
-
|
|
3045
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
3046
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageString,
|
|
3047
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3048
|
-
]
|
|
3052
|
+
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
3049
3053
|
|
|
3050
3054
|
|
|
3051
3055
|
@dataclass
|
|
3052
3056
|
class CommonAbstraJsonV14DefinitionsFormStage:
|
|
3057
|
+
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3053
3058
|
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3054
|
-
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3055
3059
|
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3056
|
-
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3057
3060
|
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3058
|
-
|
|
3059
|
-
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3060
|
-
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3061
|
-
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3062
|
-
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3063
|
-
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3061
|
+
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3064
3062
|
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3065
|
-
|
|
3063
|
+
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3066
3064
|
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3065
|
+
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3066
|
+
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3067
|
+
welcome_title: CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle
|
|
3067
3068
|
access_control: CommonAbstraJsonV14DefinitionsFormStageAccessControl
|
|
3068
|
-
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3069
|
-
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3070
3069
|
start_message: CommonAbstraJsonV14DefinitionsFormStageStartMessage
|
|
3070
|
+
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3071
|
+
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3072
|
+
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3073
|
+
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3074
|
+
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3071
3075
|
|
|
3072
3076
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3073
3077
|
data = {}
|
|
3078
|
+
data["file"] = self.file
|
|
3074
3079
|
data["title"] = self.title
|
|
3075
|
-
data["id"] = self.id
|
|
3076
3080
|
data["workflow_position"] = self.workflow_position
|
|
3077
|
-
data["file"] = self.file
|
|
3078
3081
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3079
|
-
data["
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
else self.
|
|
3082
|
+
data["id"] = self.id
|
|
3083
|
+
data["is_initial"] = self.is_initial
|
|
3084
|
+
data["end_message"] = (
|
|
3085
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3086
|
+
)
|
|
3087
|
+
data["timeout_message"] = (
|
|
3088
|
+
self.timeout_message
|
|
3089
|
+
if isinstance(self.timeout_message, str)
|
|
3090
|
+
else self.timeout_message
|
|
3083
3091
|
)
|
|
3084
3092
|
data["start_button_text"] = (
|
|
3085
3093
|
self.start_button_text
|
|
3086
3094
|
if isinstance(self.start_button_text, str)
|
|
3087
3095
|
else self.start_button_text
|
|
3088
3096
|
)
|
|
3089
|
-
data["restart_button_text"] = (
|
|
3090
|
-
self.restart_button_text
|
|
3091
|
-
if isinstance(self.restart_button_text, str)
|
|
3092
|
-
else self.restart_button_text
|
|
3093
|
-
)
|
|
3094
|
-
data["path"] = self.path
|
|
3095
3097
|
data["error_message"] = (
|
|
3096
3098
|
self.error_message
|
|
3097
3099
|
if isinstance(self.error_message, str)
|
|
3098
3100
|
else self.error_message
|
|
3099
3101
|
)
|
|
3100
|
-
data["
|
|
3101
|
-
self.
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3105
|
-
data["timeout_message"] = (
|
|
3106
|
-
self.timeout_message
|
|
3107
|
-
if isinstance(self.timeout_message, str)
|
|
3108
|
-
else self.timeout_message
|
|
3102
|
+
data["welcome_title"] = (
|
|
3103
|
+
self.welcome_title
|
|
3104
|
+
if isinstance(self.welcome_title, str)
|
|
3105
|
+
else self.welcome_title
|
|
3109
3106
|
)
|
|
3110
3107
|
data["access_control"] = self.access_control.to_dict()
|
|
3111
|
-
data["allow_restart"] = self.allow_restart
|
|
3112
|
-
data["auto_start"] = self.auto_start
|
|
3113
3108
|
data["start_message"] = (
|
|
3114
3109
|
self.start_message
|
|
3115
3110
|
if isinstance(self.start_message, str)
|
|
3116
3111
|
else self.start_message
|
|
3117
3112
|
)
|
|
3113
|
+
data["auto_start"] = self.auto_start
|
|
3114
|
+
data["restart_button_text"] = (
|
|
3115
|
+
self.restart_button_text
|
|
3116
|
+
if isinstance(self.restart_button_text, str)
|
|
3117
|
+
else self.restart_button_text
|
|
3118
|
+
)
|
|
3119
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3120
|
+
data["path"] = self.path
|
|
3121
|
+
data["allow_restart"] = self.allow_restart
|
|
3118
3122
|
return data
|
|
3119
3123
|
|
|
3120
3124
|
@classmethod
|
|
@@ -3122,17 +3126,23 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3122
3126
|
cls, data: typing.Dict[str, typing.Any]
|
|
3123
3127
|
) -> "CommonAbstraJsonV14DefinitionsFormStage":
|
|
3124
3128
|
return cls(
|
|
3129
|
+
file=str(data["file"]),
|
|
3125
3130
|
title=str(data["title"]),
|
|
3126
|
-
id=str(data["id"]),
|
|
3127
3131
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3128
|
-
file=str(data["file"]),
|
|
3129
3132
|
transitions=[
|
|
3130
3133
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3131
3134
|
for item in data["transitions"]
|
|
3132
3135
|
],
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
+
id=str(data["id"]),
|
|
3137
|
+
is_initial=bool(data["is_initial"]),
|
|
3138
|
+
end_message=(
|
|
3139
|
+
str(data["end_message"])
|
|
3140
|
+
if isinstance(data["end_message"], str)
|
|
3141
|
+
else None
|
|
3142
|
+
),
|
|
3143
|
+
timeout_message=(
|
|
3144
|
+
str(data["timeout_message"])
|
|
3145
|
+
if isinstance(data["timeout_message"], str)
|
|
3136
3146
|
else None
|
|
3137
3147
|
),
|
|
3138
3148
|
start_button_text=(
|
|
@@ -3140,41 +3150,35 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3140
3150
|
if isinstance(data["start_button_text"], str)
|
|
3141
3151
|
else None
|
|
3142
3152
|
),
|
|
3143
|
-
restart_button_text=(
|
|
3144
|
-
str(data["restart_button_text"])
|
|
3145
|
-
if isinstance(data["restart_button_text"], str)
|
|
3146
|
-
else None
|
|
3147
|
-
),
|
|
3148
|
-
path=str(data["path"]),
|
|
3149
3153
|
error_message=(
|
|
3150
3154
|
str(data["error_message"])
|
|
3151
3155
|
if isinstance(data["error_message"], str)
|
|
3152
3156
|
else None
|
|
3153
3157
|
),
|
|
3154
|
-
|
|
3155
|
-
str(data["
|
|
3156
|
-
if isinstance(data["
|
|
3157
|
-
else None
|
|
3158
|
-
),
|
|
3159
|
-
is_initial=bool(data["is_initial"]),
|
|
3160
|
-
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3161
|
-
data["notification_trigger"]
|
|
3162
|
-
),
|
|
3163
|
-
timeout_message=(
|
|
3164
|
-
str(data["timeout_message"])
|
|
3165
|
-
if isinstance(data["timeout_message"], str)
|
|
3158
|
+
welcome_title=(
|
|
3159
|
+
str(data["welcome_title"])
|
|
3160
|
+
if isinstance(data["welcome_title"], str)
|
|
3166
3161
|
else None
|
|
3167
3162
|
),
|
|
3168
3163
|
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3169
3164
|
data["access_control"]
|
|
3170
3165
|
),
|
|
3171
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3172
|
-
auto_start=bool(data["auto_start"]),
|
|
3173
3166
|
start_message=(
|
|
3174
3167
|
str(data["start_message"])
|
|
3175
3168
|
if isinstance(data["start_message"], str)
|
|
3176
3169
|
else None
|
|
3177
3170
|
),
|
|
3171
|
+
auto_start=bool(data["auto_start"]),
|
|
3172
|
+
restart_button_text=(
|
|
3173
|
+
str(data["restart_button_text"])
|
|
3174
|
+
if isinstance(data["restart_button_text"], str)
|
|
3175
|
+
else None
|
|
3176
|
+
),
|
|
3177
|
+
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3178
|
+
data["notification_trigger"]
|
|
3179
|
+
),
|
|
3180
|
+
path=str(data["path"]),
|
|
3181
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3178
3182
|
)
|
|
3179
3183
|
|
|
3180
3184
|
|
|
@@ -3182,9 +3186,9 @@ CommonAbstraJsonV14FormsItem = CommonAbstraJsonV14DefinitionsFormStage
|
|
|
3182
3186
|
|
|
3183
3187
|
CommonAbstraJsonV14Forms = typing.List[CommonAbstraJsonV14FormsItem]
|
|
3184
3188
|
|
|
3185
|
-
|
|
3189
|
+
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3186
3190
|
|
|
3187
|
-
|
|
3191
|
+
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3188
3192
|
|
|
3189
3193
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3190
3194
|
|
|
@@ -3192,8 +3196,6 @@ CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
3192
3196
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3193
3197
|
]
|
|
3194
3198
|
|
|
3195
|
-
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3196
|
-
|
|
3197
3199
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem = (
|
|
3198
3200
|
CommonAbstraJsonV14DefinitionsTransition
|
|
3199
3201
|
)
|
|
@@ -3202,25 +3204,27 @@ CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
|
3202
3204
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem
|
|
3203
3205
|
]
|
|
3204
3206
|
|
|
3207
|
+
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3208
|
+
|
|
3205
3209
|
CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
3206
3210
|
|
|
3207
3211
|
|
|
3208
3212
|
@dataclass
|
|
3209
3213
|
class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
3214
|
+
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3210
3215
|
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3211
|
-
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3212
3216
|
workflow_position: CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition
|
|
3213
|
-
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3214
3217
|
transitions: CommonAbstraJsonV14DefinitionsScriptStageTransitions
|
|
3218
|
+
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3215
3219
|
is_initial: CommonAbstraJsonV14DefinitionsScriptStageIsInitial
|
|
3216
3220
|
|
|
3217
3221
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3218
3222
|
data = {}
|
|
3223
|
+
data["file"] = self.file
|
|
3219
3224
|
data["title"] = self.title
|
|
3220
|
-
data["id"] = self.id
|
|
3221
3225
|
data["workflow_position"] = self.workflow_position
|
|
3222
|
-
data["file"] = self.file
|
|
3223
3226
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3227
|
+
data["id"] = self.id
|
|
3224
3228
|
data["is_initial"] = self.is_initial
|
|
3225
3229
|
return data
|
|
3226
3230
|
|
|
@@ -3229,14 +3233,14 @@ class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
|
3229
3233
|
cls, data: typing.Dict[str, typing.Any]
|
|
3230
3234
|
) -> "CommonAbstraJsonV14DefinitionsScriptStage":
|
|
3231
3235
|
return cls(
|
|
3236
|
+
file=str(data["file"]),
|
|
3232
3237
|
title=str(data["title"]),
|
|
3233
|
-
id=str(data["id"]),
|
|
3234
3238
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3235
|
-
file=str(data["file"]),
|
|
3236
3239
|
transitions=[
|
|
3237
3240
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3238
3241
|
for item in data["transitions"]
|
|
3239
3242
|
],
|
|
3243
|
+
id=str(data["id"]),
|
|
3240
3244
|
is_initial=bool(data["is_initial"]),
|
|
3241
3245
|
)
|
|
3242
3246
|
|
|
@@ -3480,9 +3484,9 @@ class CommonAbstraJsonV13Home:
|
|
|
3480
3484
|
)
|
|
3481
3485
|
|
|
3482
3486
|
|
|
3483
|
-
|
|
3487
|
+
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3484
3488
|
|
|
3485
|
-
|
|
3489
|
+
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3486
3490
|
|
|
3487
3491
|
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
3488
3492
|
|
|
@@ -3490,8 +3494,6 @@ CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
|
3490
3494
|
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
3491
3495
|
]
|
|
3492
3496
|
|
|
3493
|
-
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3494
|
-
|
|
3495
3497
|
CommonAbstraJsonV13DefinitionsTransitionId = str
|
|
3496
3498
|
|
|
3497
3499
|
CommonAbstraJsonV13DefinitionsTransitionTargetId = str
|
|
@@ -3557,25 +3559,27 @@ CommonAbstraJsonV13DefinitionsJobStageTransitions = typing.List[
|
|
|
3557
3559
|
CommonAbstraJsonV13DefinitionsJobStageTransitionsItem
|
|
3558
3560
|
]
|
|
3559
3561
|
|
|
3562
|
+
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3563
|
+
|
|
3560
3564
|
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
3561
3565
|
|
|
3562
3566
|
|
|
3563
3567
|
@dataclass
|
|
3564
3568
|
class CommonAbstraJsonV13DefinitionsJobStage:
|
|
3569
|
+
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3565
3570
|
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
3566
|
-
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3567
3571
|
workflow_position: CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition
|
|
3568
|
-
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3569
3572
|
transitions: CommonAbstraJsonV13DefinitionsJobStageTransitions
|
|
3573
|
+
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3570
3574
|
schedule: CommonAbstraJsonV13DefinitionsJobStageSchedule
|
|
3571
3575
|
|
|
3572
3576
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3573
3577
|
data = {}
|
|
3578
|
+
data["file"] = self.file
|
|
3574
3579
|
data["title"] = self.title
|
|
3575
|
-
data["id"] = self.id
|
|
3576
3580
|
data["workflow_position"] = self.workflow_position
|
|
3577
|
-
data["file"] = self.file
|
|
3578
3581
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3582
|
+
data["id"] = self.id
|
|
3579
3583
|
data["schedule"] = self.schedule
|
|
3580
3584
|
return data
|
|
3581
3585
|
|
|
@@ -3584,14 +3588,14 @@ class CommonAbstraJsonV13DefinitionsJobStage:
|
|
|
3584
3588
|
cls, data: typing.Dict[str, typing.Any]
|
|
3585
3589
|
) -> "CommonAbstraJsonV13DefinitionsJobStage":
|
|
3586
3590
|
return cls(
|
|
3591
|
+
file=str(data["file"]),
|
|
3587
3592
|
title=str(data["title"]),
|
|
3588
|
-
id=str(data["id"]),
|
|
3589
3593
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3590
|
-
file=str(data["file"]),
|
|
3591
3594
|
transitions=[
|
|
3592
3595
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3593
3596
|
for item in data["transitions"]
|
|
3594
3597
|
],
|
|
3598
|
+
id=str(data["id"]),
|
|
3595
3599
|
schedule=str(data["schedule"]),
|
|
3596
3600
|
)
|
|
3597
3601
|
|
|
@@ -3600,9 +3604,9 @@ CommonAbstraJsonV13JobsItem = CommonAbstraJsonV13DefinitionsJobStage
|
|
|
3600
3604
|
|
|
3601
3605
|
CommonAbstraJsonV13Jobs = typing.List[CommonAbstraJsonV13JobsItem]
|
|
3602
3606
|
|
|
3603
|
-
|
|
3607
|
+
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
3604
3608
|
|
|
3605
|
-
|
|
3609
|
+
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
3606
3610
|
|
|
3607
3611
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
3608
3612
|
|
|
@@ -3610,8 +3614,6 @@ CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
3610
3614
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem
|
|
3611
3615
|
]
|
|
3612
3616
|
|
|
3613
|
-
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
3614
|
-
|
|
3615
3617
|
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem = (
|
|
3616
3618
|
CommonAbstraJsonV13DefinitionsTransition
|
|
3617
3619
|
)
|
|
@@ -3620,34 +3622,36 @@ CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
|
3620
3622
|
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
3621
3623
|
]
|
|
3622
3624
|
|
|
3623
|
-
|
|
3625
|
+
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3626
|
+
|
|
3627
|
+
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3624
3628
|
|
|
3625
3629
|
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
3626
3630
|
|
|
3627
|
-
|
|
3631
|
+
CommonAbstraJsonV13DefinitionsHookStageEnabled = bool
|
|
3628
3632
|
|
|
3629
3633
|
|
|
3630
3634
|
@dataclass
|
|
3631
3635
|
class CommonAbstraJsonV13DefinitionsHookStage:
|
|
3636
|
+
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3632
3637
|
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
3633
|
-
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3634
3638
|
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
3635
|
-
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3636
3639
|
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
3637
|
-
|
|
3638
|
-
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3640
|
+
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3639
3641
|
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
3642
|
+
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3643
|
+
enabled: CommonAbstraJsonV13DefinitionsHookStageEnabled
|
|
3640
3644
|
|
|
3641
3645
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3642
3646
|
data = {}
|
|
3647
|
+
data["file"] = self.file
|
|
3643
3648
|
data["title"] = self.title
|
|
3644
|
-
data["id"] = self.id
|
|
3645
3649
|
data["workflow_position"] = self.workflow_position
|
|
3646
|
-
data["file"] = self.file
|
|
3647
3650
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3648
|
-
data["
|
|
3649
|
-
data["is_initial"] = self.is_initial
|
|
3651
|
+
data["id"] = self.id
|
|
3650
3652
|
data["path"] = self.path
|
|
3653
|
+
data["is_initial"] = self.is_initial
|
|
3654
|
+
data["enabled"] = self.enabled
|
|
3651
3655
|
return data
|
|
3652
3656
|
|
|
3653
3657
|
@classmethod
|
|
@@ -3655,17 +3659,17 @@ class CommonAbstraJsonV13DefinitionsHookStage:
|
|
|
3655
3659
|
cls, data: typing.Dict[str, typing.Any]
|
|
3656
3660
|
) -> "CommonAbstraJsonV13DefinitionsHookStage":
|
|
3657
3661
|
return cls(
|
|
3662
|
+
file=str(data["file"]),
|
|
3658
3663
|
title=str(data["title"]),
|
|
3659
|
-
id=str(data["id"]),
|
|
3660
3664
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3661
|
-
file=str(data["file"]),
|
|
3662
3665
|
transitions=[
|
|
3663
3666
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3664
3667
|
for item in data["transitions"]
|
|
3665
3668
|
],
|
|
3666
|
-
|
|
3667
|
-
is_initial=bool(data["is_initial"]),
|
|
3669
|
+
id=str(data["id"]),
|
|
3668
3670
|
path=str(data["path"]),
|
|
3671
|
+
is_initial=bool(data["is_initial"]),
|
|
3672
|
+
enabled=bool(data["enabled"]),
|
|
3669
3673
|
)
|
|
3670
3674
|
|
|
3671
3675
|
|
|
@@ -3673,9 +3677,9 @@ CommonAbstraJsonV13HooksItem = CommonAbstraJsonV13DefinitionsHookStage
|
|
|
3673
3677
|
|
|
3674
3678
|
CommonAbstraJsonV13Hooks = typing.List[CommonAbstraJsonV13HooksItem]
|
|
3675
3679
|
|
|
3676
|
-
|
|
3680
|
+
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
3677
3681
|
|
|
3678
|
-
|
|
3682
|
+
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
3679
3683
|
|
|
3680
3684
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
3681
3685
|
|
|
@@ -3683,8 +3687,6 @@ CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
3683
3687
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem
|
|
3684
3688
|
]
|
|
3685
3689
|
|
|
3686
|
-
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
3687
|
-
|
|
3688
3690
|
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem = (
|
|
3689
3691
|
CommonAbstraJsonV13DefinitionsTransition
|
|
3690
3692
|
)
|
|
@@ -3693,13 +3695,26 @@ CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
|
3693
3695
|
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
3694
3696
|
]
|
|
3695
3697
|
|
|
3696
|
-
|
|
3698
|
+
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3697
3699
|
|
|
3698
|
-
|
|
3700
|
+
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3699
3701
|
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3702
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
3703
|
+
|
|
3704
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull = type(None)
|
|
3705
|
+
|
|
3706
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
3707
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString,
|
|
3708
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
3709
|
+
]
|
|
3710
|
+
|
|
3711
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString = str
|
|
3712
|
+
|
|
3713
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3714
|
+
|
|
3715
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3716
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString,
|
|
3717
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3703
3718
|
]
|
|
3704
3719
|
|
|
3705
3720
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
@@ -3711,17 +3726,6 @@ CommonAbstraJsonV13DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
3711
3726
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull,
|
|
3712
3727
|
]
|
|
3713
3728
|
|
|
3714
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3715
|
-
|
|
3716
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3717
|
-
|
|
3718
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
3719
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString,
|
|
3720
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3721
|
-
]
|
|
3722
|
-
|
|
3723
|
-
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3724
|
-
|
|
3725
3729
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString = str
|
|
3726
3730
|
|
|
3727
3731
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -3731,165 +3735,165 @@ CommonAbstraJsonV13DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
3731
3735
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull,
|
|
3732
3736
|
]
|
|
3733
3737
|
|
|
3734
|
-
|
|
3738
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
3735
3739
|
|
|
3736
|
-
|
|
3740
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3737
3741
|
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3742
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3743
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
3744
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
3741
3745
|
]
|
|
3742
3746
|
|
|
3743
|
-
|
|
3747
|
+
CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic = bool
|
|
3744
3748
|
|
|
3745
|
-
|
|
3749
|
+
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
3746
3750
|
|
|
3747
|
-
|
|
3751
|
+
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRoles = typing.List[
|
|
3752
|
+
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRolesItem
|
|
3753
|
+
]
|
|
3748
3754
|
|
|
3749
3755
|
|
|
3750
3756
|
@dataclass
|
|
3751
|
-
class
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
)
|
|
3755
|
-
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3757
|
+
class CommonAbstraJsonV13DefinitionsFormStageAccessControl:
|
|
3758
|
+
is_public: CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic
|
|
3759
|
+
required_roles: CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRoles
|
|
3756
3760
|
|
|
3757
3761
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3758
3762
|
data = {}
|
|
3759
|
-
data["
|
|
3760
|
-
data["
|
|
3763
|
+
data["is_public"] = self.is_public
|
|
3764
|
+
data["required_roles"] = self.required_roles
|
|
3761
3765
|
return data
|
|
3762
3766
|
|
|
3763
3767
|
@classmethod
|
|
3764
3768
|
def from_dict(
|
|
3765
3769
|
cls, data: typing.Dict[str, typing.Any]
|
|
3766
|
-
) -> "
|
|
3770
|
+
) -> "CommonAbstraJsonV13DefinitionsFormStageAccessControl":
|
|
3767
3771
|
return cls(
|
|
3768
|
-
|
|
3769
|
-
|
|
3772
|
+
is_public=bool(data["is_public"]),
|
|
3773
|
+
required_roles=[str(item) for item in data["required_roles"]],
|
|
3770
3774
|
)
|
|
3771
3775
|
|
|
3772
3776
|
|
|
3773
|
-
|
|
3777
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
3774
3778
|
|
|
3775
|
-
|
|
3779
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
3776
3780
|
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3781
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
3782
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
3783
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3780
3784
|
]
|
|
3781
3785
|
|
|
3782
|
-
|
|
3786
|
+
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3783
3787
|
|
|
3784
|
-
|
|
3788
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3785
3789
|
|
|
3786
|
-
|
|
3787
|
-
|
|
3790
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3791
|
+
|
|
3792
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
3793
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString,
|
|
3794
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3788
3795
|
]
|
|
3789
3796
|
|
|
3797
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3798
|
+
|
|
3799
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3800
|
+
|
|
3790
3801
|
|
|
3791
3802
|
@dataclass
|
|
3792
|
-
class
|
|
3793
|
-
|
|
3794
|
-
|
|
3803
|
+
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3804
|
+
variable_name: (
|
|
3805
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3806
|
+
)
|
|
3807
|
+
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3795
3808
|
|
|
3796
3809
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3797
3810
|
data = {}
|
|
3798
|
-
data["
|
|
3799
|
-
data["
|
|
3811
|
+
data["variable_name"] = self.variable_name
|
|
3812
|
+
data["enabled"] = self.enabled
|
|
3800
3813
|
return data
|
|
3801
3814
|
|
|
3802
3815
|
@classmethod
|
|
3803
3816
|
def from_dict(
|
|
3804
3817
|
cls, data: typing.Dict[str, typing.Any]
|
|
3805
|
-
) -> "
|
|
3818
|
+
) -> "CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger":
|
|
3806
3819
|
return cls(
|
|
3807
|
-
|
|
3808
|
-
|
|
3820
|
+
variable_name=str(data["variable_name"]),
|
|
3821
|
+
enabled=bool(data["enabled"]),
|
|
3809
3822
|
)
|
|
3810
3823
|
|
|
3811
3824
|
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3815
|
-
|
|
3816
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
3817
|
-
|
|
3818
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
3825
|
+
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3819
3826
|
|
|
3820
|
-
|
|
3821
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
3822
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3823
|
-
]
|
|
3827
|
+
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
3824
3828
|
|
|
3825
3829
|
|
|
3826
3830
|
@dataclass
|
|
3827
3831
|
class CommonAbstraJsonV13DefinitionsFormStage:
|
|
3832
|
+
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3828
3833
|
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
3829
|
-
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3830
3834
|
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
3831
|
-
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3832
3835
|
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
3833
|
-
|
|
3834
|
-
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3835
|
-
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3836
|
-
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3837
|
-
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
3838
|
-
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3836
|
+
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3839
3837
|
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
3840
|
-
|
|
3838
|
+
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3841
3839
|
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
3840
|
+
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3841
|
+
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
3842
|
+
welcome_title: CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle
|
|
3842
3843
|
access_control: CommonAbstraJsonV13DefinitionsFormStageAccessControl
|
|
3843
|
-
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3844
|
-
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3845
3844
|
start_message: CommonAbstraJsonV13DefinitionsFormStageStartMessage
|
|
3845
|
+
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3846
|
+
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3847
|
+
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3848
|
+
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3849
|
+
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3846
3850
|
|
|
3847
3851
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3848
3852
|
data = {}
|
|
3853
|
+
data["file"] = self.file
|
|
3849
3854
|
data["title"] = self.title
|
|
3850
|
-
data["id"] = self.id
|
|
3851
3855
|
data["workflow_position"] = self.workflow_position
|
|
3852
|
-
data["file"] = self.file
|
|
3853
3856
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3854
|
-
data["
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
else self.
|
|
3857
|
+
data["id"] = self.id
|
|
3858
|
+
data["is_initial"] = self.is_initial
|
|
3859
|
+
data["end_message"] = (
|
|
3860
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3861
|
+
)
|
|
3862
|
+
data["timeout_message"] = (
|
|
3863
|
+
self.timeout_message
|
|
3864
|
+
if isinstance(self.timeout_message, str)
|
|
3865
|
+
else self.timeout_message
|
|
3858
3866
|
)
|
|
3859
3867
|
data["start_button_text"] = (
|
|
3860
3868
|
self.start_button_text
|
|
3861
3869
|
if isinstance(self.start_button_text, str)
|
|
3862
3870
|
else self.start_button_text
|
|
3863
3871
|
)
|
|
3864
|
-
data["restart_button_text"] = (
|
|
3865
|
-
self.restart_button_text
|
|
3866
|
-
if isinstance(self.restart_button_text, str)
|
|
3867
|
-
else self.restart_button_text
|
|
3868
|
-
)
|
|
3869
|
-
data["path"] = self.path
|
|
3870
3872
|
data["error_message"] = (
|
|
3871
3873
|
self.error_message
|
|
3872
3874
|
if isinstance(self.error_message, str)
|
|
3873
3875
|
else self.error_message
|
|
3874
3876
|
)
|
|
3875
|
-
data["
|
|
3876
|
-
self.
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3880
|
-
data["timeout_message"] = (
|
|
3881
|
-
self.timeout_message
|
|
3882
|
-
if isinstance(self.timeout_message, str)
|
|
3883
|
-
else self.timeout_message
|
|
3877
|
+
data["welcome_title"] = (
|
|
3878
|
+
self.welcome_title
|
|
3879
|
+
if isinstance(self.welcome_title, str)
|
|
3880
|
+
else self.welcome_title
|
|
3884
3881
|
)
|
|
3885
3882
|
data["access_control"] = self.access_control.to_dict()
|
|
3886
|
-
data["allow_restart"] = self.allow_restart
|
|
3887
|
-
data["auto_start"] = self.auto_start
|
|
3888
3883
|
data["start_message"] = (
|
|
3889
3884
|
self.start_message
|
|
3890
3885
|
if isinstance(self.start_message, str)
|
|
3891
3886
|
else self.start_message
|
|
3892
3887
|
)
|
|
3888
|
+
data["auto_start"] = self.auto_start
|
|
3889
|
+
data["restart_button_text"] = (
|
|
3890
|
+
self.restart_button_text
|
|
3891
|
+
if isinstance(self.restart_button_text, str)
|
|
3892
|
+
else self.restart_button_text
|
|
3893
|
+
)
|
|
3894
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3895
|
+
data["path"] = self.path
|
|
3896
|
+
data["allow_restart"] = self.allow_restart
|
|
3893
3897
|
return data
|
|
3894
3898
|
|
|
3895
3899
|
@classmethod
|
|
@@ -3897,17 +3901,23 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3897
3901
|
cls, data: typing.Dict[str, typing.Any]
|
|
3898
3902
|
) -> "CommonAbstraJsonV13DefinitionsFormStage":
|
|
3899
3903
|
return cls(
|
|
3904
|
+
file=str(data["file"]),
|
|
3900
3905
|
title=str(data["title"]),
|
|
3901
|
-
id=str(data["id"]),
|
|
3902
3906
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3903
|
-
file=str(data["file"]),
|
|
3904
3907
|
transitions=[
|
|
3905
3908
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3906
3909
|
for item in data["transitions"]
|
|
3907
3910
|
],
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
+
id=str(data["id"]),
|
|
3912
|
+
is_initial=bool(data["is_initial"]),
|
|
3913
|
+
end_message=(
|
|
3914
|
+
str(data["end_message"])
|
|
3915
|
+
if isinstance(data["end_message"], str)
|
|
3916
|
+
else None
|
|
3917
|
+
),
|
|
3918
|
+
timeout_message=(
|
|
3919
|
+
str(data["timeout_message"])
|
|
3920
|
+
if isinstance(data["timeout_message"], str)
|
|
3911
3921
|
else None
|
|
3912
3922
|
),
|
|
3913
3923
|
start_button_text=(
|
|
@@ -3915,41 +3925,35 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3915
3925
|
if isinstance(data["start_button_text"], str)
|
|
3916
3926
|
else None
|
|
3917
3927
|
),
|
|
3918
|
-
restart_button_text=(
|
|
3919
|
-
str(data["restart_button_text"])
|
|
3920
|
-
if isinstance(data["restart_button_text"], str)
|
|
3921
|
-
else None
|
|
3922
|
-
),
|
|
3923
|
-
path=str(data["path"]),
|
|
3924
3928
|
error_message=(
|
|
3925
3929
|
str(data["error_message"])
|
|
3926
3930
|
if isinstance(data["error_message"], str)
|
|
3927
3931
|
else None
|
|
3928
3932
|
),
|
|
3929
|
-
|
|
3930
|
-
str(data["
|
|
3931
|
-
if isinstance(data["
|
|
3932
|
-
else None
|
|
3933
|
-
),
|
|
3934
|
-
is_initial=bool(data["is_initial"]),
|
|
3935
|
-
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3936
|
-
data["notification_trigger"]
|
|
3937
|
-
),
|
|
3938
|
-
timeout_message=(
|
|
3939
|
-
str(data["timeout_message"])
|
|
3940
|
-
if isinstance(data["timeout_message"], str)
|
|
3933
|
+
welcome_title=(
|
|
3934
|
+
str(data["welcome_title"])
|
|
3935
|
+
if isinstance(data["welcome_title"], str)
|
|
3941
3936
|
else None
|
|
3942
3937
|
),
|
|
3943
3938
|
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
3944
3939
|
data["access_control"]
|
|
3945
3940
|
),
|
|
3946
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3947
|
-
auto_start=bool(data["auto_start"]),
|
|
3948
3941
|
start_message=(
|
|
3949
3942
|
str(data["start_message"])
|
|
3950
3943
|
if isinstance(data["start_message"], str)
|
|
3951
3944
|
else None
|
|
3952
3945
|
),
|
|
3946
|
+
auto_start=bool(data["auto_start"]),
|
|
3947
|
+
restart_button_text=(
|
|
3948
|
+
str(data["restart_button_text"])
|
|
3949
|
+
if isinstance(data["restart_button_text"], str)
|
|
3950
|
+
else None
|
|
3951
|
+
),
|
|
3952
|
+
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3953
|
+
data["notification_trigger"]
|
|
3954
|
+
),
|
|
3955
|
+
path=str(data["path"]),
|
|
3956
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3953
3957
|
)
|
|
3954
3958
|
|
|
3955
3959
|
|
|
@@ -3957,9 +3961,9 @@ CommonAbstraJsonV13FormsItem = CommonAbstraJsonV13DefinitionsFormStage
|
|
|
3957
3961
|
|
|
3958
3962
|
CommonAbstraJsonV13Forms = typing.List[CommonAbstraJsonV13FormsItem]
|
|
3959
3963
|
|
|
3960
|
-
|
|
3964
|
+
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3961
3965
|
|
|
3962
|
-
|
|
3966
|
+
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
3963
3967
|
|
|
3964
3968
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
3965
3969
|
|
|
@@ -3967,8 +3971,6 @@ CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
3967
3971
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem
|
|
3968
3972
|
]
|
|
3969
3973
|
|
|
3970
|
-
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3971
|
-
|
|
3972
3974
|
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem = (
|
|
3973
3975
|
CommonAbstraJsonV13DefinitionsTransition
|
|
3974
3976
|
)
|
|
@@ -3977,25 +3979,27 @@ CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
|
3977
3979
|
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
3978
3980
|
]
|
|
3979
3981
|
|
|
3982
|
+
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3983
|
+
|
|
3980
3984
|
CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
3981
3985
|
|
|
3982
3986
|
|
|
3983
3987
|
@dataclass
|
|
3984
3988
|
class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
3989
|
+
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3985
3990
|
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
3986
|
-
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3987
3991
|
workflow_position: CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition
|
|
3988
|
-
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3989
3992
|
transitions: CommonAbstraJsonV13DefinitionsScriptStageTransitions
|
|
3993
|
+
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3990
3994
|
is_initial: CommonAbstraJsonV13DefinitionsScriptStageIsInitial
|
|
3991
3995
|
|
|
3992
3996
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3993
3997
|
data = {}
|
|
3998
|
+
data["file"] = self.file
|
|
3994
3999
|
data["title"] = self.title
|
|
3995
|
-
data["id"] = self.id
|
|
3996
4000
|
data["workflow_position"] = self.workflow_position
|
|
3997
|
-
data["file"] = self.file
|
|
3998
4001
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4002
|
+
data["id"] = self.id
|
|
3999
4003
|
data["is_initial"] = self.is_initial
|
|
4000
4004
|
return data
|
|
4001
4005
|
|
|
@@ -4004,14 +4008,14 @@ class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
|
4004
4008
|
cls, data: typing.Dict[str, typing.Any]
|
|
4005
4009
|
) -> "CommonAbstraJsonV13DefinitionsScriptStage":
|
|
4006
4010
|
return cls(
|
|
4011
|
+
file=str(data["file"]),
|
|
4007
4012
|
title=str(data["title"]),
|
|
4008
|
-
id=str(data["id"]),
|
|
4009
4013
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4010
|
-
file=str(data["file"]),
|
|
4011
4014
|
transitions=[
|
|
4012
4015
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4013
4016
|
for item in data["transitions"]
|
|
4014
4017
|
],
|
|
4018
|
+
id=str(data["id"]),
|
|
4015
4019
|
is_initial=bool(data["is_initial"]),
|
|
4016
4020
|
)
|
|
4017
4021
|
|
|
@@ -4400,9 +4404,9 @@ class CommonAbstraJsonV12Home:
|
|
|
4400
4404
|
)
|
|
4401
4405
|
|
|
4402
4406
|
|
|
4403
|
-
|
|
4407
|
+
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4404
4408
|
|
|
4405
|
-
|
|
4409
|
+
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4406
4410
|
|
|
4407
4411
|
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
4408
4412
|
|
|
@@ -4410,8 +4414,6 @@ CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
|
4410
4414
|
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
4411
4415
|
]
|
|
4412
4416
|
|
|
4413
|
-
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4414
|
-
|
|
4415
4417
|
CommonAbstraJsonV12DefinitionsTransitionId = str
|
|
4416
4418
|
|
|
4417
4419
|
CommonAbstraJsonV12DefinitionsTransitionTargetId = str
|
|
@@ -4477,25 +4479,27 @@ CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
|
4477
4479
|
CommonAbstraJsonV12DefinitionsJobStageTransitionsItem
|
|
4478
4480
|
]
|
|
4479
4481
|
|
|
4482
|
+
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4483
|
+
|
|
4480
4484
|
CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
4481
4485
|
|
|
4482
4486
|
|
|
4483
4487
|
@dataclass
|
|
4484
4488
|
class CommonAbstraJsonV12DefinitionsJobStage:
|
|
4489
|
+
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4485
4490
|
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
4486
|
-
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4487
4491
|
workflow_position: CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition
|
|
4488
|
-
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4489
4492
|
transitions: CommonAbstraJsonV12DefinitionsJobStageTransitions
|
|
4493
|
+
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4490
4494
|
schedule: CommonAbstraJsonV12DefinitionsJobStageSchedule
|
|
4491
4495
|
|
|
4492
4496
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4493
4497
|
data = {}
|
|
4498
|
+
data["file"] = self.file
|
|
4494
4499
|
data["title"] = self.title
|
|
4495
|
-
data["id"] = self.id
|
|
4496
4500
|
data["workflow_position"] = self.workflow_position
|
|
4497
|
-
data["file"] = self.file
|
|
4498
4501
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4502
|
+
data["id"] = self.id
|
|
4499
4503
|
data["schedule"] = self.schedule
|
|
4500
4504
|
return data
|
|
4501
4505
|
|
|
@@ -4504,14 +4508,14 @@ class CommonAbstraJsonV12DefinitionsJobStage:
|
|
|
4504
4508
|
cls, data: typing.Dict[str, typing.Any]
|
|
4505
4509
|
) -> "CommonAbstraJsonV12DefinitionsJobStage":
|
|
4506
4510
|
return cls(
|
|
4511
|
+
file=str(data["file"]),
|
|
4507
4512
|
title=str(data["title"]),
|
|
4508
|
-
id=str(data["id"]),
|
|
4509
4513
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4510
|
-
file=str(data["file"]),
|
|
4511
4514
|
transitions=[
|
|
4512
4515
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4513
4516
|
for item in data["transitions"]
|
|
4514
4517
|
],
|
|
4518
|
+
id=str(data["id"]),
|
|
4515
4519
|
schedule=str(data["schedule"]),
|
|
4516
4520
|
)
|
|
4517
4521
|
|
|
@@ -4520,9 +4524,9 @@ CommonAbstraJsonV12JobsItem = CommonAbstraJsonV12DefinitionsJobStage
|
|
|
4520
4524
|
|
|
4521
4525
|
CommonAbstraJsonV12Jobs = typing.List[CommonAbstraJsonV12JobsItem]
|
|
4522
4526
|
|
|
4523
|
-
|
|
4527
|
+
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
4524
4528
|
|
|
4525
|
-
|
|
4529
|
+
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
4526
4530
|
|
|
4527
4531
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
4528
4532
|
|
|
@@ -4530,8 +4534,6 @@ CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
4530
4534
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem
|
|
4531
4535
|
]
|
|
4532
4536
|
|
|
4533
|
-
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
4534
|
-
|
|
4535
4537
|
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem = (
|
|
4536
4538
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4537
4539
|
)
|
|
@@ -4540,34 +4542,36 @@ CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
|
4540
4542
|
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
4541
4543
|
]
|
|
4542
4544
|
|
|
4543
|
-
|
|
4545
|
+
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4546
|
+
|
|
4547
|
+
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4544
4548
|
|
|
4545
4549
|
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
4546
4550
|
|
|
4547
|
-
|
|
4551
|
+
CommonAbstraJsonV12DefinitionsHookStageEnabled = bool
|
|
4548
4552
|
|
|
4549
4553
|
|
|
4550
4554
|
@dataclass
|
|
4551
4555
|
class CommonAbstraJsonV12DefinitionsHookStage:
|
|
4556
|
+
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4552
4557
|
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
4553
|
-
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4554
4558
|
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
4555
|
-
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4556
4559
|
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
4557
|
-
|
|
4558
|
-
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4560
|
+
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4559
4561
|
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
4562
|
+
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4563
|
+
enabled: CommonAbstraJsonV12DefinitionsHookStageEnabled
|
|
4560
4564
|
|
|
4561
4565
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4562
4566
|
data = {}
|
|
4567
|
+
data["file"] = self.file
|
|
4563
4568
|
data["title"] = self.title
|
|
4564
|
-
data["id"] = self.id
|
|
4565
4569
|
data["workflow_position"] = self.workflow_position
|
|
4566
|
-
data["file"] = self.file
|
|
4567
4570
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4568
|
-
data["
|
|
4569
|
-
data["is_initial"] = self.is_initial
|
|
4571
|
+
data["id"] = self.id
|
|
4570
4572
|
data["path"] = self.path
|
|
4573
|
+
data["is_initial"] = self.is_initial
|
|
4574
|
+
data["enabled"] = self.enabled
|
|
4571
4575
|
return data
|
|
4572
4576
|
|
|
4573
4577
|
@classmethod
|
|
@@ -4575,17 +4579,17 @@ class CommonAbstraJsonV12DefinitionsHookStage:
|
|
|
4575
4579
|
cls, data: typing.Dict[str, typing.Any]
|
|
4576
4580
|
) -> "CommonAbstraJsonV12DefinitionsHookStage":
|
|
4577
4581
|
return cls(
|
|
4582
|
+
file=str(data["file"]),
|
|
4578
4583
|
title=str(data["title"]),
|
|
4579
|
-
id=str(data["id"]),
|
|
4580
4584
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4581
|
-
file=str(data["file"]),
|
|
4582
4585
|
transitions=[
|
|
4583
4586
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4584
4587
|
for item in data["transitions"]
|
|
4585
4588
|
],
|
|
4586
|
-
|
|
4587
|
-
is_initial=bool(data["is_initial"]),
|
|
4589
|
+
id=str(data["id"]),
|
|
4588
4590
|
path=str(data["path"]),
|
|
4591
|
+
is_initial=bool(data["is_initial"]),
|
|
4592
|
+
enabled=bool(data["enabled"]),
|
|
4589
4593
|
)
|
|
4590
4594
|
|
|
4591
4595
|
|
|
@@ -4593,9 +4597,9 @@ CommonAbstraJsonV12HooksItem = CommonAbstraJsonV12DefinitionsHookStage
|
|
|
4593
4597
|
|
|
4594
4598
|
CommonAbstraJsonV12Hooks = typing.List[CommonAbstraJsonV12HooksItem]
|
|
4595
4599
|
|
|
4596
|
-
|
|
4600
|
+
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
4597
4601
|
|
|
4598
|
-
|
|
4602
|
+
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
4599
4603
|
|
|
4600
4604
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
4601
4605
|
|
|
@@ -4603,8 +4607,6 @@ CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
4603
4607
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem
|
|
4604
4608
|
]
|
|
4605
4609
|
|
|
4606
|
-
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
4607
|
-
|
|
4608
4610
|
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem = (
|
|
4609
4611
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4610
4612
|
)
|
|
@@ -4613,13 +4615,26 @@ CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
|
4613
4615
|
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
4614
4616
|
]
|
|
4615
4617
|
|
|
4616
|
-
|
|
4618
|
+
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4617
4619
|
|
|
4618
|
-
|
|
4620
|
+
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4619
4621
|
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4622
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
4623
|
+
|
|
4624
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull = type(None)
|
|
4625
|
+
|
|
4626
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
4627
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString,
|
|
4628
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
4629
|
+
]
|
|
4630
|
+
|
|
4631
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString = str
|
|
4632
|
+
|
|
4633
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
4634
|
+
|
|
4635
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
4636
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString,
|
|
4637
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4623
4638
|
]
|
|
4624
4639
|
|
|
4625
4640
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
@@ -4631,17 +4646,6 @@ CommonAbstraJsonV12DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
4631
4646
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull,
|
|
4632
4647
|
]
|
|
4633
4648
|
|
|
4634
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4635
|
-
|
|
4636
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
4637
|
-
|
|
4638
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
4639
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
4640
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4641
|
-
]
|
|
4642
|
-
|
|
4643
|
-
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4644
|
-
|
|
4645
4649
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString = str
|
|
4646
4650
|
|
|
4647
4651
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -4651,165 +4655,165 @@ CommonAbstraJsonV12DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
4651
4655
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull,
|
|
4652
4656
|
]
|
|
4653
4657
|
|
|
4654
|
-
|
|
4658
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
4655
4659
|
|
|
4656
|
-
|
|
4660
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4657
4661
|
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4662
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
4663
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
4664
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
4661
4665
|
]
|
|
4662
4666
|
|
|
4663
|
-
|
|
4667
|
+
CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic = bool
|
|
4664
4668
|
|
|
4665
|
-
|
|
4669
|
+
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
4666
4670
|
|
|
4667
|
-
|
|
4671
|
+
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRoles = typing.List[
|
|
4672
|
+
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRolesItem
|
|
4673
|
+
]
|
|
4668
4674
|
|
|
4669
4675
|
|
|
4670
4676
|
@dataclass
|
|
4671
|
-
class
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
)
|
|
4675
|
-
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4677
|
+
class CommonAbstraJsonV12DefinitionsFormStageAccessControl:
|
|
4678
|
+
is_public: CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic
|
|
4679
|
+
required_roles: CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRoles
|
|
4676
4680
|
|
|
4677
4681
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4678
4682
|
data = {}
|
|
4679
|
-
data["
|
|
4680
|
-
data["
|
|
4683
|
+
data["is_public"] = self.is_public
|
|
4684
|
+
data["required_roles"] = self.required_roles
|
|
4681
4685
|
return data
|
|
4682
4686
|
|
|
4683
4687
|
@classmethod
|
|
4684
4688
|
def from_dict(
|
|
4685
4689
|
cls, data: typing.Dict[str, typing.Any]
|
|
4686
|
-
) -> "
|
|
4690
|
+
) -> "CommonAbstraJsonV12DefinitionsFormStageAccessControl":
|
|
4687
4691
|
return cls(
|
|
4688
|
-
|
|
4689
|
-
|
|
4692
|
+
is_public=bool(data["is_public"]),
|
|
4693
|
+
required_roles=[str(item) for item in data["required_roles"]],
|
|
4690
4694
|
)
|
|
4691
4695
|
|
|
4692
4696
|
|
|
4693
|
-
|
|
4697
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
4694
4698
|
|
|
4695
|
-
|
|
4699
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
4696
4700
|
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4701
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
4702
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageString,
|
|
4703
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4700
4704
|
]
|
|
4701
4705
|
|
|
4702
|
-
|
|
4706
|
+
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
4703
4707
|
|
|
4704
|
-
|
|
4708
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4705
4709
|
|
|
4706
|
-
|
|
4707
|
-
|
|
4710
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
4711
|
+
|
|
4712
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
4713
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
4714
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4708
4715
|
]
|
|
4709
4716
|
|
|
4717
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4718
|
+
|
|
4719
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4720
|
+
|
|
4710
4721
|
|
|
4711
4722
|
@dataclass
|
|
4712
|
-
class
|
|
4713
|
-
|
|
4714
|
-
|
|
4723
|
+
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4724
|
+
variable_name: (
|
|
4725
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4726
|
+
)
|
|
4727
|
+
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4715
4728
|
|
|
4716
4729
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4717
4730
|
data = {}
|
|
4718
|
-
data["
|
|
4719
|
-
data["
|
|
4731
|
+
data["variable_name"] = self.variable_name
|
|
4732
|
+
data["enabled"] = self.enabled
|
|
4720
4733
|
return data
|
|
4721
4734
|
|
|
4722
4735
|
@classmethod
|
|
4723
4736
|
def from_dict(
|
|
4724
4737
|
cls, data: typing.Dict[str, typing.Any]
|
|
4725
|
-
) -> "
|
|
4738
|
+
) -> "CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger":
|
|
4726
4739
|
return cls(
|
|
4727
|
-
|
|
4728
|
-
|
|
4740
|
+
variable_name=str(data["variable_name"]),
|
|
4741
|
+
enabled=bool(data["enabled"]),
|
|
4729
4742
|
)
|
|
4730
4743
|
|
|
4731
4744
|
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
4735
|
-
|
|
4736
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
4737
|
-
|
|
4738
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
4745
|
+
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4739
4746
|
|
|
4740
|
-
|
|
4741
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageString,
|
|
4742
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4743
|
-
]
|
|
4747
|
+
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
4744
4748
|
|
|
4745
4749
|
|
|
4746
4750
|
@dataclass
|
|
4747
4751
|
class CommonAbstraJsonV12DefinitionsFormStage:
|
|
4752
|
+
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4748
4753
|
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
4749
|
-
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4750
4754
|
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
4751
|
-
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4752
4755
|
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
4753
|
-
|
|
4754
|
-
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4755
|
-
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4756
|
-
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4757
|
-
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
4758
|
-
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4756
|
+
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4759
4757
|
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
4760
|
-
|
|
4758
|
+
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4761
4759
|
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
4760
|
+
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4761
|
+
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
4762
|
+
welcome_title: CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle
|
|
4762
4763
|
access_control: CommonAbstraJsonV12DefinitionsFormStageAccessControl
|
|
4763
|
-
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4764
|
-
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4765
4764
|
start_message: CommonAbstraJsonV12DefinitionsFormStageStartMessage
|
|
4765
|
+
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4766
|
+
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4767
|
+
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4768
|
+
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4769
|
+
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4766
4770
|
|
|
4767
4771
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4768
4772
|
data = {}
|
|
4773
|
+
data["file"] = self.file
|
|
4769
4774
|
data["title"] = self.title
|
|
4770
|
-
data["id"] = self.id
|
|
4771
4775
|
data["workflow_position"] = self.workflow_position
|
|
4772
|
-
data["file"] = self.file
|
|
4773
4776
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4774
|
-
data["
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
else self.
|
|
4777
|
+
data["id"] = self.id
|
|
4778
|
+
data["is_initial"] = self.is_initial
|
|
4779
|
+
data["end_message"] = (
|
|
4780
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4781
|
+
)
|
|
4782
|
+
data["timeout_message"] = (
|
|
4783
|
+
self.timeout_message
|
|
4784
|
+
if isinstance(self.timeout_message, str)
|
|
4785
|
+
else self.timeout_message
|
|
4778
4786
|
)
|
|
4779
4787
|
data["start_button_text"] = (
|
|
4780
4788
|
self.start_button_text
|
|
4781
4789
|
if isinstance(self.start_button_text, str)
|
|
4782
4790
|
else self.start_button_text
|
|
4783
4791
|
)
|
|
4784
|
-
data["restart_button_text"] = (
|
|
4785
|
-
self.restart_button_text
|
|
4786
|
-
if isinstance(self.restart_button_text, str)
|
|
4787
|
-
else self.restart_button_text
|
|
4788
|
-
)
|
|
4789
|
-
data["path"] = self.path
|
|
4790
4792
|
data["error_message"] = (
|
|
4791
4793
|
self.error_message
|
|
4792
4794
|
if isinstance(self.error_message, str)
|
|
4793
4795
|
else self.error_message
|
|
4794
4796
|
)
|
|
4795
|
-
data["
|
|
4796
|
-
self.
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4800
|
-
data["timeout_message"] = (
|
|
4801
|
-
self.timeout_message
|
|
4802
|
-
if isinstance(self.timeout_message, str)
|
|
4803
|
-
else self.timeout_message
|
|
4797
|
+
data["welcome_title"] = (
|
|
4798
|
+
self.welcome_title
|
|
4799
|
+
if isinstance(self.welcome_title, str)
|
|
4800
|
+
else self.welcome_title
|
|
4804
4801
|
)
|
|
4805
4802
|
data["access_control"] = self.access_control.to_dict()
|
|
4806
|
-
data["allow_restart"] = self.allow_restart
|
|
4807
|
-
data["auto_start"] = self.auto_start
|
|
4808
4803
|
data["start_message"] = (
|
|
4809
4804
|
self.start_message
|
|
4810
4805
|
if isinstance(self.start_message, str)
|
|
4811
4806
|
else self.start_message
|
|
4812
4807
|
)
|
|
4808
|
+
data["auto_start"] = self.auto_start
|
|
4809
|
+
data["restart_button_text"] = (
|
|
4810
|
+
self.restart_button_text
|
|
4811
|
+
if isinstance(self.restart_button_text, str)
|
|
4812
|
+
else self.restart_button_text
|
|
4813
|
+
)
|
|
4814
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4815
|
+
data["path"] = self.path
|
|
4816
|
+
data["allow_restart"] = self.allow_restart
|
|
4813
4817
|
return data
|
|
4814
4818
|
|
|
4815
4819
|
@classmethod
|
|
@@ -4817,17 +4821,23 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4817
4821
|
cls, data: typing.Dict[str, typing.Any]
|
|
4818
4822
|
) -> "CommonAbstraJsonV12DefinitionsFormStage":
|
|
4819
4823
|
return cls(
|
|
4824
|
+
file=str(data["file"]),
|
|
4820
4825
|
title=str(data["title"]),
|
|
4821
|
-
id=str(data["id"]),
|
|
4822
4826
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4823
|
-
file=str(data["file"]),
|
|
4824
4827
|
transitions=[
|
|
4825
4828
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4826
4829
|
for item in data["transitions"]
|
|
4827
4830
|
],
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
+
id=str(data["id"]),
|
|
4832
|
+
is_initial=bool(data["is_initial"]),
|
|
4833
|
+
end_message=(
|
|
4834
|
+
str(data["end_message"])
|
|
4835
|
+
if isinstance(data["end_message"], str)
|
|
4836
|
+
else None
|
|
4837
|
+
),
|
|
4838
|
+
timeout_message=(
|
|
4839
|
+
str(data["timeout_message"])
|
|
4840
|
+
if isinstance(data["timeout_message"], str)
|
|
4831
4841
|
else None
|
|
4832
4842
|
),
|
|
4833
4843
|
start_button_text=(
|
|
@@ -4835,41 +4845,35 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4835
4845
|
if isinstance(data["start_button_text"], str)
|
|
4836
4846
|
else None
|
|
4837
4847
|
),
|
|
4838
|
-
restart_button_text=(
|
|
4839
|
-
str(data["restart_button_text"])
|
|
4840
|
-
if isinstance(data["restart_button_text"], str)
|
|
4841
|
-
else None
|
|
4842
|
-
),
|
|
4843
|
-
path=str(data["path"]),
|
|
4844
4848
|
error_message=(
|
|
4845
4849
|
str(data["error_message"])
|
|
4846
4850
|
if isinstance(data["error_message"], str)
|
|
4847
4851
|
else None
|
|
4848
4852
|
),
|
|
4849
|
-
|
|
4850
|
-
str(data["
|
|
4851
|
-
if isinstance(data["
|
|
4852
|
-
else None
|
|
4853
|
-
),
|
|
4854
|
-
is_initial=bool(data["is_initial"]),
|
|
4855
|
-
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4856
|
-
data["notification_trigger"]
|
|
4857
|
-
),
|
|
4858
|
-
timeout_message=(
|
|
4859
|
-
str(data["timeout_message"])
|
|
4860
|
-
if isinstance(data["timeout_message"], str)
|
|
4853
|
+
welcome_title=(
|
|
4854
|
+
str(data["welcome_title"])
|
|
4855
|
+
if isinstance(data["welcome_title"], str)
|
|
4861
4856
|
else None
|
|
4862
4857
|
),
|
|
4863
4858
|
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
4864
4859
|
data["access_control"]
|
|
4865
4860
|
),
|
|
4866
|
-
allow_restart=bool(data["allow_restart"]),
|
|
4867
|
-
auto_start=bool(data["auto_start"]),
|
|
4868
4861
|
start_message=(
|
|
4869
4862
|
str(data["start_message"])
|
|
4870
4863
|
if isinstance(data["start_message"], str)
|
|
4871
4864
|
else None
|
|
4872
4865
|
),
|
|
4866
|
+
auto_start=bool(data["auto_start"]),
|
|
4867
|
+
restart_button_text=(
|
|
4868
|
+
str(data["restart_button_text"])
|
|
4869
|
+
if isinstance(data["restart_button_text"], str)
|
|
4870
|
+
else None
|
|
4871
|
+
),
|
|
4872
|
+
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4873
|
+
data["notification_trigger"]
|
|
4874
|
+
),
|
|
4875
|
+
path=str(data["path"]),
|
|
4876
|
+
allow_restart=bool(data["allow_restart"]),
|
|
4873
4877
|
)
|
|
4874
4878
|
|
|
4875
4879
|
|
|
@@ -4877,9 +4881,9 @@ CommonAbstraJsonV12FormsItem = CommonAbstraJsonV12DefinitionsFormStage
|
|
|
4877
4881
|
|
|
4878
4882
|
CommonAbstraJsonV12Forms = typing.List[CommonAbstraJsonV12FormsItem]
|
|
4879
4883
|
|
|
4880
|
-
|
|
4884
|
+
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4881
4885
|
|
|
4882
|
-
|
|
4886
|
+
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
4883
4887
|
|
|
4884
4888
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
4885
4889
|
|
|
@@ -4887,8 +4891,6 @@ CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
4887
4891
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem
|
|
4888
4892
|
]
|
|
4889
4893
|
|
|
4890
|
-
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4891
|
-
|
|
4892
4894
|
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem = (
|
|
4893
4895
|
CommonAbstraJsonV12DefinitionsTransition
|
|
4894
4896
|
)
|
|
@@ -4897,25 +4899,27 @@ CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
|
4897
4899
|
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
4898
4900
|
]
|
|
4899
4901
|
|
|
4902
|
+
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4903
|
+
|
|
4900
4904
|
CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
4901
4905
|
|
|
4902
4906
|
|
|
4903
4907
|
@dataclass
|
|
4904
4908
|
class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
4909
|
+
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4905
4910
|
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
4906
|
-
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4907
4911
|
workflow_position: CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition
|
|
4908
|
-
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4909
4912
|
transitions: CommonAbstraJsonV12DefinitionsScriptStageTransitions
|
|
4913
|
+
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4910
4914
|
is_initial: CommonAbstraJsonV12DefinitionsScriptStageIsInitial
|
|
4911
4915
|
|
|
4912
4916
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4913
4917
|
data = {}
|
|
4918
|
+
data["file"] = self.file
|
|
4914
4919
|
data["title"] = self.title
|
|
4915
|
-
data["id"] = self.id
|
|
4916
4920
|
data["workflow_position"] = self.workflow_position
|
|
4917
|
-
data["file"] = self.file
|
|
4918
4921
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4922
|
+
data["id"] = self.id
|
|
4919
4923
|
data["is_initial"] = self.is_initial
|
|
4920
4924
|
return data
|
|
4921
4925
|
|
|
@@ -4924,14 +4928,14 @@ class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
|
4924
4928
|
cls, data: typing.Dict[str, typing.Any]
|
|
4925
4929
|
) -> "CommonAbstraJsonV12DefinitionsScriptStage":
|
|
4926
4930
|
return cls(
|
|
4931
|
+
file=str(data["file"]),
|
|
4927
4932
|
title=str(data["title"]),
|
|
4928
|
-
id=str(data["id"]),
|
|
4929
4933
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4930
|
-
file=str(data["file"]),
|
|
4931
4934
|
transitions=[
|
|
4932
4935
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4933
4936
|
for item in data["transitions"]
|
|
4934
4937
|
],
|
|
4938
|
+
id=str(data["id"]),
|
|
4935
4939
|
is_initial=bool(data["is_initial"]),
|
|
4936
4940
|
)
|
|
4937
4941
|
|
|
@@ -6660,6 +6664,7 @@ CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerType = typing.Unio
|
|
|
6660
6664
|
typing.Literal["onfly"],
|
|
6661
6665
|
typing.Literal["shared"],
|
|
6662
6666
|
typing.Literal["test"],
|
|
6667
|
+
typing.Literal["abstra-projects"],
|
|
6663
6668
|
]
|
|
6664
6669
|
|
|
6665
6670
|
CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerTypeValues: typing.List[
|
|
@@ -6676,6 +6681,7 @@ CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerTypeValues: typing
|
|
|
6676
6681
|
"onfly",
|
|
6677
6682
|
"shared",
|
|
6678
6683
|
"test",
|
|
6684
|
+
"abstra-projects",
|
|
6679
6685
|
]
|
|
6680
6686
|
|
|
6681
6687
|
CommonDeploymentResourcesOrganizationDeploymentResourcesPythonVersion = typing.Union[
|
|
@@ -6869,6 +6875,7 @@ CommonDeploymentResourcesProjectDeploymentResourcesWorkerType = typing.Union[
|
|
|
6869
6875
|
typing.Literal["onfly"],
|
|
6870
6876
|
typing.Literal["shared"],
|
|
6871
6877
|
typing.Literal["test"],
|
|
6878
|
+
typing.Literal["abstra-projects"],
|
|
6872
6879
|
]
|
|
6873
6880
|
|
|
6874
6881
|
CommonDeploymentResourcesProjectDeploymentResourcesWorkerTypeValues: typing.List[
|
|
@@ -6885,6 +6892,7 @@ CommonDeploymentResourcesProjectDeploymentResourcesWorkerTypeValues: typing.List
|
|
|
6885
6892
|
"onfly",
|
|
6886
6893
|
"shared",
|
|
6887
6894
|
"test",
|
|
6895
|
+
"abstra-projects",
|
|
6888
6896
|
]
|
|
6889
6897
|
|
|
6890
6898
|
CommonDeploymentResourcesProjectDeploymentResourcesPythonVersion = typing.Union[
|