abstra 3.24.7__py3-none-any.whl → 3.24.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {abstra-3.24.7.dist-info → abstra-3.24.9.dist-info}/METADATA +1 -1
- {abstra-3.24.7.dist-info → abstra-3.24.9.dist-info}/RECORD +185 -184
- abstra_internals/contracts_generated.py +916 -762
- abstra_internals/controllers/git.py +18 -20
- abstra_internals/controllers/main.py +8 -4
- abstra_internals/repositories/git/git_test.py +2 -2
- abstra_internals/repositories/git/native.py +96 -44
- abstra_internals/repositories/git/types.py +9 -7
- abstra_internals/repositories/tasks.py +22 -21
- abstra_internals/services/fs.py +25 -0
- abstra_internals/services/sql_storage.py +2 -1
- abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.865dcbf3.js → AbstraButton.vue_vue_type_script_setup_true_lang.6efe348a.js} +2 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f628a3a7.js +2 -0
- abstra_statics/dist/assets/ApiKeys.5b43091f.js +2 -0
- abstra_statics/dist/assets/App.7a6ee8e5.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.1a83eeea.js +2 -0
- abstra_statics/dist/assets/{BaseLayout.31267389.js → BaseLayout.3c6f8614.js} +2 -2
- abstra_statics/dist/assets/{Billing.44f40d95.js → Billing.884bb3ce.js} +2 -2
- abstra_statics/dist/assets/{Breadcrumb.bc48ca6d.js → Breadcrumb.438b89fb.js} +2 -2
- abstra_statics/dist/assets/{Builds.5c884494.js → Builds.51e0c49e.js} +2 -2
- abstra_statics/dist/assets/{Card.eab9832f.js → Card.50ce0913.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.a4bd5a70.js → CircularLoading.50b3862c.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.eab14c9c.js +2 -0
- abstra_statics/dist/assets/ConnectorsView.35cc6db6.js +2 -0
- abstra_statics/dist/assets/ConnectorsView.36fa866f.css +1 -0
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.1c984a14.js +2 -0
- abstra_statics/dist/assets/ContentLayout.a0d4199d.js +2 -0
- abstra_statics/dist/assets/{CrudView.f8f7347d.js → CrudView.7997b881.js} +2 -2
- abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.264a92d9.js → DocsButton.vue_vue_type_script_setup_true_lang.39638c19.js} +2 -2
- abstra_statics/dist/assets/{EditorLogin.b8cbc772.js → EditorLogin.6506bc42.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.580cabb0.js → EditorsView.2aad2cdc.js} +2 -2
- abstra_statics/dist/assets/EnvVars.e641237f.js +2 -0
- abstra_statics/dist/assets/Error.a11619e5.js +2 -0
- abstra_statics/dist/assets/ExclamationCircleOutlined.1d559548.js +2 -0
- abstra_statics/dist/assets/ExecutionContext.2933148d.js +2 -0
- abstra_statics/dist/assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.0b0c149c.js +2 -0
- abstra_statics/dist/assets/Files.7c98a5f9.css +1 -0
- abstra_statics/dist/assets/Files.db066999.js +3 -0
- abstra_statics/dist/assets/{Form.7ffaca31.js → Form.d99de13a.js} +2 -2
- abstra_statics/dist/assets/{FormRunner.eae15d54.js → FormRunner.8a803ade.js} +2 -2
- abstra_statics/dist/assets/{Home.5a499863.js → Home.a8e67e38.js} +2 -2
- abstra_statics/dist/assets/Home.c02c53bc.js +2 -0
- abstra_statics/dist/assets/LoadingContainer.b8fe55e6.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.d3cb97d3.js +2 -0
- abstra_statics/dist/assets/Login.ca3df8f4.js +2 -0
- abstra_statics/dist/assets/{Login.779e9007.js → Login.ec7eb4db.js} +2 -2
- abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.be982e9b.js +2 -0
- abstra_statics/dist/assets/Logo.29f26be1.js +2 -0
- abstra_statics/dist/assets/Logs.bc7d3080.js +2 -0
- abstra_statics/dist/assets/Main.17301685.js +2 -0
- abstra_statics/dist/assets/{MockForm.2aa4fc17.js → MockForm.8af08260.js} +2 -2
- abstra_statics/dist/assets/{Navbar.89b7a1da.js → Navbar.5991f141.js} +2 -2
- abstra_statics/dist/assets/NewEditor.133f8c4b.js +8 -0
- abstra_statics/dist/assets/OidcLoginCallback.7b41f933.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.80bebb62.js +2 -0
- abstra_statics/dist/assets/{OmniChat.60ee26c8.css → OmniChat.3576ab7f.css} +1 -1
- abstra_statics/dist/assets/OmniChat.724f1121.js +6 -0
- abstra_statics/dist/assets/OnboardingView.7f418009.js +2 -0
- abstra_statics/dist/assets/Organization.127db14f.js +2 -0
- abstra_statics/dist/assets/Organizations.5f418cc7.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.9a0ef441.js → PhArrowCounterClockwise.vue.de1d3ce9.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.e64bebdd.js → PhArrowSquareOut.vue.1a0f1395.js} +2 -2
- abstra_statics/dist/assets/PhArrowUp.vue.1c6a4ae8.js +2 -0
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.090be995.js → PhClockCounterClockwise.vue.3e79a514.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.2163dc9b.js → PhCopy.vue.d2b17064.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.df39762b.js → PhCopySimple.vue.f2bb863a.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.099137c1.js → PhCube.vue.be696878.js} +2 -2
- abstra_statics/dist/assets/PhDatabase.vue.3c4ba68c.js +2 -0
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.e9b1faec.js → PhDotsThreeVertical.vue.2c9a03d5.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.cba09010.js → PhDownloadSimple.vue.72db4fbb.js} +2 -2
- abstra_statics/dist/assets/{PhFileArrowUp.vue.8f2790df.js → PhFileArrowUp.vue.b7060fd8.js} +2 -2
- abstra_statics/dist/assets/{PhFilePlus.vue.18b183d7.js → PhFilePlus.vue.77ba2f5f.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.8dc4e304.js → PhFolderPlus.vue.57ec5e0d.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.15aaccf5.js → PhGear.vue.5abfda30.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.55642d36.js → PhKey.vue.dbf6964c.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.ea9f0def.js → PhPencil.vue.e6eaa716.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.2d6e76ca.js → PhPencilSimple.vue.a65250cc.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.ec0249c6.js → PhRocket.vue.9dde7cdd.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.1cca1af4.js → PhSignOut.vue.4b3b1f31.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.5ff46bd3.js → PhSparkle.vue.efe111c8.js} +2 -2
- abstra_statics/dist/assets/{PhTranslate.vue.077070e7.js → PhTranslate.vue.7ad27dac.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.a78365b2.js → PhUsersThree.vue.5f9bb416.js} +2 -2
- abstra_statics/dist/assets/{PhWarningCircle.vue.40ea25aa.js → PhWarningCircle.vue.365e8c06.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.a73cf99c.js → PhWebhooksLogo.vue.1684b943.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.8a1d38e8.js → PlayerConfigProvider.26c6fb0a.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.53f81c7f.js → PlayerNavbar.a0d1fdc3.js} +2 -2
- abstra_statics/dist/assets/Project.6575adc1.css +1 -0
- abstra_statics/dist/assets/Project.a4f24e83.js +2 -0
- abstra_statics/dist/assets/{ProjectLogin.972cff72.js → ProjectLogin.abc78e95.js} +2 -2
- abstra_statics/dist/assets/{ProjectSettings.183e39d3.js → ProjectSettings.de3aa0d0.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.31637152.js → ProjectsView.e4e50735.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.8e4a5fbe.js → SaveButton.8a907e20.js} +2 -2
- abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.22f3f279.js +2 -0
- abstra_statics/dist/assets/{Sidebar.adfed738.js → Sidebar.ea97a608.js} +2 -2
- abstra_statics/dist/assets/{Sql.bf31b294.js → Sql.3130cb2f.js} +3 -3
- abstra_statics/dist/assets/Steps.df853a47.js +2 -0
- abstra_statics/dist/assets/{TableCard.f71238a1.js → TableCard.0cffd3d6.js} +2 -2
- abstra_statics/dist/assets/TableEditor.52c6ffee.js +2 -0
- abstra_statics/dist/assets/Tables.933a0fea.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.29966818.js → TablesDiagram.687f6dfe.js} +3 -3
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.9649d1a2.js +2 -0
- abstra_statics/dist/assets/Tasks.331fcc80.js +2 -0
- abstra_statics/dist/assets/{UploadOutlined.654fb655.js → UploadOutlined.1c845819.js} +2 -2
- abstra_statics/dist/assets/{View.64f7c00a.js → View.8fb0d3d7.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.8892f80d.js → View.vue_vue_type_script_setup_true_lang.df0afc8c.js} +2 -2
- abstra_statics/dist/assets/{Watermark.2b4d030d.js → Watermark.b19c8a2c.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.a5e97d7a.js → WebEditor.52fc4d61.js} +2 -2
- abstra_statics/dist/assets/WidgetPreview.fab6933f.js +2 -0
- abstra_statics/dist/assets/WorkflowViewer.5d223e7a.css +1 -0
- abstra_statics/dist/assets/WorkflowViewer.b0072dc6.js +2 -0
- abstra_statics/dist/assets/ant-design.3284f24b.js +2 -0
- abstra_statics/dist/assets/{apiKey.1bb9c6d2.js → apiKey.66dca0fa.js} +2 -2
- abstra_statics/dist/assets/asyncComputed.515034b4.js +2 -0
- abstra_statics/dist/assets/{build.bfc699c6.js → build.11c6f0e3.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.43bbe7b2.js +2 -0
- abstra_statics/dist/assets/{console.21189c1b.js → console.f9961195.js} +2 -2
- abstra_statics/dist/assets/constants.2cdc2025.js +2 -0
- abstra_statics/dist/assets/contracts.generated.36d5f7a5.js +2 -0
- abstra_statics/dist/assets/{cssMode.766de8eb.js → cssMode.38709828.js} +2 -2
- abstra_statics/dist/assets/datetime.cc6674fd.js +2 -0
- abstra_statics/dist/assets/dayjs.aa0a07d8.js +2 -0
- abstra_statics/dist/assets/editor.90099ba3.js +2 -0
- abstra_statics/dist/assets/editor.main.a098da72.js +2 -0
- abstra_statics/dist/assets/fetch.331404cf.js +2 -0
- abstra_statics/dist/assets/file.0cd01b5c.js +2 -0
- abstra_statics/dist/assets/folder.304ce6aa.js +2 -0
- abstra_statics/dist/assets/{freemarker2.a1e074e9.js → freemarker2.16d5855a.js} +2 -2
- abstra_statics/dist/assets/{handlebars.ef746198.js → handlebars.3657e980.js} +2 -2
- abstra_statics/dist/assets/{html.36bc618f.js → html.cbb1f517.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.2557714f.js → htmlMode.97252017.js} +2 -2
- abstra_statics/dist/assets/{index.cfbca287.js → index.1a374af6.js} +3 -3
- abstra_statics/dist/assets/{index.95966207.js → index.1f86e84b.js} +2 -2
- abstra_statics/dist/assets/{index.88a43c5d.js → index.64d118e9.js} +2 -2
- abstra_statics/dist/assets/{index.b57ea477.js → index.97648248.js} +2 -2
- abstra_statics/dist/assets/{index.8391f105.js → index.9a7dc377.js} +2 -2
- abstra_statics/dist/assets/{index.cb46e99b.js → index.9f357119.js} +2 -2
- abstra_statics/dist/assets/{index.0389f2ff.js → index.c7722f54.js} +2 -2
- abstra_statics/dist/assets/index.dcd602fc.js +2 -0
- abstra_statics/dist/assets/{index.6a5e28c0.js → index.ed2240ea.js} +2 -2
- abstra_statics/dist/assets/{javascript.3ef3ca8e.js → javascript.d13ce088.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.bc3f9dc2.js → jsonMode.24ae805f.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.aa5b9ed3.css → jwt-decode.1a092264.css} +1 -1
- abstra_statics/dist/assets/{jwt-decode.esm.b9bb33e7.js → jwt-decode.esm.f87c17f7.js} +166 -161
- abstra_statics/dist/assets/linters.6d68fd4f.js +2 -0
- abstra_statics/dist/assets/{liquid.b8dbec9f.js → liquid.0cf9f71b.js} +3 -3
- abstra_statics/dist/assets/{member.a66ab498.js → member.c8206c64.js} +2 -2
- abstra_statics/dist/assets/{metadata.17375f25.js → metadata.f67c3158.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.c81c7dd1.js → omniChatStore.e205a0cd.js} +4 -4
- abstra_statics/dist/assets/{organization.31d7490b.js → organization.70cdf915.js} +2 -2
- abstra_statics/dist/assets/{os.cc382050.js → os.227120cb.js} +2 -2
- abstra_statics/dist/assets/player.58f997ee.js +2 -0
- abstra_statics/dist/assets/{plotly.min.e2ba2e19.js → plotly.min.6d8ffa2b.js} +2 -2
- abstra_statics/dist/assets/polling.9bc57b91.js +2 -0
- abstra_statics/dist/assets/project.25a396d4.js +2 -0
- abstra_statics/dist/assets/{python.ca19a8f2.js → python.0d8b442d.js} +3 -3
- abstra_statics/dist/assets/{razor.b73e652a.js → razor.4398e452.js} +2 -2
- abstra_statics/dist/assets/record.a8da6046.js +2 -0
- abstra_statics/dist/assets/{redirect.9d08109f.js → redirect.42fceb5c.js} +2 -2
- abstra_statics/dist/assets/{repository.819ee626.js → repository.c782b2ca.js} +2 -2
- abstra_statics/dist/assets/router.09566602.js +18 -0
- abstra_statics/dist/assets/router.9ee10098.js +2 -0
- abstra_statics/dist/assets/{string.04644599.js → string.0c102318.js} +2 -2
- abstra_statics/dist/assets/{tables.d6f8baad.js → tables.1b5568d1.js} +2 -2
- abstra_statics/dist/assets/tasksController.009192fc.js +4 -0
- abstra_statics/dist/assets/{toggleHighContrast.5c061b5e.js → toggleHighContrast.79cdeb2d.js} +7 -7
- abstra_statics/dist/assets/{tsMode.75ac2754.js → tsMode.0d573de8.js} +2 -2
- abstra_statics/dist/assets/{typescript.3c9ee25c.js → typescript.c72f7347.js} +3 -3
- abstra_statics/dist/assets/url.acca5643.js +2 -0
- abstra_statics/dist/assets/{useCodebaseEvents.fd37c61f.js → useCodebaseEvents.dc121de8.js} +2 -2
- abstra_statics/dist/assets/useTables.8402092e.js +2 -0
- abstra_statics/dist/assets/userStore.3989ac4e.js +2 -0
- abstra_statics/dist/assets/uuid.405a6e8d.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.6bb2a806.js → vue-flow-background.bbe978bf.js} +2 -2
- abstra_statics/dist/assets/{vue-flow-core.0cbcaed0.js → vue-flow-core.8bb3991b.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.6713b0a3.js → vue-quill.esm-bundler.4dc84b4c.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.583d9afd.js → workspaceStore.ef7daa80.js} +2 -2
- abstra_statics/dist/assets/xlsx.89ea120e.js +106 -0
- abstra_statics/dist/assets/{xml.046c0d24.js → xml.5ff29ab6.js} +3 -3
- abstra_statics/dist/assets/{yaml.ebe5a918.js → yaml.6d4103d3.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +14 -14
- abstra_statics/dist/player.html +10 -10
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.8204f8e4.js +0 -2
- abstra_statics/dist/assets/ApiKeys.0ebb0b5f.js +0 -2
- abstra_statics/dist/assets/App.fa5bd988.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.35b9297a.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.87d100e7.js +0 -2
- abstra_statics/dist/assets/ConnectorsView.89e278ce.js +0 -2
- abstra_statics/dist/assets/ConnectorsView.b594798e.css +0 -1
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.b3c015f9.js +0 -2
- abstra_statics/dist/assets/ContentLayout.8cfadb43.js +0 -2
- abstra_statics/dist/assets/EnvVars.8f5b7bdb.js +0 -2
- abstra_statics/dist/assets/Error.ee721fce.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.40ff37b4.js +0 -2
- abstra_statics/dist/assets/ExecutionContext.3f4e1ec7.js +0 -2
- abstra_statics/dist/assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.4f510b9a.js +0 -2
- abstra_statics/dist/assets/Files.39b07d88.css +0 -1
- abstra_statics/dist/assets/Files.db0a38ea.js +0 -2
- abstra_statics/dist/assets/Home.31aa421b.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.6b2e55a8.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.bcf2a831.js +0 -2
- abstra_statics/dist/assets/Login.53d97380.js +0 -2
- abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.f1a48ab2.js +0 -2
- abstra_statics/dist/assets/Logo.c4ca8242.js +0 -2
- abstra_statics/dist/assets/Logs.ef6eb243.js +0 -2
- abstra_statics/dist/assets/Main.b3e5d5fe.js +0 -2
- abstra_statics/dist/assets/NewEditor.0cd895fd.js +0 -8
- abstra_statics/dist/assets/OidcLoginCallback.9dd86a22.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.a60b6160.js +0 -2
- abstra_statics/dist/assets/OmniChat.00da5ca5.js +0 -6
- abstra_statics/dist/assets/OnboardingView.86178ead.js +0 -2
- abstra_statics/dist/assets/Organization.9bf814e7.js +0 -2
- abstra_statics/dist/assets/Organizations.7473e524.js +0 -2
- abstra_statics/dist/assets/PhDatabase.vue.33681014.js +0 -2
- abstra_statics/dist/assets/Project.1b9b8eee.js +0 -2
- abstra_statics/dist/assets/Project.9c418d2e.css +0 -1
- abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.2a9a82d1.js +0 -2
- abstra_statics/dist/assets/Steps.a55d381b.js +0 -2
- abstra_statics/dist/assets/TableEditor.1f5f6b45.js +0 -2
- abstra_statics/dist/assets/Tables.ae22a918.js +0 -39
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.9567dc60.js +0 -2
- abstra_statics/dist/assets/Tasks.db070216.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.40cbebe3.js +0 -2
- abstra_statics/dist/assets/WorkflowViewer.0a209003.css +0 -1
- abstra_statics/dist/assets/WorkflowViewer.b9f96c37.js +0 -2
- abstra_statics/dist/assets/ant-design.5ec0b6b3.js +0 -2
- abstra_statics/dist/assets/asyncComputed.7ddee0b0.js +0 -2
- abstra_statics/dist/assets/colorHelpers.53158244.js +0 -2
- abstra_statics/dist/assets/constants.0deee127.js +0 -2
- abstra_statics/dist/assets/contracts.generated.0a04f0c8.js +0 -2
- abstra_statics/dist/assets/datetime.0048a7b9.js +0 -2
- abstra_statics/dist/assets/dayjs.618c5367.js +0 -2
- abstra_statics/dist/assets/editor.64e4d209.js +0 -2
- abstra_statics/dist/assets/editor.main.08984606.js +0 -2
- abstra_statics/dist/assets/fetch.7b0def40.js +0 -2
- abstra_statics/dist/assets/files.8583d431.js +0 -2
- abstra_statics/dist/assets/folder.c07afb46.js +0 -2
- abstra_statics/dist/assets/index.36af13ac.js +0 -2
- abstra_statics/dist/assets/linters.f033aedb.js +0 -2
- abstra_statics/dist/assets/player.4ba2218c.js +0 -2
- abstra_statics/dist/assets/polling.bdac3134.js +0 -2
- abstra_statics/dist/assets/project.f3f1cd2e.js +0 -2
- abstra_statics/dist/assets/record.c01e7f08.js +0 -2
- abstra_statics/dist/assets/repository.88fdba21.js +0 -2
- abstra_statics/dist/assets/router.135b49e3.js +0 -18
- abstra_statics/dist/assets/router.d8fe262e.js +0 -2
- abstra_statics/dist/assets/tasksController.866fa385.js +0 -4
- abstra_statics/dist/assets/url.7fa35693.js +0 -2
- abstra_statics/dist/assets/useTables.1d5bf2b4.js +0 -2
- abstra_statics/dist/assets/userStore.3a2d2697.js +0 -2
- abstra_statics/dist/assets/uuid.40423699.js +0 -2
- {abstra-3.24.7.dist-info → abstra-3.24.9.dist-info}/WHEEL +0 -0
- {abstra-3.24.7.dist-info → abstra-3.24.9.dist-info}/entry_points.txt +0 -0
- {abstra-3.24.7.dist-info → abstra-3.24.9.dist-info}/top_level.txt +0 -0
|
@@ -583,6 +583,10 @@ CommonConnectorMetadataDescription = str
|
|
|
583
583
|
|
|
584
584
|
CommonConnectorMetadataLogoUrl = str
|
|
585
585
|
|
|
586
|
+
CommonConnectorMetadataTag = str
|
|
587
|
+
|
|
588
|
+
CommonConnectorMetadataBeta = bool
|
|
589
|
+
|
|
586
590
|
|
|
587
591
|
@dataclass
|
|
588
592
|
class CommonConnectorMetadata:
|
|
@@ -590,6 +594,12 @@ class CommonConnectorMetadata:
|
|
|
590
594
|
label: CommonConnectorMetadataLabel
|
|
591
595
|
description: CommonConnectorMetadataDescription
|
|
592
596
|
logo_url: CommonConnectorMetadataLogoUrl
|
|
597
|
+
tag: typing.Optional[CommonConnectorMetadataTag] = field(
|
|
598
|
+
default_factory=lambda: None
|
|
599
|
+
)
|
|
600
|
+
beta: typing.Optional[CommonConnectorMetadataBeta] = field(
|
|
601
|
+
default_factory=lambda: None
|
|
602
|
+
)
|
|
593
603
|
|
|
594
604
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
595
605
|
data = {}
|
|
@@ -597,6 +607,10 @@ class CommonConnectorMetadata:
|
|
|
597
607
|
data["label"] = self.label
|
|
598
608
|
data["description"] = self.description
|
|
599
609
|
data["logoUrl"] = self.logo_url
|
|
610
|
+
if self.tag is not None:
|
|
611
|
+
data["tag"] = self.tag
|
|
612
|
+
if self.beta is not None:
|
|
613
|
+
data["beta"] = self.beta
|
|
600
614
|
return data
|
|
601
615
|
|
|
602
616
|
@classmethod
|
|
@@ -606,6 +620,8 @@ class CommonConnectorMetadata:
|
|
|
606
620
|
label=str(data["label"]),
|
|
607
621
|
description=str(data["description"]),
|
|
608
622
|
logo_url=str(data["logoUrl"]),
|
|
623
|
+
tag=None if data.get("tag") is None else str(data["tag"]),
|
|
624
|
+
beta=None if data.get("beta") is None else bool(data["beta"]),
|
|
609
625
|
)
|
|
610
626
|
|
|
611
627
|
|
|
@@ -1999,10 +2015,18 @@ class CommonAbstraJsonV16Home:
|
|
|
1999
2015
|
)
|
|
2000
2016
|
|
|
2001
2017
|
|
|
2002
|
-
|
|
2018
|
+
CommonAbstraJsonV16DefinitionsJobStageId = str
|
|
2003
2019
|
|
|
2004
2020
|
CommonAbstraJsonV16DefinitionsJobStageTitle = str
|
|
2005
2021
|
|
|
2022
|
+
CommonAbstraJsonV16DefinitionsJobStageFile = str
|
|
2023
|
+
|
|
2024
|
+
CommonAbstraJsonV16DefinitionsJobStageWorkflowPositionItem = float
|
|
2025
|
+
|
|
2026
|
+
CommonAbstraJsonV16DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2027
|
+
CommonAbstraJsonV16DefinitionsJobStageWorkflowPositionItem
|
|
2028
|
+
]
|
|
2029
|
+
|
|
2006
2030
|
CommonAbstraJsonV16DefinitionsTransitionId = str
|
|
2007
2031
|
|
|
2008
2032
|
CommonAbstraJsonV16DefinitionsTransitionTargetId = str
|
|
@@ -2068,33 +2092,25 @@ CommonAbstraJsonV16DefinitionsJobStageTransitions = typing.List[
|
|
|
2068
2092
|
CommonAbstraJsonV16DefinitionsJobStageTransitionsItem
|
|
2069
2093
|
]
|
|
2070
2094
|
|
|
2071
|
-
CommonAbstraJsonV16DefinitionsJobStageWorkflowPositionItem = float
|
|
2072
|
-
|
|
2073
|
-
CommonAbstraJsonV16DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2074
|
-
CommonAbstraJsonV16DefinitionsJobStageWorkflowPositionItem
|
|
2075
|
-
]
|
|
2076
|
-
|
|
2077
|
-
CommonAbstraJsonV16DefinitionsJobStageId = str
|
|
2078
|
-
|
|
2079
2095
|
CommonAbstraJsonV16DefinitionsJobStageSchedule = str
|
|
2080
2096
|
|
|
2081
2097
|
|
|
2082
2098
|
@dataclass
|
|
2083
2099
|
class CommonAbstraJsonV16DefinitionsJobStage:
|
|
2084
|
-
|
|
2100
|
+
id: CommonAbstraJsonV16DefinitionsJobStageId
|
|
2085
2101
|
title: CommonAbstraJsonV16DefinitionsJobStageTitle
|
|
2086
|
-
|
|
2102
|
+
file: CommonAbstraJsonV16DefinitionsJobStageFile
|
|
2087
2103
|
workflow_position: CommonAbstraJsonV16DefinitionsJobStageWorkflowPosition
|
|
2088
|
-
|
|
2104
|
+
transitions: CommonAbstraJsonV16DefinitionsJobStageTransitions
|
|
2089
2105
|
schedule: CommonAbstraJsonV16DefinitionsJobStageSchedule
|
|
2090
2106
|
|
|
2091
2107
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2092
2108
|
data = {}
|
|
2093
|
-
data["
|
|
2109
|
+
data["id"] = self.id
|
|
2094
2110
|
data["title"] = self.title
|
|
2095
|
-
data["
|
|
2111
|
+
data["file"] = self.file
|
|
2096
2112
|
data["workflow_position"] = self.workflow_position
|
|
2097
|
-
data["
|
|
2113
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2098
2114
|
data["schedule"] = self.schedule
|
|
2099
2115
|
return data
|
|
2100
2116
|
|
|
@@ -2103,14 +2119,14 @@ class CommonAbstraJsonV16DefinitionsJobStage:
|
|
|
2103
2119
|
cls, data: typing.Dict[str, typing.Any]
|
|
2104
2120
|
) -> "CommonAbstraJsonV16DefinitionsJobStage":
|
|
2105
2121
|
return cls(
|
|
2106
|
-
|
|
2122
|
+
id=str(data["id"]),
|
|
2107
2123
|
title=str(data["title"]),
|
|
2124
|
+
file=str(data["file"]),
|
|
2125
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2108
2126
|
transitions=[
|
|
2109
2127
|
CommonAbstraJsonV16DefinitionsTransition.from_dict(item)
|
|
2110
2128
|
for item in data["transitions"]
|
|
2111
2129
|
],
|
|
2112
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2113
|
-
id=str(data["id"]),
|
|
2114
2130
|
schedule=str(data["schedule"]),
|
|
2115
2131
|
)
|
|
2116
2132
|
|
|
@@ -2119,17 +2135,11 @@ CommonAbstraJsonV16JobsItem = CommonAbstraJsonV16DefinitionsJobStage
|
|
|
2119
2135
|
|
|
2120
2136
|
CommonAbstraJsonV16Jobs = typing.List[CommonAbstraJsonV16JobsItem]
|
|
2121
2137
|
|
|
2122
|
-
|
|
2138
|
+
CommonAbstraJsonV16DefinitionsHookStageId = str
|
|
2123
2139
|
|
|
2124
2140
|
CommonAbstraJsonV16DefinitionsHookStageTitle = str
|
|
2125
2141
|
|
|
2126
|
-
|
|
2127
|
-
CommonAbstraJsonV16DefinitionsTransition
|
|
2128
|
-
)
|
|
2129
|
-
|
|
2130
|
-
CommonAbstraJsonV16DefinitionsHookStageTransitions = typing.List[
|
|
2131
|
-
CommonAbstraJsonV16DefinitionsHookStageTransitionsItem
|
|
2132
|
-
]
|
|
2142
|
+
CommonAbstraJsonV16DefinitionsHookStageFile = str
|
|
2133
2143
|
|
|
2134
2144
|
CommonAbstraJsonV16DefinitionsHookStageWorkflowPositionItem = float
|
|
2135
2145
|
|
|
@@ -2137,36 +2147,42 @@ CommonAbstraJsonV16DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
2137
2147
|
CommonAbstraJsonV16DefinitionsHookStageWorkflowPositionItem
|
|
2138
2148
|
]
|
|
2139
2149
|
|
|
2140
|
-
|
|
2150
|
+
CommonAbstraJsonV16DefinitionsHookStageTransitionsItem = (
|
|
2151
|
+
CommonAbstraJsonV16DefinitionsTransition
|
|
2152
|
+
)
|
|
2141
2153
|
|
|
2142
|
-
|
|
2154
|
+
CommonAbstraJsonV16DefinitionsHookStageTransitions = typing.List[
|
|
2155
|
+
CommonAbstraJsonV16DefinitionsHookStageTransitionsItem
|
|
2156
|
+
]
|
|
2157
|
+
|
|
2158
|
+
CommonAbstraJsonV16DefinitionsHookStageEnabled = bool
|
|
2143
2159
|
|
|
2144
2160
|
CommonAbstraJsonV16DefinitionsHookStagePath = str
|
|
2145
2161
|
|
|
2146
|
-
|
|
2162
|
+
CommonAbstraJsonV16DefinitionsHookStageIsInitial = bool
|
|
2147
2163
|
|
|
2148
2164
|
|
|
2149
2165
|
@dataclass
|
|
2150
2166
|
class CommonAbstraJsonV16DefinitionsHookStage:
|
|
2151
|
-
|
|
2167
|
+
id: CommonAbstraJsonV16DefinitionsHookStageId
|
|
2152
2168
|
title: CommonAbstraJsonV16DefinitionsHookStageTitle
|
|
2153
|
-
|
|
2169
|
+
file: CommonAbstraJsonV16DefinitionsHookStageFile
|
|
2154
2170
|
workflow_position: CommonAbstraJsonV16DefinitionsHookStageWorkflowPosition
|
|
2155
|
-
|
|
2156
|
-
is_initial: CommonAbstraJsonV16DefinitionsHookStageIsInitial
|
|
2157
|
-
path: CommonAbstraJsonV16DefinitionsHookStagePath
|
|
2171
|
+
transitions: CommonAbstraJsonV16DefinitionsHookStageTransitions
|
|
2158
2172
|
enabled: CommonAbstraJsonV16DefinitionsHookStageEnabled
|
|
2173
|
+
path: CommonAbstraJsonV16DefinitionsHookStagePath
|
|
2174
|
+
is_initial: CommonAbstraJsonV16DefinitionsHookStageIsInitial
|
|
2159
2175
|
|
|
2160
2176
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2161
2177
|
data = {}
|
|
2162
|
-
data["
|
|
2178
|
+
data["id"] = self.id
|
|
2163
2179
|
data["title"] = self.title
|
|
2164
|
-
data["
|
|
2180
|
+
data["file"] = self.file
|
|
2165
2181
|
data["workflow_position"] = self.workflow_position
|
|
2166
|
-
data["
|
|
2167
|
-
data["is_initial"] = self.is_initial
|
|
2168
|
-
data["path"] = self.path
|
|
2182
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2169
2183
|
data["enabled"] = self.enabled
|
|
2184
|
+
data["path"] = self.path
|
|
2185
|
+
data["is_initial"] = self.is_initial
|
|
2170
2186
|
return data
|
|
2171
2187
|
|
|
2172
2188
|
@classmethod
|
|
@@ -2174,17 +2190,17 @@ class CommonAbstraJsonV16DefinitionsHookStage:
|
|
|
2174
2190
|
cls, data: typing.Dict[str, typing.Any]
|
|
2175
2191
|
) -> "CommonAbstraJsonV16DefinitionsHookStage":
|
|
2176
2192
|
return cls(
|
|
2177
|
-
|
|
2193
|
+
id=str(data["id"]),
|
|
2178
2194
|
title=str(data["title"]),
|
|
2195
|
+
file=str(data["file"]),
|
|
2196
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2179
2197
|
transitions=[
|
|
2180
2198
|
CommonAbstraJsonV16DefinitionsTransition.from_dict(item)
|
|
2181
2199
|
for item in data["transitions"]
|
|
2182
2200
|
],
|
|
2183
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2184
|
-
id=str(data["id"]),
|
|
2185
|
-
is_initial=bool(data["is_initial"]),
|
|
2186
|
-
path=str(data["path"]),
|
|
2187
2201
|
enabled=bool(data["enabled"]),
|
|
2202
|
+
path=str(data["path"]),
|
|
2203
|
+
is_initial=bool(data["is_initial"]),
|
|
2188
2204
|
)
|
|
2189
2205
|
|
|
2190
2206
|
|
|
@@ -2192,10 +2208,18 @@ CommonAbstraJsonV16HooksItem = CommonAbstraJsonV16DefinitionsHookStage
|
|
|
2192
2208
|
|
|
2193
2209
|
CommonAbstraJsonV16Hooks = typing.List[CommonAbstraJsonV16HooksItem]
|
|
2194
2210
|
|
|
2195
|
-
|
|
2211
|
+
CommonAbstraJsonV16DefinitionsFormStageId = str
|
|
2196
2212
|
|
|
2197
2213
|
CommonAbstraJsonV16DefinitionsFormStageTitle = str
|
|
2198
2214
|
|
|
2215
|
+
CommonAbstraJsonV16DefinitionsFormStageFile = str
|
|
2216
|
+
|
|
2217
|
+
CommonAbstraJsonV16DefinitionsFormStageWorkflowPositionItem = float
|
|
2218
|
+
|
|
2219
|
+
CommonAbstraJsonV16DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2220
|
+
CommonAbstraJsonV16DefinitionsFormStageWorkflowPositionItem
|
|
2221
|
+
]
|
|
2222
|
+
|
|
2199
2223
|
CommonAbstraJsonV16DefinitionsFormStageTransitionsItem = (
|
|
2200
2224
|
CommonAbstraJsonV16DefinitionsTransition
|
|
2201
2225
|
)
|
|
@@ -2204,13 +2228,25 @@ CommonAbstraJsonV16DefinitionsFormStageTransitions = typing.List[
|
|
|
2204
2228
|
CommonAbstraJsonV16DefinitionsFormStageTransitionsItem
|
|
2205
2229
|
]
|
|
2206
2230
|
|
|
2207
|
-
|
|
2231
|
+
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageString = str
|
|
2208
2232
|
|
|
2209
|
-
|
|
2210
|
-
|
|
2233
|
+
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2234
|
+
|
|
2235
|
+
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2236
|
+
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageString,
|
|
2237
|
+
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageNull,
|
|
2211
2238
|
]
|
|
2212
2239
|
|
|
2213
|
-
|
|
2240
|
+
CommonAbstraJsonV16DefinitionsFormStageStartMessageString = str
|
|
2241
|
+
|
|
2242
|
+
CommonAbstraJsonV16DefinitionsFormStageStartMessageNull = type(None)
|
|
2243
|
+
|
|
2244
|
+
CommonAbstraJsonV16DefinitionsFormStageStartMessage = typing.Union[
|
|
2245
|
+
CommonAbstraJsonV16DefinitionsFormStageStartMessageString,
|
|
2246
|
+
CommonAbstraJsonV16DefinitionsFormStageStartMessageNull,
|
|
2247
|
+
]
|
|
2248
|
+
|
|
2249
|
+
CommonAbstraJsonV16DefinitionsFormStageIsInitial = bool
|
|
2214
2250
|
|
|
2215
2251
|
CommonAbstraJsonV16DefinitionsFormStageEndMessageString = str
|
|
2216
2252
|
|
|
@@ -2230,15 +2266,6 @@ CommonAbstraJsonV16DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
2230
2266
|
CommonAbstraJsonV16DefinitionsFormStageErrorMessageNull,
|
|
2231
2267
|
]
|
|
2232
2268
|
|
|
2233
|
-
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageString = str
|
|
2234
|
-
|
|
2235
|
-
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2236
|
-
|
|
2237
|
-
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2238
|
-
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageString,
|
|
2239
|
-
CommonAbstraJsonV16DefinitionsFormStageTimeoutMessageNull,
|
|
2240
|
-
]
|
|
2241
|
-
|
|
2242
2269
|
CommonAbstraJsonV16DefinitionsFormStageStartButtonTextString = str
|
|
2243
2270
|
|
|
2244
2271
|
CommonAbstraJsonV16DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -2248,8 +2275,6 @@ CommonAbstraJsonV16DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
2248
2275
|
CommonAbstraJsonV16DefinitionsFormStageStartButtonTextNull,
|
|
2249
2276
|
]
|
|
2250
2277
|
|
|
2251
|
-
CommonAbstraJsonV16DefinitionsFormStageIsInitial = bool
|
|
2252
|
-
|
|
2253
2278
|
CommonAbstraJsonV16DefinitionsFormStageAccessControlIsPublic = bool
|
|
2254
2279
|
|
|
2255
2280
|
CommonAbstraJsonV16DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -2280,19 +2305,6 @@ class CommonAbstraJsonV16DefinitionsFormStageAccessControl:
|
|
|
2280
2305
|
)
|
|
2281
2306
|
|
|
2282
2307
|
|
|
2283
|
-
CommonAbstraJsonV16DefinitionsFormStageStartMessageString = str
|
|
2284
|
-
|
|
2285
|
-
CommonAbstraJsonV16DefinitionsFormStageStartMessageNull = type(None)
|
|
2286
|
-
|
|
2287
|
-
CommonAbstraJsonV16DefinitionsFormStageStartMessage = typing.Union[
|
|
2288
|
-
CommonAbstraJsonV16DefinitionsFormStageStartMessageString,
|
|
2289
|
-
CommonAbstraJsonV16DefinitionsFormStageStartMessageNull,
|
|
2290
|
-
]
|
|
2291
|
-
|
|
2292
|
-
CommonAbstraJsonV16DefinitionsFormStagePath = str
|
|
2293
|
-
|
|
2294
|
-
CommonAbstraJsonV16DefinitionsFormStageAutoStart = bool
|
|
2295
|
-
|
|
2296
2308
|
CommonAbstraJsonV16DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2297
2309
|
|
|
2298
2310
|
CommonAbstraJsonV16DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
@@ -2321,31 +2333,47 @@ class CommonAbstraJsonV16DefinitionsFormStageNotificationTrigger:
|
|
|
2321
2333
|
)
|
|
2322
2334
|
|
|
2323
2335
|
|
|
2336
|
+
CommonAbstraJsonV16DefinitionsFormStagePath = str
|
|
2337
|
+
|
|
2338
|
+
CommonAbstraJsonV16DefinitionsFormStageAutoStart = bool
|
|
2339
|
+
|
|
2340
|
+
|
|
2324
2341
|
@dataclass
|
|
2325
2342
|
class CommonAbstraJsonV16DefinitionsFormStage:
|
|
2326
|
-
|
|
2343
|
+
id: CommonAbstraJsonV16DefinitionsFormStageId
|
|
2327
2344
|
title: CommonAbstraJsonV16DefinitionsFormStageTitle
|
|
2328
|
-
|
|
2345
|
+
file: CommonAbstraJsonV16DefinitionsFormStageFile
|
|
2329
2346
|
workflow_position: CommonAbstraJsonV16DefinitionsFormStageWorkflowPosition
|
|
2330
|
-
|
|
2347
|
+
transitions: CommonAbstraJsonV16DefinitionsFormStageTransitions
|
|
2348
|
+
timeout_message: CommonAbstraJsonV16DefinitionsFormStageTimeoutMessage
|
|
2349
|
+
start_message: CommonAbstraJsonV16DefinitionsFormStageStartMessage
|
|
2350
|
+
is_initial: CommonAbstraJsonV16DefinitionsFormStageIsInitial
|
|
2331
2351
|
end_message: CommonAbstraJsonV16DefinitionsFormStageEndMessage
|
|
2332
2352
|
error_message: CommonAbstraJsonV16DefinitionsFormStageErrorMessage
|
|
2333
|
-
timeout_message: CommonAbstraJsonV16DefinitionsFormStageTimeoutMessage
|
|
2334
2353
|
start_button_text: CommonAbstraJsonV16DefinitionsFormStageStartButtonText
|
|
2335
|
-
is_initial: CommonAbstraJsonV16DefinitionsFormStageIsInitial
|
|
2336
2354
|
access_control: CommonAbstraJsonV16DefinitionsFormStageAccessControl
|
|
2337
|
-
|
|
2355
|
+
notification_trigger: CommonAbstraJsonV16DefinitionsFormStageNotificationTrigger
|
|
2338
2356
|
path: CommonAbstraJsonV16DefinitionsFormStagePath
|
|
2339
2357
|
auto_start: CommonAbstraJsonV16DefinitionsFormStageAutoStart
|
|
2340
|
-
notification_trigger: CommonAbstraJsonV16DefinitionsFormStageNotificationTrigger
|
|
2341
2358
|
|
|
2342
2359
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2343
2360
|
data = {}
|
|
2344
|
-
data["
|
|
2361
|
+
data["id"] = self.id
|
|
2345
2362
|
data["title"] = self.title
|
|
2346
|
-
data["
|
|
2363
|
+
data["file"] = self.file
|
|
2347
2364
|
data["workflow_position"] = self.workflow_position
|
|
2348
|
-
data["
|
|
2365
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2366
|
+
data["timeout_message"] = (
|
|
2367
|
+
self.timeout_message
|
|
2368
|
+
if isinstance(self.timeout_message, str)
|
|
2369
|
+
else self.timeout_message
|
|
2370
|
+
)
|
|
2371
|
+
data["start_message"] = (
|
|
2372
|
+
self.start_message
|
|
2373
|
+
if isinstance(self.start_message, str)
|
|
2374
|
+
else self.start_message
|
|
2375
|
+
)
|
|
2376
|
+
data["is_initial"] = self.is_initial
|
|
2349
2377
|
data["end_message"] = (
|
|
2350
2378
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2351
2379
|
)
|
|
@@ -2354,26 +2382,15 @@ class CommonAbstraJsonV16DefinitionsFormStage:
|
|
|
2354
2382
|
if isinstance(self.error_message, str)
|
|
2355
2383
|
else self.error_message
|
|
2356
2384
|
)
|
|
2357
|
-
data["timeout_message"] = (
|
|
2358
|
-
self.timeout_message
|
|
2359
|
-
if isinstance(self.timeout_message, str)
|
|
2360
|
-
else self.timeout_message
|
|
2361
|
-
)
|
|
2362
2385
|
data["start_button_text"] = (
|
|
2363
2386
|
self.start_button_text
|
|
2364
2387
|
if isinstance(self.start_button_text, str)
|
|
2365
2388
|
else self.start_button_text
|
|
2366
2389
|
)
|
|
2367
|
-
data["is_initial"] = self.is_initial
|
|
2368
2390
|
data["access_control"] = self.access_control.to_dict()
|
|
2369
|
-
data["
|
|
2370
|
-
self.start_message
|
|
2371
|
-
if isinstance(self.start_message, str)
|
|
2372
|
-
else self.start_message
|
|
2373
|
-
)
|
|
2391
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2374
2392
|
data["path"] = self.path
|
|
2375
2393
|
data["auto_start"] = self.auto_start
|
|
2376
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2377
2394
|
return data
|
|
2378
2395
|
|
|
2379
2396
|
@classmethod
|
|
@@ -2381,14 +2398,25 @@ class CommonAbstraJsonV16DefinitionsFormStage:
|
|
|
2381
2398
|
cls, data: typing.Dict[str, typing.Any]
|
|
2382
2399
|
) -> "CommonAbstraJsonV16DefinitionsFormStage":
|
|
2383
2400
|
return cls(
|
|
2384
|
-
|
|
2401
|
+
id=str(data["id"]),
|
|
2385
2402
|
title=str(data["title"]),
|
|
2403
|
+
file=str(data["file"]),
|
|
2404
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2386
2405
|
transitions=[
|
|
2387
2406
|
CommonAbstraJsonV16DefinitionsTransition.from_dict(item)
|
|
2388
2407
|
for item in data["transitions"]
|
|
2389
2408
|
],
|
|
2390
|
-
|
|
2391
|
-
|
|
2409
|
+
timeout_message=(
|
|
2410
|
+
str(data["timeout_message"])
|
|
2411
|
+
if isinstance(data["timeout_message"], str)
|
|
2412
|
+
else None
|
|
2413
|
+
),
|
|
2414
|
+
start_message=(
|
|
2415
|
+
str(data["start_message"])
|
|
2416
|
+
if isinstance(data["start_message"], str)
|
|
2417
|
+
else None
|
|
2418
|
+
),
|
|
2419
|
+
is_initial=bool(data["is_initial"]),
|
|
2392
2420
|
end_message=(
|
|
2393
2421
|
str(data["end_message"])
|
|
2394
2422
|
if isinstance(data["end_message"], str)
|
|
@@ -2399,30 +2427,19 @@ class CommonAbstraJsonV16DefinitionsFormStage:
|
|
|
2399
2427
|
if isinstance(data["error_message"], str)
|
|
2400
2428
|
else None
|
|
2401
2429
|
),
|
|
2402
|
-
timeout_message=(
|
|
2403
|
-
str(data["timeout_message"])
|
|
2404
|
-
if isinstance(data["timeout_message"], str)
|
|
2405
|
-
else None
|
|
2406
|
-
),
|
|
2407
2430
|
start_button_text=(
|
|
2408
2431
|
str(data["start_button_text"])
|
|
2409
2432
|
if isinstance(data["start_button_text"], str)
|
|
2410
2433
|
else None
|
|
2411
2434
|
),
|
|
2412
|
-
is_initial=bool(data["is_initial"]),
|
|
2413
2435
|
access_control=CommonAbstraJsonV16DefinitionsFormStageAccessControl.from_dict(
|
|
2414
2436
|
data["access_control"]
|
|
2415
2437
|
),
|
|
2416
|
-
start_message=(
|
|
2417
|
-
str(data["start_message"])
|
|
2418
|
-
if isinstance(data["start_message"], str)
|
|
2419
|
-
else None
|
|
2420
|
-
),
|
|
2421
|
-
path=str(data["path"]),
|
|
2422
|
-
auto_start=bool(data["auto_start"]),
|
|
2423
2438
|
notification_trigger=CommonAbstraJsonV16DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2424
2439
|
data["notification_trigger"]
|
|
2425
2440
|
),
|
|
2441
|
+
path=str(data["path"]),
|
|
2442
|
+
auto_start=bool(data["auto_start"]),
|
|
2426
2443
|
)
|
|
2427
2444
|
|
|
2428
2445
|
|
|
@@ -2430,17 +2447,11 @@ CommonAbstraJsonV16FormsItem = CommonAbstraJsonV16DefinitionsFormStage
|
|
|
2430
2447
|
|
|
2431
2448
|
CommonAbstraJsonV16Forms = typing.List[CommonAbstraJsonV16FormsItem]
|
|
2432
2449
|
|
|
2433
|
-
|
|
2450
|
+
CommonAbstraJsonV16DefinitionsScriptStageId = str
|
|
2434
2451
|
|
|
2435
2452
|
CommonAbstraJsonV16DefinitionsScriptStageTitle = str
|
|
2436
2453
|
|
|
2437
|
-
|
|
2438
|
-
CommonAbstraJsonV16DefinitionsTransition
|
|
2439
|
-
)
|
|
2440
|
-
|
|
2441
|
-
CommonAbstraJsonV16DefinitionsScriptStageTransitions = typing.List[
|
|
2442
|
-
CommonAbstraJsonV16DefinitionsScriptStageTransitionsItem
|
|
2443
|
-
]
|
|
2454
|
+
CommonAbstraJsonV16DefinitionsScriptStageFile = str
|
|
2444
2455
|
|
|
2445
2456
|
CommonAbstraJsonV16DefinitionsScriptStageWorkflowPositionItem = float
|
|
2446
2457
|
|
|
@@ -2448,27 +2459,33 @@ CommonAbstraJsonV16DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
2448
2459
|
CommonAbstraJsonV16DefinitionsScriptStageWorkflowPositionItem
|
|
2449
2460
|
]
|
|
2450
2461
|
|
|
2451
|
-
|
|
2462
|
+
CommonAbstraJsonV16DefinitionsScriptStageTransitionsItem = (
|
|
2463
|
+
CommonAbstraJsonV16DefinitionsTransition
|
|
2464
|
+
)
|
|
2465
|
+
|
|
2466
|
+
CommonAbstraJsonV16DefinitionsScriptStageTransitions = typing.List[
|
|
2467
|
+
CommonAbstraJsonV16DefinitionsScriptStageTransitionsItem
|
|
2468
|
+
]
|
|
2452
2469
|
|
|
2453
2470
|
CommonAbstraJsonV16DefinitionsScriptStageIsInitial = bool
|
|
2454
2471
|
|
|
2455
2472
|
|
|
2456
2473
|
@dataclass
|
|
2457
2474
|
class CommonAbstraJsonV16DefinitionsScriptStage:
|
|
2458
|
-
|
|
2475
|
+
id: CommonAbstraJsonV16DefinitionsScriptStageId
|
|
2459
2476
|
title: CommonAbstraJsonV16DefinitionsScriptStageTitle
|
|
2460
|
-
|
|
2477
|
+
file: CommonAbstraJsonV16DefinitionsScriptStageFile
|
|
2461
2478
|
workflow_position: CommonAbstraJsonV16DefinitionsScriptStageWorkflowPosition
|
|
2462
|
-
|
|
2479
|
+
transitions: CommonAbstraJsonV16DefinitionsScriptStageTransitions
|
|
2463
2480
|
is_initial: CommonAbstraJsonV16DefinitionsScriptStageIsInitial
|
|
2464
2481
|
|
|
2465
2482
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2466
2483
|
data = {}
|
|
2467
|
-
data["
|
|
2484
|
+
data["id"] = self.id
|
|
2468
2485
|
data["title"] = self.title
|
|
2469
|
-
data["
|
|
2486
|
+
data["file"] = self.file
|
|
2470
2487
|
data["workflow_position"] = self.workflow_position
|
|
2471
|
-
data["
|
|
2488
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2472
2489
|
data["is_initial"] = self.is_initial
|
|
2473
2490
|
return data
|
|
2474
2491
|
|
|
@@ -2477,14 +2494,14 @@ class CommonAbstraJsonV16DefinitionsScriptStage:
|
|
|
2477
2494
|
cls, data: typing.Dict[str, typing.Any]
|
|
2478
2495
|
) -> "CommonAbstraJsonV16DefinitionsScriptStage":
|
|
2479
2496
|
return cls(
|
|
2480
|
-
|
|
2497
|
+
id=str(data["id"]),
|
|
2481
2498
|
title=str(data["title"]),
|
|
2499
|
+
file=str(data["file"]),
|
|
2500
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2482
2501
|
transitions=[
|
|
2483
2502
|
CommonAbstraJsonV16DefinitionsTransition.from_dict(item)
|
|
2484
2503
|
for item in data["transitions"]
|
|
2485
2504
|
],
|
|
2486
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2487
|
-
id=str(data["id"]),
|
|
2488
2505
|
is_initial=bool(data["is_initial"]),
|
|
2489
2506
|
)
|
|
2490
2507
|
|
|
@@ -2728,10 +2745,18 @@ class CommonAbstraJsonV15Home:
|
|
|
2728
2745
|
)
|
|
2729
2746
|
|
|
2730
2747
|
|
|
2731
|
-
|
|
2748
|
+
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
2732
2749
|
|
|
2733
2750
|
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
2734
2751
|
|
|
2752
|
+
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
2753
|
+
|
|
2754
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
2755
|
+
|
|
2756
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2757
|
+
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
2758
|
+
]
|
|
2759
|
+
|
|
2735
2760
|
CommonAbstraJsonV15DefinitionsTransitionId = str
|
|
2736
2761
|
|
|
2737
2762
|
CommonAbstraJsonV15DefinitionsTransitionTargetId = str
|
|
@@ -2797,33 +2822,25 @@ CommonAbstraJsonV15DefinitionsJobStageTransitions = typing.List[
|
|
|
2797
2822
|
CommonAbstraJsonV15DefinitionsJobStageTransitionsItem
|
|
2798
2823
|
]
|
|
2799
2824
|
|
|
2800
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
2801
|
-
|
|
2802
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition = typing.List[
|
|
2803
|
-
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem
|
|
2804
|
-
]
|
|
2805
|
-
|
|
2806
|
-
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
2807
|
-
|
|
2808
2825
|
CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
2809
2826
|
|
|
2810
2827
|
|
|
2811
2828
|
@dataclass
|
|
2812
2829
|
class CommonAbstraJsonV15DefinitionsJobStage:
|
|
2813
|
-
|
|
2830
|
+
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2814
2831
|
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2815
|
-
|
|
2832
|
+
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2816
2833
|
workflow_position: CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition
|
|
2817
|
-
|
|
2834
|
+
transitions: CommonAbstraJsonV15DefinitionsJobStageTransitions
|
|
2818
2835
|
schedule: CommonAbstraJsonV15DefinitionsJobStageSchedule
|
|
2819
2836
|
|
|
2820
2837
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2821
2838
|
data = {}
|
|
2822
|
-
data["
|
|
2839
|
+
data["id"] = self.id
|
|
2823
2840
|
data["title"] = self.title
|
|
2824
|
-
data["
|
|
2841
|
+
data["file"] = self.file
|
|
2825
2842
|
data["workflow_position"] = self.workflow_position
|
|
2826
|
-
data["
|
|
2843
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2827
2844
|
data["schedule"] = self.schedule
|
|
2828
2845
|
return data
|
|
2829
2846
|
|
|
@@ -2832,14 +2849,14 @@ class CommonAbstraJsonV15DefinitionsJobStage:
|
|
|
2832
2849
|
cls, data: typing.Dict[str, typing.Any]
|
|
2833
2850
|
) -> "CommonAbstraJsonV15DefinitionsJobStage":
|
|
2834
2851
|
return cls(
|
|
2835
|
-
|
|
2852
|
+
id=str(data["id"]),
|
|
2836
2853
|
title=str(data["title"]),
|
|
2854
|
+
file=str(data["file"]),
|
|
2855
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2837
2856
|
transitions=[
|
|
2838
2857
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2839
2858
|
for item in data["transitions"]
|
|
2840
2859
|
],
|
|
2841
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2842
|
-
id=str(data["id"]),
|
|
2843
2860
|
schedule=str(data["schedule"]),
|
|
2844
2861
|
)
|
|
2845
2862
|
|
|
@@ -2848,17 +2865,11 @@ CommonAbstraJsonV15JobsItem = CommonAbstraJsonV15DefinitionsJobStage
|
|
|
2848
2865
|
|
|
2849
2866
|
CommonAbstraJsonV15Jobs = typing.List[CommonAbstraJsonV15JobsItem]
|
|
2850
2867
|
|
|
2851
|
-
|
|
2868
|
+
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2852
2869
|
|
|
2853
2870
|
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2854
2871
|
|
|
2855
|
-
|
|
2856
|
-
CommonAbstraJsonV15DefinitionsTransition
|
|
2857
|
-
)
|
|
2858
|
-
|
|
2859
|
-
CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
2860
|
-
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2861
|
-
]
|
|
2872
|
+
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2862
2873
|
|
|
2863
2874
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
2864
2875
|
|
|
@@ -2866,36 +2877,42 @@ CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
2866
2877
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem
|
|
2867
2878
|
]
|
|
2868
2879
|
|
|
2869
|
-
|
|
2880
|
+
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem = (
|
|
2881
|
+
CommonAbstraJsonV15DefinitionsTransition
|
|
2882
|
+
)
|
|
2870
2883
|
|
|
2871
|
-
|
|
2884
|
+
CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
2885
|
+
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2886
|
+
]
|
|
2887
|
+
|
|
2888
|
+
CommonAbstraJsonV15DefinitionsHookStageEnabled = bool
|
|
2872
2889
|
|
|
2873
2890
|
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2874
2891
|
|
|
2875
|
-
|
|
2892
|
+
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2876
2893
|
|
|
2877
2894
|
|
|
2878
2895
|
@dataclass
|
|
2879
2896
|
class CommonAbstraJsonV15DefinitionsHookStage:
|
|
2880
|
-
|
|
2897
|
+
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2881
2898
|
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2882
|
-
|
|
2899
|
+
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2883
2900
|
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2884
|
-
|
|
2885
|
-
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2886
|
-
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2901
|
+
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2887
2902
|
enabled: CommonAbstraJsonV15DefinitionsHookStageEnabled
|
|
2903
|
+
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2904
|
+
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2888
2905
|
|
|
2889
2906
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2890
2907
|
data = {}
|
|
2891
|
-
data["
|
|
2908
|
+
data["id"] = self.id
|
|
2892
2909
|
data["title"] = self.title
|
|
2893
|
-
data["
|
|
2910
|
+
data["file"] = self.file
|
|
2894
2911
|
data["workflow_position"] = self.workflow_position
|
|
2895
|
-
data["
|
|
2896
|
-
data["is_initial"] = self.is_initial
|
|
2897
|
-
data["path"] = self.path
|
|
2912
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2898
2913
|
data["enabled"] = self.enabled
|
|
2914
|
+
data["path"] = self.path
|
|
2915
|
+
data["is_initial"] = self.is_initial
|
|
2899
2916
|
return data
|
|
2900
2917
|
|
|
2901
2918
|
@classmethod
|
|
@@ -2903,17 +2920,17 @@ class CommonAbstraJsonV15DefinitionsHookStage:
|
|
|
2903
2920
|
cls, data: typing.Dict[str, typing.Any]
|
|
2904
2921
|
) -> "CommonAbstraJsonV15DefinitionsHookStage":
|
|
2905
2922
|
return cls(
|
|
2906
|
-
|
|
2923
|
+
id=str(data["id"]),
|
|
2907
2924
|
title=str(data["title"]),
|
|
2925
|
+
file=str(data["file"]),
|
|
2926
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2908
2927
|
transitions=[
|
|
2909
2928
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2910
2929
|
for item in data["transitions"]
|
|
2911
2930
|
],
|
|
2912
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2913
|
-
id=str(data["id"]),
|
|
2914
|
-
is_initial=bool(data["is_initial"]),
|
|
2915
|
-
path=str(data["path"]),
|
|
2916
2931
|
enabled=bool(data["enabled"]),
|
|
2932
|
+
path=str(data["path"]),
|
|
2933
|
+
is_initial=bool(data["is_initial"]),
|
|
2917
2934
|
)
|
|
2918
2935
|
|
|
2919
2936
|
|
|
@@ -2921,10 +2938,18 @@ CommonAbstraJsonV15HooksItem = CommonAbstraJsonV15DefinitionsHookStage
|
|
|
2921
2938
|
|
|
2922
2939
|
CommonAbstraJsonV15Hooks = typing.List[CommonAbstraJsonV15HooksItem]
|
|
2923
2940
|
|
|
2924
|
-
|
|
2941
|
+
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2925
2942
|
|
|
2926
2943
|
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2927
2944
|
|
|
2945
|
+
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2946
|
+
|
|
2947
|
+
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
2948
|
+
|
|
2949
|
+
CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition = typing.List[
|
|
2950
|
+
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem
|
|
2951
|
+
]
|
|
2952
|
+
|
|
2928
2953
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem = (
|
|
2929
2954
|
CommonAbstraJsonV15DefinitionsTransition
|
|
2930
2955
|
)
|
|
@@ -2933,13 +2958,25 @@ CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
|
2933
2958
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem
|
|
2934
2959
|
]
|
|
2935
2960
|
|
|
2936
|
-
|
|
2961
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2937
2962
|
|
|
2938
|
-
|
|
2939
|
-
|
|
2963
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2964
|
+
|
|
2965
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2966
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2967
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2940
2968
|
]
|
|
2941
2969
|
|
|
2942
|
-
|
|
2970
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
2971
|
+
|
|
2972
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
2973
|
+
|
|
2974
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
2975
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageString,
|
|
2976
|
+
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2977
|
+
]
|
|
2978
|
+
|
|
2979
|
+
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2943
2980
|
|
|
2944
2981
|
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2945
2982
|
|
|
@@ -2959,15 +2996,6 @@ CommonAbstraJsonV15DefinitionsFormStageErrorMessage = typing.Union[
|
|
|
2959
2996
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull,
|
|
2960
2997
|
]
|
|
2961
2998
|
|
|
2962
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2963
|
-
|
|
2964
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2965
|
-
|
|
2966
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2967
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2968
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2969
|
-
]
|
|
2970
|
-
|
|
2971
2999
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
2972
3000
|
|
|
2973
3001
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -2977,8 +3005,6 @@ CommonAbstraJsonV15DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
2977
3005
|
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull,
|
|
2978
3006
|
]
|
|
2979
3007
|
|
|
2980
|
-
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2981
|
-
|
|
2982
3008
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic = bool
|
|
2983
3009
|
|
|
2984
3010
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -3009,19 +3035,6 @@ class CommonAbstraJsonV15DefinitionsFormStageAccessControl:
|
|
|
3009
3035
|
)
|
|
3010
3036
|
|
|
3011
3037
|
|
|
3012
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageString = str
|
|
3013
|
-
|
|
3014
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull = type(None)
|
|
3015
|
-
|
|
3016
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
3017
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageString,
|
|
3018
|
-
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
3019
|
-
]
|
|
3020
|
-
|
|
3021
|
-
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
3022
|
-
|
|
3023
|
-
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
3024
|
-
|
|
3025
3038
|
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3026
3039
|
|
|
3027
3040
|
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
@@ -3050,31 +3063,47 @@ class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
|
3050
3063
|
)
|
|
3051
3064
|
|
|
3052
3065
|
|
|
3066
|
+
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
3067
|
+
|
|
3068
|
+
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
3069
|
+
|
|
3070
|
+
|
|
3053
3071
|
@dataclass
|
|
3054
3072
|
class CommonAbstraJsonV15DefinitionsFormStage:
|
|
3055
|
-
|
|
3073
|
+
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
3056
3074
|
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
3057
|
-
|
|
3075
|
+
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
3058
3076
|
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
3059
|
-
|
|
3077
|
+
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
3078
|
+
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
3079
|
+
start_message: CommonAbstraJsonV15DefinitionsFormStageStartMessage
|
|
3080
|
+
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
3060
3081
|
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
3061
3082
|
error_message: CommonAbstraJsonV15DefinitionsFormStageErrorMessage
|
|
3062
|
-
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
3063
3083
|
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
3064
|
-
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
3065
3084
|
access_control: CommonAbstraJsonV15DefinitionsFormStageAccessControl
|
|
3066
|
-
|
|
3085
|
+
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
3067
3086
|
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
3068
3087
|
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
3069
|
-
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
3070
3088
|
|
|
3071
3089
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3072
3090
|
data = {}
|
|
3073
|
-
data["
|
|
3091
|
+
data["id"] = self.id
|
|
3074
3092
|
data["title"] = self.title
|
|
3075
|
-
data["
|
|
3093
|
+
data["file"] = self.file
|
|
3076
3094
|
data["workflow_position"] = self.workflow_position
|
|
3077
|
-
data["
|
|
3095
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3096
|
+
data["timeout_message"] = (
|
|
3097
|
+
self.timeout_message
|
|
3098
|
+
if isinstance(self.timeout_message, str)
|
|
3099
|
+
else self.timeout_message
|
|
3100
|
+
)
|
|
3101
|
+
data["start_message"] = (
|
|
3102
|
+
self.start_message
|
|
3103
|
+
if isinstance(self.start_message, str)
|
|
3104
|
+
else self.start_message
|
|
3105
|
+
)
|
|
3106
|
+
data["is_initial"] = self.is_initial
|
|
3078
3107
|
data["end_message"] = (
|
|
3079
3108
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3080
3109
|
)
|
|
@@ -3083,26 +3112,15 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
3083
3112
|
if isinstance(self.error_message, str)
|
|
3084
3113
|
else self.error_message
|
|
3085
3114
|
)
|
|
3086
|
-
data["timeout_message"] = (
|
|
3087
|
-
self.timeout_message
|
|
3088
|
-
if isinstance(self.timeout_message, str)
|
|
3089
|
-
else self.timeout_message
|
|
3090
|
-
)
|
|
3091
3115
|
data["start_button_text"] = (
|
|
3092
3116
|
self.start_button_text
|
|
3093
3117
|
if isinstance(self.start_button_text, str)
|
|
3094
3118
|
else self.start_button_text
|
|
3095
3119
|
)
|
|
3096
|
-
data["is_initial"] = self.is_initial
|
|
3097
3120
|
data["access_control"] = self.access_control.to_dict()
|
|
3098
|
-
data["
|
|
3099
|
-
self.start_message
|
|
3100
|
-
if isinstance(self.start_message, str)
|
|
3101
|
-
else self.start_message
|
|
3102
|
-
)
|
|
3121
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3103
3122
|
data["path"] = self.path
|
|
3104
3123
|
data["auto_start"] = self.auto_start
|
|
3105
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3106
3124
|
return data
|
|
3107
3125
|
|
|
3108
3126
|
@classmethod
|
|
@@ -3110,14 +3128,25 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
3110
3128
|
cls, data: typing.Dict[str, typing.Any]
|
|
3111
3129
|
) -> "CommonAbstraJsonV15DefinitionsFormStage":
|
|
3112
3130
|
return cls(
|
|
3113
|
-
|
|
3131
|
+
id=str(data["id"]),
|
|
3114
3132
|
title=str(data["title"]),
|
|
3133
|
+
file=str(data["file"]),
|
|
3134
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3115
3135
|
transitions=[
|
|
3116
3136
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
3117
3137
|
for item in data["transitions"]
|
|
3118
3138
|
],
|
|
3119
|
-
|
|
3120
|
-
|
|
3139
|
+
timeout_message=(
|
|
3140
|
+
str(data["timeout_message"])
|
|
3141
|
+
if isinstance(data["timeout_message"], str)
|
|
3142
|
+
else None
|
|
3143
|
+
),
|
|
3144
|
+
start_message=(
|
|
3145
|
+
str(data["start_message"])
|
|
3146
|
+
if isinstance(data["start_message"], str)
|
|
3147
|
+
else None
|
|
3148
|
+
),
|
|
3149
|
+
is_initial=bool(data["is_initial"]),
|
|
3121
3150
|
end_message=(
|
|
3122
3151
|
str(data["end_message"])
|
|
3123
3152
|
if isinstance(data["end_message"], str)
|
|
@@ -3128,30 +3157,19 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
3128
3157
|
if isinstance(data["error_message"], str)
|
|
3129
3158
|
else None
|
|
3130
3159
|
),
|
|
3131
|
-
timeout_message=(
|
|
3132
|
-
str(data["timeout_message"])
|
|
3133
|
-
if isinstance(data["timeout_message"], str)
|
|
3134
|
-
else None
|
|
3135
|
-
),
|
|
3136
3160
|
start_button_text=(
|
|
3137
3161
|
str(data["start_button_text"])
|
|
3138
3162
|
if isinstance(data["start_button_text"], str)
|
|
3139
3163
|
else None
|
|
3140
3164
|
),
|
|
3141
|
-
is_initial=bool(data["is_initial"]),
|
|
3142
3165
|
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
3143
3166
|
data["access_control"]
|
|
3144
3167
|
),
|
|
3145
|
-
start_message=(
|
|
3146
|
-
str(data["start_message"])
|
|
3147
|
-
if isinstance(data["start_message"], str)
|
|
3148
|
-
else None
|
|
3149
|
-
),
|
|
3150
|
-
path=str(data["path"]),
|
|
3151
|
-
auto_start=bool(data["auto_start"]),
|
|
3152
3168
|
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3153
3169
|
data["notification_trigger"]
|
|
3154
3170
|
),
|
|
3171
|
+
path=str(data["path"]),
|
|
3172
|
+
auto_start=bool(data["auto_start"]),
|
|
3155
3173
|
)
|
|
3156
3174
|
|
|
3157
3175
|
|
|
@@ -3159,17 +3177,11 @@ CommonAbstraJsonV15FormsItem = CommonAbstraJsonV15DefinitionsFormStage
|
|
|
3159
3177
|
|
|
3160
3178
|
CommonAbstraJsonV15Forms = typing.List[CommonAbstraJsonV15FormsItem]
|
|
3161
3179
|
|
|
3162
|
-
|
|
3180
|
+
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
3163
3181
|
|
|
3164
3182
|
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
3165
3183
|
|
|
3166
|
-
|
|
3167
|
-
CommonAbstraJsonV15DefinitionsTransition
|
|
3168
|
-
)
|
|
3169
|
-
|
|
3170
|
-
CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
3171
|
-
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
3172
|
-
]
|
|
3184
|
+
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
3173
3185
|
|
|
3174
3186
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
3175
3187
|
|
|
@@ -3177,27 +3189,33 @@ CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
3177
3189
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem
|
|
3178
3190
|
]
|
|
3179
3191
|
|
|
3180
|
-
|
|
3192
|
+
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem = (
|
|
3193
|
+
CommonAbstraJsonV15DefinitionsTransition
|
|
3194
|
+
)
|
|
3195
|
+
|
|
3196
|
+
CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
3197
|
+
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
3198
|
+
]
|
|
3181
3199
|
|
|
3182
3200
|
CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
3183
3201
|
|
|
3184
3202
|
|
|
3185
3203
|
@dataclass
|
|
3186
3204
|
class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
3187
|
-
|
|
3205
|
+
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
3188
3206
|
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
3189
|
-
|
|
3207
|
+
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
3190
3208
|
workflow_position: CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition
|
|
3191
|
-
|
|
3209
|
+
transitions: CommonAbstraJsonV15DefinitionsScriptStageTransitions
|
|
3192
3210
|
is_initial: CommonAbstraJsonV15DefinitionsScriptStageIsInitial
|
|
3193
3211
|
|
|
3194
3212
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3195
3213
|
data = {}
|
|
3196
|
-
data["
|
|
3214
|
+
data["id"] = self.id
|
|
3197
3215
|
data["title"] = self.title
|
|
3198
|
-
data["
|
|
3216
|
+
data["file"] = self.file
|
|
3199
3217
|
data["workflow_position"] = self.workflow_position
|
|
3200
|
-
data["
|
|
3218
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3201
3219
|
data["is_initial"] = self.is_initial
|
|
3202
3220
|
return data
|
|
3203
3221
|
|
|
@@ -3206,14 +3224,14 @@ class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
|
3206
3224
|
cls, data: typing.Dict[str, typing.Any]
|
|
3207
3225
|
) -> "CommonAbstraJsonV15DefinitionsScriptStage":
|
|
3208
3226
|
return cls(
|
|
3209
|
-
|
|
3227
|
+
id=str(data["id"]),
|
|
3210
3228
|
title=str(data["title"]),
|
|
3229
|
+
file=str(data["file"]),
|
|
3230
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3211
3231
|
transitions=[
|
|
3212
3232
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
3213
3233
|
for item in data["transitions"]
|
|
3214
3234
|
],
|
|
3215
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3216
|
-
id=str(data["id"]),
|
|
3217
3235
|
is_initial=bool(data["is_initial"]),
|
|
3218
3236
|
)
|
|
3219
3237
|
|
|
@@ -3457,10 +3475,18 @@ class CommonAbstraJsonV14Home:
|
|
|
3457
3475
|
)
|
|
3458
3476
|
|
|
3459
3477
|
|
|
3460
|
-
|
|
3478
|
+
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
3461
3479
|
|
|
3462
3480
|
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
3463
3481
|
|
|
3482
|
+
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
3483
|
+
|
|
3484
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
3485
|
+
|
|
3486
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3487
|
+
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
3488
|
+
]
|
|
3489
|
+
|
|
3464
3490
|
CommonAbstraJsonV14DefinitionsTransitionId = str
|
|
3465
3491
|
|
|
3466
3492
|
CommonAbstraJsonV14DefinitionsTransitionTargetId = str
|
|
@@ -3530,33 +3556,25 @@ CommonAbstraJsonV14DefinitionsJobStageTransitions = typing.List[
|
|
|
3530
3556
|
CommonAbstraJsonV14DefinitionsJobStageTransitionsItem
|
|
3531
3557
|
]
|
|
3532
3558
|
|
|
3533
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
3534
|
-
|
|
3535
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition = typing.List[
|
|
3536
|
-
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem
|
|
3537
|
-
]
|
|
3538
|
-
|
|
3539
|
-
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
3540
|
-
|
|
3541
3559
|
CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
3542
3560
|
|
|
3543
3561
|
|
|
3544
3562
|
@dataclass
|
|
3545
3563
|
class CommonAbstraJsonV14DefinitionsJobStage:
|
|
3546
|
-
|
|
3564
|
+
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
3547
3565
|
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
3548
|
-
|
|
3566
|
+
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
3549
3567
|
workflow_position: CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition
|
|
3550
|
-
|
|
3568
|
+
transitions: CommonAbstraJsonV14DefinitionsJobStageTransitions
|
|
3551
3569
|
schedule: CommonAbstraJsonV14DefinitionsJobStageSchedule
|
|
3552
3570
|
|
|
3553
3571
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3554
3572
|
data = {}
|
|
3555
|
-
data["
|
|
3573
|
+
data["id"] = self.id
|
|
3556
3574
|
data["title"] = self.title
|
|
3557
|
-
data["
|
|
3575
|
+
data["file"] = self.file
|
|
3558
3576
|
data["workflow_position"] = self.workflow_position
|
|
3559
|
-
data["
|
|
3577
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3560
3578
|
data["schedule"] = self.schedule
|
|
3561
3579
|
return data
|
|
3562
3580
|
|
|
@@ -3565,14 +3583,14 @@ class CommonAbstraJsonV14DefinitionsJobStage:
|
|
|
3565
3583
|
cls, data: typing.Dict[str, typing.Any]
|
|
3566
3584
|
) -> "CommonAbstraJsonV14DefinitionsJobStage":
|
|
3567
3585
|
return cls(
|
|
3568
|
-
|
|
3586
|
+
id=str(data["id"]),
|
|
3569
3587
|
title=str(data["title"]),
|
|
3588
|
+
file=str(data["file"]),
|
|
3589
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3570
3590
|
transitions=[
|
|
3571
3591
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3572
3592
|
for item in data["transitions"]
|
|
3573
3593
|
],
|
|
3574
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3575
|
-
id=str(data["id"]),
|
|
3576
3594
|
schedule=str(data["schedule"]),
|
|
3577
3595
|
)
|
|
3578
3596
|
|
|
@@ -3581,17 +3599,11 @@ CommonAbstraJsonV14JobsItem = CommonAbstraJsonV14DefinitionsJobStage
|
|
|
3581
3599
|
|
|
3582
3600
|
CommonAbstraJsonV14Jobs = typing.List[CommonAbstraJsonV14JobsItem]
|
|
3583
3601
|
|
|
3584
|
-
|
|
3602
|
+
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
3585
3603
|
|
|
3586
3604
|
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
3587
3605
|
|
|
3588
|
-
|
|
3589
|
-
CommonAbstraJsonV14DefinitionsTransition
|
|
3590
|
-
)
|
|
3591
|
-
|
|
3592
|
-
CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
3593
|
-
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
3594
|
-
]
|
|
3606
|
+
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
3595
3607
|
|
|
3596
3608
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
3597
3609
|
|
|
@@ -3599,36 +3611,42 @@ CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
3599
3611
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem
|
|
3600
3612
|
]
|
|
3601
3613
|
|
|
3602
|
-
|
|
3614
|
+
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem = (
|
|
3615
|
+
CommonAbstraJsonV14DefinitionsTransition
|
|
3616
|
+
)
|
|
3603
3617
|
|
|
3604
|
-
|
|
3618
|
+
CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
3619
|
+
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
3620
|
+
]
|
|
3621
|
+
|
|
3622
|
+
CommonAbstraJsonV14DefinitionsHookStageEnabled = bool
|
|
3605
3623
|
|
|
3606
3624
|
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
3607
3625
|
|
|
3608
|
-
|
|
3626
|
+
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
3609
3627
|
|
|
3610
3628
|
|
|
3611
3629
|
@dataclass
|
|
3612
3630
|
class CommonAbstraJsonV14DefinitionsHookStage:
|
|
3613
|
-
|
|
3631
|
+
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
3614
3632
|
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
3615
|
-
|
|
3633
|
+
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
3616
3634
|
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
3617
|
-
|
|
3618
|
-
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
3619
|
-
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
3635
|
+
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
3620
3636
|
enabled: CommonAbstraJsonV14DefinitionsHookStageEnabled
|
|
3637
|
+
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
3638
|
+
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
3621
3639
|
|
|
3622
3640
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3623
3641
|
data = {}
|
|
3624
|
-
data["
|
|
3642
|
+
data["id"] = self.id
|
|
3625
3643
|
data["title"] = self.title
|
|
3626
|
-
data["
|
|
3644
|
+
data["file"] = self.file
|
|
3627
3645
|
data["workflow_position"] = self.workflow_position
|
|
3628
|
-
data["
|
|
3629
|
-
data["is_initial"] = self.is_initial
|
|
3630
|
-
data["path"] = self.path
|
|
3646
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3631
3647
|
data["enabled"] = self.enabled
|
|
3648
|
+
data["path"] = self.path
|
|
3649
|
+
data["is_initial"] = self.is_initial
|
|
3632
3650
|
return data
|
|
3633
3651
|
|
|
3634
3652
|
@classmethod
|
|
@@ -3636,17 +3654,17 @@ class CommonAbstraJsonV14DefinitionsHookStage:
|
|
|
3636
3654
|
cls, data: typing.Dict[str, typing.Any]
|
|
3637
3655
|
) -> "CommonAbstraJsonV14DefinitionsHookStage":
|
|
3638
3656
|
return cls(
|
|
3639
|
-
|
|
3657
|
+
id=str(data["id"]),
|
|
3640
3658
|
title=str(data["title"]),
|
|
3659
|
+
file=str(data["file"]),
|
|
3660
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3641
3661
|
transitions=[
|
|
3642
3662
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3643
3663
|
for item in data["transitions"]
|
|
3644
3664
|
],
|
|
3645
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3646
|
-
id=str(data["id"]),
|
|
3647
|
-
is_initial=bool(data["is_initial"]),
|
|
3648
|
-
path=str(data["path"]),
|
|
3649
3665
|
enabled=bool(data["enabled"]),
|
|
3666
|
+
path=str(data["path"]),
|
|
3667
|
+
is_initial=bool(data["is_initial"]),
|
|
3650
3668
|
)
|
|
3651
3669
|
|
|
3652
3670
|
|
|
@@ -3654,17 +3672,11 @@ CommonAbstraJsonV14HooksItem = CommonAbstraJsonV14DefinitionsHookStage
|
|
|
3654
3672
|
|
|
3655
3673
|
CommonAbstraJsonV14Hooks = typing.List[CommonAbstraJsonV14HooksItem]
|
|
3656
3674
|
|
|
3657
|
-
|
|
3675
|
+
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
3658
3676
|
|
|
3659
3677
|
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
3660
3678
|
|
|
3661
|
-
|
|
3662
|
-
CommonAbstraJsonV14DefinitionsTransition
|
|
3663
|
-
)
|
|
3664
|
-
|
|
3665
|
-
CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
3666
|
-
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
3667
|
-
]
|
|
3679
|
+
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
3668
3680
|
|
|
3669
3681
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
3670
3682
|
|
|
@@ -3672,24 +3684,21 @@ CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
3672
3684
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem
|
|
3673
3685
|
]
|
|
3674
3686
|
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
3687
|
+
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem = (
|
|
3688
|
+
CommonAbstraJsonV14DefinitionsTransition
|
|
3689
|
+
)
|
|
3680
3690
|
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
3691
|
+
CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
3692
|
+
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
3684
3693
|
]
|
|
3685
3694
|
|
|
3686
|
-
|
|
3695
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
3687
3696
|
|
|
3688
|
-
|
|
3697
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3689
3698
|
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3699
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3700
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
3701
|
+
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
3693
3702
|
]
|
|
3694
3703
|
|
|
3695
3704
|
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString = str
|
|
@@ -3701,6 +3710,19 @@ CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
3701
3710
|
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
3702
3711
|
]
|
|
3703
3712
|
|
|
3713
|
+
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
3714
|
+
|
|
3715
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageString = str
|
|
3716
|
+
|
|
3717
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull = type(None)
|
|
3718
|
+
|
|
3719
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
3720
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageString,
|
|
3721
|
+
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3722
|
+
]
|
|
3723
|
+
|
|
3724
|
+
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
3725
|
+
|
|
3704
3726
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
3705
3727
|
|
|
3706
3728
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
@@ -3710,6 +3732,24 @@ CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
3710
3732
|
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
3711
3733
|
]
|
|
3712
3734
|
|
|
3735
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
3736
|
+
|
|
3737
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
3738
|
+
|
|
3739
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
3740
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageString,
|
|
3741
|
+
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
3742
|
+
]
|
|
3743
|
+
|
|
3744
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString = str
|
|
3745
|
+
|
|
3746
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull = type(None)
|
|
3747
|
+
|
|
3748
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessage = typing.Union[
|
|
3749
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString,
|
|
3750
|
+
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull,
|
|
3751
|
+
]
|
|
3752
|
+
|
|
3713
3753
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
3714
3754
|
|
|
3715
3755
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -3719,8 +3759,6 @@ CommonAbstraJsonV14DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
3719
3759
|
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull,
|
|
3720
3760
|
]
|
|
3721
3761
|
|
|
3722
|
-
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
3723
|
-
|
|
3724
3762
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic = bool
|
|
3725
3763
|
|
|
3726
3764
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -3751,30 +3789,6 @@ class CommonAbstraJsonV14DefinitionsFormStageAccessControl:
|
|
|
3751
3789
|
)
|
|
3752
3790
|
|
|
3753
3791
|
|
|
3754
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
3755
|
-
|
|
3756
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
3757
|
-
|
|
3758
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
3759
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString,
|
|
3760
|
-
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
3761
|
-
]
|
|
3762
|
-
|
|
3763
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageString = str
|
|
3764
|
-
|
|
3765
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull = type(None)
|
|
3766
|
-
|
|
3767
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
3768
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageString,
|
|
3769
|
-
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3770
|
-
]
|
|
3771
|
-
|
|
3772
|
-
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
3773
|
-
|
|
3774
|
-
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
3775
|
-
|
|
3776
|
-
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
3777
|
-
|
|
3778
3792
|
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3779
3793
|
|
|
3780
3794
|
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
@@ -3803,73 +3817,78 @@ class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
|
3803
3817
|
)
|
|
3804
3818
|
|
|
3805
3819
|
|
|
3820
|
+
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
3821
|
+
|
|
3822
|
+
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
3823
|
+
|
|
3824
|
+
|
|
3806
3825
|
@dataclass
|
|
3807
3826
|
class CommonAbstraJsonV14DefinitionsFormStage:
|
|
3808
|
-
|
|
3827
|
+
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3809
3828
|
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3810
|
-
|
|
3829
|
+
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3811
3830
|
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3831
|
+
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3832
|
+
welcome_title: CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle
|
|
3815
3833
|
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3834
|
+
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3835
|
+
start_message: CommonAbstraJsonV14DefinitionsFormStageStartMessage
|
|
3836
|
+
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3816
3837
|
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3838
|
+
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3839
|
+
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3817
3840
|
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3818
|
-
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3819
3841
|
access_control: CommonAbstraJsonV14DefinitionsFormStageAccessControl
|
|
3820
|
-
|
|
3821
|
-
start_message: CommonAbstraJsonV14DefinitionsFormStageStartMessage
|
|
3842
|
+
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3822
3843
|
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3823
3844
|
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3824
|
-
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3825
|
-
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3826
3845
|
|
|
3827
3846
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3828
3847
|
data = {}
|
|
3829
|
-
data["
|
|
3848
|
+
data["id"] = self.id
|
|
3830
3849
|
data["title"] = self.title
|
|
3831
|
-
data["
|
|
3850
|
+
data["file"] = self.file
|
|
3832
3851
|
data["workflow_position"] = self.workflow_position
|
|
3833
|
-
data["
|
|
3834
|
-
data["
|
|
3835
|
-
self.
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
self.error_message
|
|
3839
|
-
if isinstance(self.error_message, str)
|
|
3840
|
-
else self.error_message
|
|
3852
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3853
|
+
data["welcome_title"] = (
|
|
3854
|
+
self.welcome_title
|
|
3855
|
+
if isinstance(self.welcome_title, str)
|
|
3856
|
+
else self.welcome_title
|
|
3841
3857
|
)
|
|
3842
3858
|
data["timeout_message"] = (
|
|
3843
3859
|
self.timeout_message
|
|
3844
3860
|
if isinstance(self.timeout_message, str)
|
|
3845
3861
|
else self.timeout_message
|
|
3846
3862
|
)
|
|
3863
|
+
data["allow_restart"] = self.allow_restart
|
|
3864
|
+
data["start_message"] = (
|
|
3865
|
+
self.start_message
|
|
3866
|
+
if isinstance(self.start_message, str)
|
|
3867
|
+
else self.start_message
|
|
3868
|
+
)
|
|
3869
|
+
data["is_initial"] = self.is_initial
|
|
3847
3870
|
data["restart_button_text"] = (
|
|
3848
3871
|
self.restart_button_text
|
|
3849
3872
|
if isinstance(self.restart_button_text, str)
|
|
3850
3873
|
else self.restart_button_text
|
|
3851
3874
|
)
|
|
3875
|
+
data["end_message"] = (
|
|
3876
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3877
|
+
)
|
|
3878
|
+
data["error_message"] = (
|
|
3879
|
+
self.error_message
|
|
3880
|
+
if isinstance(self.error_message, str)
|
|
3881
|
+
else self.error_message
|
|
3882
|
+
)
|
|
3852
3883
|
data["start_button_text"] = (
|
|
3853
3884
|
self.start_button_text
|
|
3854
3885
|
if isinstance(self.start_button_text, str)
|
|
3855
3886
|
else self.start_button_text
|
|
3856
3887
|
)
|
|
3857
|
-
data["is_initial"] = self.is_initial
|
|
3858
3888
|
data["access_control"] = self.access_control.to_dict()
|
|
3859
|
-
data["
|
|
3860
|
-
self.welcome_title
|
|
3861
|
-
if isinstance(self.welcome_title, str)
|
|
3862
|
-
else self.welcome_title
|
|
3863
|
-
)
|
|
3864
|
-
data["start_message"] = (
|
|
3865
|
-
self.start_message
|
|
3866
|
-
if isinstance(self.start_message, str)
|
|
3867
|
-
else self.start_message
|
|
3868
|
-
)
|
|
3889
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3869
3890
|
data["path"] = self.path
|
|
3870
3891
|
data["auto_start"] = self.auto_start
|
|
3871
|
-
data["allow_restart"] = self.allow_restart
|
|
3872
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3873
3892
|
return data
|
|
3874
3893
|
|
|
3875
3894
|
@classmethod
|
|
@@ -3877,22 +3896,17 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3877
3896
|
cls, data: typing.Dict[str, typing.Any]
|
|
3878
3897
|
) -> "CommonAbstraJsonV14DefinitionsFormStage":
|
|
3879
3898
|
return cls(
|
|
3880
|
-
|
|
3899
|
+
id=str(data["id"]),
|
|
3881
3900
|
title=str(data["title"]),
|
|
3901
|
+
file=str(data["file"]),
|
|
3902
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3882
3903
|
transitions=[
|
|
3883
3904
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3884
3905
|
for item in data["transitions"]
|
|
3885
3906
|
],
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
str(data["end_message"])
|
|
3890
|
-
if isinstance(data["end_message"], str)
|
|
3891
|
-
else None
|
|
3892
|
-
),
|
|
3893
|
-
error_message=(
|
|
3894
|
-
str(data["error_message"])
|
|
3895
|
-
if isinstance(data["error_message"], str)
|
|
3907
|
+
welcome_title=(
|
|
3908
|
+
str(data["welcome_title"])
|
|
3909
|
+
if isinstance(data["welcome_title"], str)
|
|
3896
3910
|
else None
|
|
3897
3911
|
),
|
|
3898
3912
|
timeout_message=(
|
|
@@ -3900,36 +3914,41 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3900
3914
|
if isinstance(data["timeout_message"], str)
|
|
3901
3915
|
else None
|
|
3902
3916
|
),
|
|
3917
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3918
|
+
start_message=(
|
|
3919
|
+
str(data["start_message"])
|
|
3920
|
+
if isinstance(data["start_message"], str)
|
|
3921
|
+
else None
|
|
3922
|
+
),
|
|
3923
|
+
is_initial=bool(data["is_initial"]),
|
|
3903
3924
|
restart_button_text=(
|
|
3904
3925
|
str(data["restart_button_text"])
|
|
3905
3926
|
if isinstance(data["restart_button_text"], str)
|
|
3906
3927
|
else None
|
|
3907
3928
|
),
|
|
3929
|
+
end_message=(
|
|
3930
|
+
str(data["end_message"])
|
|
3931
|
+
if isinstance(data["end_message"], str)
|
|
3932
|
+
else None
|
|
3933
|
+
),
|
|
3934
|
+
error_message=(
|
|
3935
|
+
str(data["error_message"])
|
|
3936
|
+
if isinstance(data["error_message"], str)
|
|
3937
|
+
else None
|
|
3938
|
+
),
|
|
3908
3939
|
start_button_text=(
|
|
3909
3940
|
str(data["start_button_text"])
|
|
3910
3941
|
if isinstance(data["start_button_text"], str)
|
|
3911
3942
|
else None
|
|
3912
3943
|
),
|
|
3913
|
-
is_initial=bool(data["is_initial"]),
|
|
3914
3944
|
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3915
3945
|
data["access_control"]
|
|
3916
3946
|
),
|
|
3917
|
-
welcome_title=(
|
|
3918
|
-
str(data["welcome_title"])
|
|
3919
|
-
if isinstance(data["welcome_title"], str)
|
|
3920
|
-
else None
|
|
3921
|
-
),
|
|
3922
|
-
start_message=(
|
|
3923
|
-
str(data["start_message"])
|
|
3924
|
-
if isinstance(data["start_message"], str)
|
|
3925
|
-
else None
|
|
3926
|
-
),
|
|
3927
|
-
path=str(data["path"]),
|
|
3928
|
-
auto_start=bool(data["auto_start"]),
|
|
3929
|
-
allow_restart=bool(data["allow_restart"]),
|
|
3930
3947
|
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3931
3948
|
data["notification_trigger"]
|
|
3932
3949
|
),
|
|
3950
|
+
path=str(data["path"]),
|
|
3951
|
+
auto_start=bool(data["auto_start"]),
|
|
3933
3952
|
)
|
|
3934
3953
|
|
|
3935
3954
|
|
|
@@ -3937,10 +3956,18 @@ CommonAbstraJsonV14FormsItem = CommonAbstraJsonV14DefinitionsFormStage
|
|
|
3937
3956
|
|
|
3938
3957
|
CommonAbstraJsonV14Forms = typing.List[CommonAbstraJsonV14FormsItem]
|
|
3939
3958
|
|
|
3940
|
-
|
|
3959
|
+
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3941
3960
|
|
|
3942
3961
|
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3943
3962
|
|
|
3963
|
+
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3964
|
+
|
|
3965
|
+
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3966
|
+
|
|
3967
|
+
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3968
|
+
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3969
|
+
]
|
|
3970
|
+
|
|
3944
3971
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem = (
|
|
3945
3972
|
CommonAbstraJsonV14DefinitionsTransition
|
|
3946
3973
|
)
|
|
@@ -3949,33 +3976,25 @@ CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
|
3949
3976
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem
|
|
3950
3977
|
]
|
|
3951
3978
|
|
|
3952
|
-
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
3953
|
-
|
|
3954
|
-
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
3955
|
-
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem
|
|
3956
|
-
]
|
|
3957
|
-
|
|
3958
|
-
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3959
|
-
|
|
3960
3979
|
CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
3961
3980
|
|
|
3962
3981
|
|
|
3963
3982
|
@dataclass
|
|
3964
3983
|
class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
3965
|
-
|
|
3984
|
+
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3966
3985
|
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3967
|
-
|
|
3986
|
+
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3968
3987
|
workflow_position: CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition
|
|
3969
|
-
|
|
3988
|
+
transitions: CommonAbstraJsonV14DefinitionsScriptStageTransitions
|
|
3970
3989
|
is_initial: CommonAbstraJsonV14DefinitionsScriptStageIsInitial
|
|
3971
3990
|
|
|
3972
3991
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3973
3992
|
data = {}
|
|
3974
|
-
data["
|
|
3993
|
+
data["id"] = self.id
|
|
3975
3994
|
data["title"] = self.title
|
|
3976
|
-
data["
|
|
3995
|
+
data["file"] = self.file
|
|
3977
3996
|
data["workflow_position"] = self.workflow_position
|
|
3978
|
-
data["
|
|
3997
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3979
3998
|
data["is_initial"] = self.is_initial
|
|
3980
3999
|
return data
|
|
3981
4000
|
|
|
@@ -3984,14 +4003,14 @@ class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
|
3984
4003
|
cls, data: typing.Dict[str, typing.Any]
|
|
3985
4004
|
) -> "CommonAbstraJsonV14DefinitionsScriptStage":
|
|
3986
4005
|
return cls(
|
|
3987
|
-
|
|
4006
|
+
id=str(data["id"]),
|
|
3988
4007
|
title=str(data["title"]),
|
|
4008
|
+
file=str(data["file"]),
|
|
4009
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3989
4010
|
transitions=[
|
|
3990
4011
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3991
4012
|
for item in data["transitions"]
|
|
3992
4013
|
],
|
|
3993
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3994
|
-
id=str(data["id"]),
|
|
3995
4014
|
is_initial=bool(data["is_initial"]),
|
|
3996
4015
|
)
|
|
3997
4016
|
|
|
@@ -4235,10 +4254,18 @@ class CommonAbstraJsonV13Home:
|
|
|
4235
4254
|
)
|
|
4236
4255
|
|
|
4237
4256
|
|
|
4238
|
-
|
|
4257
|
+
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
4239
4258
|
|
|
4240
4259
|
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
4241
4260
|
|
|
4261
|
+
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
4262
|
+
|
|
4263
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
4264
|
+
|
|
4265
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4266
|
+
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
4267
|
+
]
|
|
4268
|
+
|
|
4242
4269
|
CommonAbstraJsonV13DefinitionsTransitionId = str
|
|
4243
4270
|
|
|
4244
4271
|
CommonAbstraJsonV13DefinitionsTransitionTargetId = str
|
|
@@ -4304,33 +4331,25 @@ CommonAbstraJsonV13DefinitionsJobStageTransitions = typing.List[
|
|
|
4304
4331
|
CommonAbstraJsonV13DefinitionsJobStageTransitionsItem
|
|
4305
4332
|
]
|
|
4306
4333
|
|
|
4307
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
4308
|
-
|
|
4309
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition = typing.List[
|
|
4310
|
-
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem
|
|
4311
|
-
]
|
|
4312
|
-
|
|
4313
|
-
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
4314
|
-
|
|
4315
4334
|
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
4316
4335
|
|
|
4317
4336
|
|
|
4318
4337
|
@dataclass
|
|
4319
4338
|
class CommonAbstraJsonV13DefinitionsJobStage:
|
|
4320
|
-
|
|
4339
|
+
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
4321
4340
|
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
4322
|
-
|
|
4341
|
+
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
4323
4342
|
workflow_position: CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition
|
|
4324
|
-
|
|
4343
|
+
transitions: CommonAbstraJsonV13DefinitionsJobStageTransitions
|
|
4325
4344
|
schedule: CommonAbstraJsonV13DefinitionsJobStageSchedule
|
|
4326
4345
|
|
|
4327
4346
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4328
4347
|
data = {}
|
|
4329
|
-
data["
|
|
4348
|
+
data["id"] = self.id
|
|
4330
4349
|
data["title"] = self.title
|
|
4331
|
-
data["
|
|
4350
|
+
data["file"] = self.file
|
|
4332
4351
|
data["workflow_position"] = self.workflow_position
|
|
4333
|
-
data["
|
|
4352
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4334
4353
|
data["schedule"] = self.schedule
|
|
4335
4354
|
return data
|
|
4336
4355
|
|
|
@@ -4339,14 +4358,14 @@ class CommonAbstraJsonV13DefinitionsJobStage:
|
|
|
4339
4358
|
cls, data: typing.Dict[str, typing.Any]
|
|
4340
4359
|
) -> "CommonAbstraJsonV13DefinitionsJobStage":
|
|
4341
4360
|
return cls(
|
|
4342
|
-
|
|
4361
|
+
id=str(data["id"]),
|
|
4343
4362
|
title=str(data["title"]),
|
|
4363
|
+
file=str(data["file"]),
|
|
4364
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4344
4365
|
transitions=[
|
|
4345
4366
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4346
4367
|
for item in data["transitions"]
|
|
4347
4368
|
],
|
|
4348
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4349
|
-
id=str(data["id"]),
|
|
4350
4369
|
schedule=str(data["schedule"]),
|
|
4351
4370
|
)
|
|
4352
4371
|
|
|
@@ -4355,17 +4374,11 @@ CommonAbstraJsonV13JobsItem = CommonAbstraJsonV13DefinitionsJobStage
|
|
|
4355
4374
|
|
|
4356
4375
|
CommonAbstraJsonV13Jobs = typing.List[CommonAbstraJsonV13JobsItem]
|
|
4357
4376
|
|
|
4358
|
-
|
|
4377
|
+
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
4359
4378
|
|
|
4360
4379
|
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
4361
4380
|
|
|
4362
|
-
|
|
4363
|
-
CommonAbstraJsonV13DefinitionsTransition
|
|
4364
|
-
)
|
|
4365
|
-
|
|
4366
|
-
CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
4367
|
-
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
4368
|
-
]
|
|
4381
|
+
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
4369
4382
|
|
|
4370
4383
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
4371
4384
|
|
|
@@ -4373,36 +4386,42 @@ CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
4373
4386
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem
|
|
4374
4387
|
]
|
|
4375
4388
|
|
|
4376
|
-
|
|
4389
|
+
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem = (
|
|
4390
|
+
CommonAbstraJsonV13DefinitionsTransition
|
|
4391
|
+
)
|
|
4377
4392
|
|
|
4378
|
-
|
|
4393
|
+
CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
4394
|
+
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
4395
|
+
]
|
|
4396
|
+
|
|
4397
|
+
CommonAbstraJsonV13DefinitionsHookStageEnabled = bool
|
|
4379
4398
|
|
|
4380
4399
|
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
4381
4400
|
|
|
4382
|
-
|
|
4401
|
+
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
4383
4402
|
|
|
4384
4403
|
|
|
4385
4404
|
@dataclass
|
|
4386
4405
|
class CommonAbstraJsonV13DefinitionsHookStage:
|
|
4387
|
-
|
|
4406
|
+
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
4388
4407
|
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
4389
|
-
|
|
4408
|
+
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
4390
4409
|
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
4391
|
-
|
|
4392
|
-
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
4393
|
-
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
4410
|
+
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
4394
4411
|
enabled: CommonAbstraJsonV13DefinitionsHookStageEnabled
|
|
4412
|
+
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
4413
|
+
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
4395
4414
|
|
|
4396
4415
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4397
4416
|
data = {}
|
|
4398
|
-
data["
|
|
4417
|
+
data["id"] = self.id
|
|
4399
4418
|
data["title"] = self.title
|
|
4400
|
-
data["
|
|
4419
|
+
data["file"] = self.file
|
|
4401
4420
|
data["workflow_position"] = self.workflow_position
|
|
4402
|
-
data["
|
|
4403
|
-
data["is_initial"] = self.is_initial
|
|
4404
|
-
data["path"] = self.path
|
|
4421
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4405
4422
|
data["enabled"] = self.enabled
|
|
4423
|
+
data["path"] = self.path
|
|
4424
|
+
data["is_initial"] = self.is_initial
|
|
4406
4425
|
return data
|
|
4407
4426
|
|
|
4408
4427
|
@classmethod
|
|
@@ -4410,17 +4429,17 @@ class CommonAbstraJsonV13DefinitionsHookStage:
|
|
|
4410
4429
|
cls, data: typing.Dict[str, typing.Any]
|
|
4411
4430
|
) -> "CommonAbstraJsonV13DefinitionsHookStage":
|
|
4412
4431
|
return cls(
|
|
4413
|
-
|
|
4432
|
+
id=str(data["id"]),
|
|
4414
4433
|
title=str(data["title"]),
|
|
4434
|
+
file=str(data["file"]),
|
|
4435
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4415
4436
|
transitions=[
|
|
4416
4437
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4417
4438
|
for item in data["transitions"]
|
|
4418
4439
|
],
|
|
4419
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4420
|
-
id=str(data["id"]),
|
|
4421
|
-
is_initial=bool(data["is_initial"]),
|
|
4422
|
-
path=str(data["path"]),
|
|
4423
4440
|
enabled=bool(data["enabled"]),
|
|
4441
|
+
path=str(data["path"]),
|
|
4442
|
+
is_initial=bool(data["is_initial"]),
|
|
4424
4443
|
)
|
|
4425
4444
|
|
|
4426
4445
|
|
|
@@ -4428,17 +4447,11 @@ CommonAbstraJsonV13HooksItem = CommonAbstraJsonV13DefinitionsHookStage
|
|
|
4428
4447
|
|
|
4429
4448
|
CommonAbstraJsonV13Hooks = typing.List[CommonAbstraJsonV13HooksItem]
|
|
4430
4449
|
|
|
4431
|
-
|
|
4450
|
+
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
4432
4451
|
|
|
4433
4452
|
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
4434
4453
|
|
|
4435
|
-
|
|
4436
|
-
CommonAbstraJsonV13DefinitionsTransition
|
|
4437
|
-
)
|
|
4438
|
-
|
|
4439
|
-
CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
4440
|
-
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
4441
|
-
]
|
|
4454
|
+
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
4442
4455
|
|
|
4443
4456
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
4444
4457
|
|
|
@@ -4446,24 +4459,21 @@ CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
4446
4459
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem
|
|
4447
4460
|
]
|
|
4448
4461
|
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull = type(None)
|
|
4462
|
+
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem = (
|
|
4463
|
+
CommonAbstraJsonV13DefinitionsTransition
|
|
4464
|
+
)
|
|
4454
4465
|
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
4466
|
+
CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
4467
|
+
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
4458
4468
|
]
|
|
4459
4469
|
|
|
4460
|
-
|
|
4470
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
4461
4471
|
|
|
4462
|
-
|
|
4472
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4463
4473
|
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4474
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
4475
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
4476
|
+
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
4467
4477
|
]
|
|
4468
4478
|
|
|
4469
4479
|
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString = str
|
|
@@ -4475,6 +4485,19 @@ CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
4475
4485
|
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
4476
4486
|
]
|
|
4477
4487
|
|
|
4488
|
+
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
4489
|
+
|
|
4490
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
4491
|
+
|
|
4492
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
4493
|
+
|
|
4494
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
4495
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
4496
|
+
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
4497
|
+
]
|
|
4498
|
+
|
|
4499
|
+
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
4500
|
+
|
|
4478
4501
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
4479
4502
|
|
|
4480
4503
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
@@ -4484,6 +4507,24 @@ CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
|
4484
4507
|
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
4485
4508
|
]
|
|
4486
4509
|
|
|
4510
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
4511
|
+
|
|
4512
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull = type(None)
|
|
4513
|
+
|
|
4514
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
4515
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageString,
|
|
4516
|
+
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
4517
|
+
]
|
|
4518
|
+
|
|
4519
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString = str
|
|
4520
|
+
|
|
4521
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull = type(None)
|
|
4522
|
+
|
|
4523
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessage = typing.Union[
|
|
4524
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString,
|
|
4525
|
+
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull,
|
|
4526
|
+
]
|
|
4527
|
+
|
|
4487
4528
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
4488
4529
|
|
|
4489
4530
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull = type(None)
|
|
@@ -4493,8 +4534,6 @@ CommonAbstraJsonV13DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
4493
4534
|
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull,
|
|
4494
4535
|
]
|
|
4495
4536
|
|
|
4496
|
-
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
4497
|
-
|
|
4498
4537
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic = bool
|
|
4499
4538
|
|
|
4500
4539
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -4525,30 +4564,6 @@ class CommonAbstraJsonV13DefinitionsFormStageAccessControl:
|
|
|
4525
4564
|
)
|
|
4526
4565
|
|
|
4527
4566
|
|
|
4528
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
4529
|
-
|
|
4530
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
4531
|
-
|
|
4532
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
4533
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString,
|
|
4534
|
-
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
4535
|
-
]
|
|
4536
|
-
|
|
4537
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageString = str
|
|
4538
|
-
|
|
4539
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull = type(None)
|
|
4540
|
-
|
|
4541
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
4542
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageString,
|
|
4543
|
-
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
4544
|
-
]
|
|
4545
|
-
|
|
4546
|
-
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
4547
|
-
|
|
4548
|
-
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
4549
|
-
|
|
4550
|
-
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
4551
|
-
|
|
4552
4567
|
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4553
4568
|
|
|
4554
4569
|
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
@@ -4577,73 +4592,78 @@ class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
|
4577
4592
|
)
|
|
4578
4593
|
|
|
4579
4594
|
|
|
4595
|
+
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
4596
|
+
|
|
4597
|
+
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
4598
|
+
|
|
4599
|
+
|
|
4580
4600
|
@dataclass
|
|
4581
4601
|
class CommonAbstraJsonV13DefinitionsFormStage:
|
|
4582
|
-
|
|
4602
|
+
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
4583
4603
|
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
4584
|
-
|
|
4604
|
+
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
4585
4605
|
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
4606
|
+
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
4607
|
+
welcome_title: CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle
|
|
4589
4608
|
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
4609
|
+
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
4610
|
+
start_message: CommonAbstraJsonV13DefinitionsFormStageStartMessage
|
|
4611
|
+
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
4590
4612
|
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
4613
|
+
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
4614
|
+
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
4591
4615
|
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
4592
|
-
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
4593
4616
|
access_control: CommonAbstraJsonV13DefinitionsFormStageAccessControl
|
|
4594
|
-
|
|
4595
|
-
start_message: CommonAbstraJsonV13DefinitionsFormStageStartMessage
|
|
4617
|
+
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
4596
4618
|
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
4597
4619
|
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
4598
|
-
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
4599
|
-
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
4600
4620
|
|
|
4601
4621
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4602
4622
|
data = {}
|
|
4603
|
-
data["
|
|
4623
|
+
data["id"] = self.id
|
|
4604
4624
|
data["title"] = self.title
|
|
4605
|
-
data["
|
|
4625
|
+
data["file"] = self.file
|
|
4606
4626
|
data["workflow_position"] = self.workflow_position
|
|
4607
|
-
data["
|
|
4608
|
-
data["
|
|
4609
|
-
self.
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
self.error_message
|
|
4613
|
-
if isinstance(self.error_message, str)
|
|
4614
|
-
else self.error_message
|
|
4627
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4628
|
+
data["welcome_title"] = (
|
|
4629
|
+
self.welcome_title
|
|
4630
|
+
if isinstance(self.welcome_title, str)
|
|
4631
|
+
else self.welcome_title
|
|
4615
4632
|
)
|
|
4616
4633
|
data["timeout_message"] = (
|
|
4617
4634
|
self.timeout_message
|
|
4618
4635
|
if isinstance(self.timeout_message, str)
|
|
4619
4636
|
else self.timeout_message
|
|
4620
4637
|
)
|
|
4638
|
+
data["allow_restart"] = self.allow_restart
|
|
4639
|
+
data["start_message"] = (
|
|
4640
|
+
self.start_message
|
|
4641
|
+
if isinstance(self.start_message, str)
|
|
4642
|
+
else self.start_message
|
|
4643
|
+
)
|
|
4644
|
+
data["is_initial"] = self.is_initial
|
|
4621
4645
|
data["restart_button_text"] = (
|
|
4622
4646
|
self.restart_button_text
|
|
4623
4647
|
if isinstance(self.restart_button_text, str)
|
|
4624
4648
|
else self.restart_button_text
|
|
4625
4649
|
)
|
|
4650
|
+
data["end_message"] = (
|
|
4651
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4652
|
+
)
|
|
4653
|
+
data["error_message"] = (
|
|
4654
|
+
self.error_message
|
|
4655
|
+
if isinstance(self.error_message, str)
|
|
4656
|
+
else self.error_message
|
|
4657
|
+
)
|
|
4626
4658
|
data["start_button_text"] = (
|
|
4627
4659
|
self.start_button_text
|
|
4628
4660
|
if isinstance(self.start_button_text, str)
|
|
4629
4661
|
else self.start_button_text
|
|
4630
4662
|
)
|
|
4631
|
-
data["is_initial"] = self.is_initial
|
|
4632
4663
|
data["access_control"] = self.access_control.to_dict()
|
|
4633
|
-
data["
|
|
4634
|
-
self.welcome_title
|
|
4635
|
-
if isinstance(self.welcome_title, str)
|
|
4636
|
-
else self.welcome_title
|
|
4637
|
-
)
|
|
4638
|
-
data["start_message"] = (
|
|
4639
|
-
self.start_message
|
|
4640
|
-
if isinstance(self.start_message, str)
|
|
4641
|
-
else self.start_message
|
|
4642
|
-
)
|
|
4664
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4643
4665
|
data["path"] = self.path
|
|
4644
4666
|
data["auto_start"] = self.auto_start
|
|
4645
|
-
data["allow_restart"] = self.allow_restart
|
|
4646
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4647
4667
|
return data
|
|
4648
4668
|
|
|
4649
4669
|
@classmethod
|
|
@@ -4651,22 +4671,17 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
4651
4671
|
cls, data: typing.Dict[str, typing.Any]
|
|
4652
4672
|
) -> "CommonAbstraJsonV13DefinitionsFormStage":
|
|
4653
4673
|
return cls(
|
|
4654
|
-
|
|
4674
|
+
id=str(data["id"]),
|
|
4655
4675
|
title=str(data["title"]),
|
|
4676
|
+
file=str(data["file"]),
|
|
4677
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4656
4678
|
transitions=[
|
|
4657
4679
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4658
4680
|
for item in data["transitions"]
|
|
4659
4681
|
],
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
str(data["end_message"])
|
|
4664
|
-
if isinstance(data["end_message"], str)
|
|
4665
|
-
else None
|
|
4666
|
-
),
|
|
4667
|
-
error_message=(
|
|
4668
|
-
str(data["error_message"])
|
|
4669
|
-
if isinstance(data["error_message"], str)
|
|
4682
|
+
welcome_title=(
|
|
4683
|
+
str(data["welcome_title"])
|
|
4684
|
+
if isinstance(data["welcome_title"], str)
|
|
4670
4685
|
else None
|
|
4671
4686
|
),
|
|
4672
4687
|
timeout_message=(
|
|
@@ -4674,36 +4689,41 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
4674
4689
|
if isinstance(data["timeout_message"], str)
|
|
4675
4690
|
else None
|
|
4676
4691
|
),
|
|
4692
|
+
allow_restart=bool(data["allow_restart"]),
|
|
4693
|
+
start_message=(
|
|
4694
|
+
str(data["start_message"])
|
|
4695
|
+
if isinstance(data["start_message"], str)
|
|
4696
|
+
else None
|
|
4697
|
+
),
|
|
4698
|
+
is_initial=bool(data["is_initial"]),
|
|
4677
4699
|
restart_button_text=(
|
|
4678
4700
|
str(data["restart_button_text"])
|
|
4679
4701
|
if isinstance(data["restart_button_text"], str)
|
|
4680
4702
|
else None
|
|
4681
4703
|
),
|
|
4704
|
+
end_message=(
|
|
4705
|
+
str(data["end_message"])
|
|
4706
|
+
if isinstance(data["end_message"], str)
|
|
4707
|
+
else None
|
|
4708
|
+
),
|
|
4709
|
+
error_message=(
|
|
4710
|
+
str(data["error_message"])
|
|
4711
|
+
if isinstance(data["error_message"], str)
|
|
4712
|
+
else None
|
|
4713
|
+
),
|
|
4682
4714
|
start_button_text=(
|
|
4683
4715
|
str(data["start_button_text"])
|
|
4684
4716
|
if isinstance(data["start_button_text"], str)
|
|
4685
4717
|
else None
|
|
4686
4718
|
),
|
|
4687
|
-
is_initial=bool(data["is_initial"]),
|
|
4688
4719
|
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
4689
4720
|
data["access_control"]
|
|
4690
4721
|
),
|
|
4691
|
-
welcome_title=(
|
|
4692
|
-
str(data["welcome_title"])
|
|
4693
|
-
if isinstance(data["welcome_title"], str)
|
|
4694
|
-
else None
|
|
4695
|
-
),
|
|
4696
|
-
start_message=(
|
|
4697
|
-
str(data["start_message"])
|
|
4698
|
-
if isinstance(data["start_message"], str)
|
|
4699
|
-
else None
|
|
4700
|
-
),
|
|
4701
|
-
path=str(data["path"]),
|
|
4702
|
-
auto_start=bool(data["auto_start"]),
|
|
4703
|
-
allow_restart=bool(data["allow_restart"]),
|
|
4704
4722
|
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4705
4723
|
data["notification_trigger"]
|
|
4706
4724
|
),
|
|
4725
|
+
path=str(data["path"]),
|
|
4726
|
+
auto_start=bool(data["auto_start"]),
|
|
4707
4727
|
)
|
|
4708
4728
|
|
|
4709
4729
|
|
|
@@ -4711,17 +4731,11 @@ CommonAbstraJsonV13FormsItem = CommonAbstraJsonV13DefinitionsFormStage
|
|
|
4711
4731
|
|
|
4712
4732
|
CommonAbstraJsonV13Forms = typing.List[CommonAbstraJsonV13FormsItem]
|
|
4713
4733
|
|
|
4714
|
-
|
|
4734
|
+
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
4715
4735
|
|
|
4716
4736
|
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
4717
4737
|
|
|
4718
|
-
|
|
4719
|
-
CommonAbstraJsonV13DefinitionsTransition
|
|
4720
|
-
)
|
|
4721
|
-
|
|
4722
|
-
CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
4723
|
-
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
4724
|
-
]
|
|
4738
|
+
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
4725
4739
|
|
|
4726
4740
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
4727
4741
|
|
|
@@ -4729,27 +4743,33 @@ CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
4729
4743
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem
|
|
4730
4744
|
]
|
|
4731
4745
|
|
|
4732
|
-
|
|
4746
|
+
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem = (
|
|
4747
|
+
CommonAbstraJsonV13DefinitionsTransition
|
|
4748
|
+
)
|
|
4749
|
+
|
|
4750
|
+
CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
4751
|
+
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
4752
|
+
]
|
|
4733
4753
|
|
|
4734
4754
|
CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
4735
4755
|
|
|
4736
4756
|
|
|
4737
4757
|
@dataclass
|
|
4738
4758
|
class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
4739
|
-
|
|
4759
|
+
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
4740
4760
|
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
4741
|
-
|
|
4761
|
+
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
4742
4762
|
workflow_position: CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition
|
|
4743
|
-
|
|
4763
|
+
transitions: CommonAbstraJsonV13DefinitionsScriptStageTransitions
|
|
4744
4764
|
is_initial: CommonAbstraJsonV13DefinitionsScriptStageIsInitial
|
|
4745
4765
|
|
|
4746
4766
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4747
4767
|
data = {}
|
|
4748
|
-
data["
|
|
4768
|
+
data["id"] = self.id
|
|
4749
4769
|
data["title"] = self.title
|
|
4750
|
-
data["
|
|
4770
|
+
data["file"] = self.file
|
|
4751
4771
|
data["workflow_position"] = self.workflow_position
|
|
4752
|
-
data["
|
|
4772
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4753
4773
|
data["is_initial"] = self.is_initial
|
|
4754
4774
|
return data
|
|
4755
4775
|
|
|
@@ -4758,14 +4778,14 @@ class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
|
4758
4778
|
cls, data: typing.Dict[str, typing.Any]
|
|
4759
4779
|
) -> "CommonAbstraJsonV13DefinitionsScriptStage":
|
|
4760
4780
|
return cls(
|
|
4761
|
-
|
|
4781
|
+
id=str(data["id"]),
|
|
4762
4782
|
title=str(data["title"]),
|
|
4783
|
+
file=str(data["file"]),
|
|
4784
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4763
4785
|
transitions=[
|
|
4764
4786
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4765
4787
|
for item in data["transitions"]
|
|
4766
4788
|
],
|
|
4767
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4768
|
-
id=str(data["id"]),
|
|
4769
4789
|
is_initial=bool(data["is_initial"]),
|
|
4770
4790
|
)
|
|
4771
4791
|
|
|
@@ -5154,10 +5174,18 @@ class CommonAbstraJsonV12Home:
|
|
|
5154
5174
|
)
|
|
5155
5175
|
|
|
5156
5176
|
|
|
5157
|
-
|
|
5177
|
+
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
5158
5178
|
|
|
5159
5179
|
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
5160
5180
|
|
|
5181
|
+
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
5182
|
+
|
|
5183
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
5184
|
+
|
|
5185
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
5186
|
+
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
5187
|
+
]
|
|
5188
|
+
|
|
5161
5189
|
CommonAbstraJsonV12DefinitionsTransitionId = str
|
|
5162
5190
|
|
|
5163
5191
|
CommonAbstraJsonV12DefinitionsTransitionTargetId = str
|
|
@@ -5223,33 +5251,25 @@ CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
|
5223
5251
|
CommonAbstraJsonV12DefinitionsJobStageTransitionsItem
|
|
5224
5252
|
]
|
|
5225
5253
|
|
|
5226
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
5227
|
-
|
|
5228
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition = typing.List[
|
|
5229
|
-
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem
|
|
5230
|
-
]
|
|
5231
|
-
|
|
5232
|
-
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
5233
|
-
|
|
5234
5254
|
CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
5235
5255
|
|
|
5236
5256
|
|
|
5237
5257
|
@dataclass
|
|
5238
5258
|
class CommonAbstraJsonV12DefinitionsJobStage:
|
|
5239
|
-
|
|
5259
|
+
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
5240
5260
|
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
5241
|
-
|
|
5261
|
+
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
5242
5262
|
workflow_position: CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition
|
|
5243
|
-
|
|
5263
|
+
transitions: CommonAbstraJsonV12DefinitionsJobStageTransitions
|
|
5244
5264
|
schedule: CommonAbstraJsonV12DefinitionsJobStageSchedule
|
|
5245
5265
|
|
|
5246
5266
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
5247
5267
|
data = {}
|
|
5248
|
-
data["
|
|
5268
|
+
data["id"] = self.id
|
|
5249
5269
|
data["title"] = self.title
|
|
5250
|
-
data["
|
|
5270
|
+
data["file"] = self.file
|
|
5251
5271
|
data["workflow_position"] = self.workflow_position
|
|
5252
|
-
data["
|
|
5272
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
5253
5273
|
data["schedule"] = self.schedule
|
|
5254
5274
|
return data
|
|
5255
5275
|
|
|
@@ -5258,14 +5278,14 @@ class CommonAbstraJsonV12DefinitionsJobStage:
|
|
|
5258
5278
|
cls, data: typing.Dict[str, typing.Any]
|
|
5259
5279
|
) -> "CommonAbstraJsonV12DefinitionsJobStage":
|
|
5260
5280
|
return cls(
|
|
5261
|
-
|
|
5281
|
+
id=str(data["id"]),
|
|
5262
5282
|
title=str(data["title"]),
|
|
5283
|
+
file=str(data["file"]),
|
|
5284
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5263
5285
|
transitions=[
|
|
5264
5286
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
5265
5287
|
for item in data["transitions"]
|
|
5266
5288
|
],
|
|
5267
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5268
|
-
id=str(data["id"]),
|
|
5269
5289
|
schedule=str(data["schedule"]),
|
|
5270
5290
|
)
|
|
5271
5291
|
|
|
@@ -5274,17 +5294,11 @@ CommonAbstraJsonV12JobsItem = CommonAbstraJsonV12DefinitionsJobStage
|
|
|
5274
5294
|
|
|
5275
5295
|
CommonAbstraJsonV12Jobs = typing.List[CommonAbstraJsonV12JobsItem]
|
|
5276
5296
|
|
|
5277
|
-
|
|
5297
|
+
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
5278
5298
|
|
|
5279
5299
|
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
5280
5300
|
|
|
5281
|
-
|
|
5282
|
-
CommonAbstraJsonV12DefinitionsTransition
|
|
5283
|
-
)
|
|
5284
|
-
|
|
5285
|
-
CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
5286
|
-
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
5287
|
-
]
|
|
5301
|
+
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
5288
5302
|
|
|
5289
5303
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
5290
5304
|
|
|
@@ -5292,36 +5306,42 @@ CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition = typing.List[
|
|
|
5292
5306
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem
|
|
5293
5307
|
]
|
|
5294
5308
|
|
|
5295
|
-
|
|
5309
|
+
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem = (
|
|
5310
|
+
CommonAbstraJsonV12DefinitionsTransition
|
|
5311
|
+
)
|
|
5296
5312
|
|
|
5297
|
-
|
|
5313
|
+
CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
5314
|
+
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
5315
|
+
]
|
|
5316
|
+
|
|
5317
|
+
CommonAbstraJsonV12DefinitionsHookStageEnabled = bool
|
|
5298
5318
|
|
|
5299
5319
|
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
5300
5320
|
|
|
5301
|
-
|
|
5321
|
+
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
5302
5322
|
|
|
5303
5323
|
|
|
5304
5324
|
@dataclass
|
|
5305
5325
|
class CommonAbstraJsonV12DefinitionsHookStage:
|
|
5306
|
-
|
|
5326
|
+
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
5307
5327
|
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
5308
|
-
|
|
5328
|
+
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
5309
5329
|
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
5310
|
-
|
|
5311
|
-
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
5312
|
-
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
5330
|
+
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
5313
5331
|
enabled: CommonAbstraJsonV12DefinitionsHookStageEnabled
|
|
5332
|
+
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
5333
|
+
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
5314
5334
|
|
|
5315
5335
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
5316
5336
|
data = {}
|
|
5317
|
-
data["
|
|
5337
|
+
data["id"] = self.id
|
|
5318
5338
|
data["title"] = self.title
|
|
5319
|
-
data["
|
|
5339
|
+
data["file"] = self.file
|
|
5320
5340
|
data["workflow_position"] = self.workflow_position
|
|
5321
|
-
data["
|
|
5322
|
-
data["is_initial"] = self.is_initial
|
|
5323
|
-
data["path"] = self.path
|
|
5341
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
5324
5342
|
data["enabled"] = self.enabled
|
|
5343
|
+
data["path"] = self.path
|
|
5344
|
+
data["is_initial"] = self.is_initial
|
|
5325
5345
|
return data
|
|
5326
5346
|
|
|
5327
5347
|
@classmethod
|
|
@@ -5329,17 +5349,17 @@ class CommonAbstraJsonV12DefinitionsHookStage:
|
|
|
5329
5349
|
cls, data: typing.Dict[str, typing.Any]
|
|
5330
5350
|
) -> "CommonAbstraJsonV12DefinitionsHookStage":
|
|
5331
5351
|
return cls(
|
|
5332
|
-
|
|
5352
|
+
id=str(data["id"]),
|
|
5333
5353
|
title=str(data["title"]),
|
|
5354
|
+
file=str(data["file"]),
|
|
5355
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5334
5356
|
transitions=[
|
|
5335
5357
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
5336
5358
|
for item in data["transitions"]
|
|
5337
5359
|
],
|
|
5338
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5339
|
-
id=str(data["id"]),
|
|
5340
|
-
is_initial=bool(data["is_initial"]),
|
|
5341
|
-
path=str(data["path"]),
|
|
5342
5360
|
enabled=bool(data["enabled"]),
|
|
5361
|
+
path=str(data["path"]),
|
|
5362
|
+
is_initial=bool(data["is_initial"]),
|
|
5343
5363
|
)
|
|
5344
5364
|
|
|
5345
5365
|
|
|
@@ -5347,17 +5367,11 @@ CommonAbstraJsonV12HooksItem = CommonAbstraJsonV12DefinitionsHookStage
|
|
|
5347
5367
|
|
|
5348
5368
|
CommonAbstraJsonV12Hooks = typing.List[CommonAbstraJsonV12HooksItem]
|
|
5349
5369
|
|
|
5350
|
-
|
|
5370
|
+
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
5351
5371
|
|
|
5352
5372
|
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
5353
5373
|
|
|
5354
|
-
|
|
5355
|
-
CommonAbstraJsonV12DefinitionsTransition
|
|
5356
|
-
)
|
|
5357
|
-
|
|
5358
|
-
CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
5359
|
-
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
5360
|
-
]
|
|
5374
|
+
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
5361
5375
|
|
|
5362
5376
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
5363
5377
|
|
|
@@ -5365,24 +5379,21 @@ CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition = typing.List[
|
|
|
5365
5379
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem
|
|
5366
5380
|
]
|
|
5367
5381
|
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull = type(None)
|
|
5382
|
+
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem = (
|
|
5383
|
+
CommonAbstraJsonV12DefinitionsTransition
|
|
5384
|
+
)
|
|
5373
5385
|
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
5386
|
+
CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
5387
|
+
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
5377
5388
|
]
|
|
5378
5389
|
|
|
5379
|
-
|
|
5390
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
5380
5391
|
|
|
5381
|
-
|
|
5392
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
5382
5393
|
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5394
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
5395
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
5396
|
+
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
5386
5397
|
]
|
|
5387
5398
|
|
|
5388
5399
|
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString = str
|
|
@@ -5394,13 +5405,44 @@ CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
|
5394
5405
|
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
5395
5406
|
]
|
|
5396
5407
|
|
|
5408
|
+
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
5409
|
+
|
|
5410
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
5411
|
+
|
|
5412
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
5413
|
+
|
|
5414
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
5415
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageString,
|
|
5416
|
+
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
5417
|
+
]
|
|
5418
|
+
|
|
5419
|
+
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
5420
|
+
|
|
5397
5421
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
5398
5422
|
|
|
5399
5423
|
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
5400
5424
|
|
|
5401
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
5402
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
5403
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
5425
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
5426
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
5427
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
5428
|
+
]
|
|
5429
|
+
|
|
5430
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
5431
|
+
|
|
5432
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull = type(None)
|
|
5433
|
+
|
|
5434
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
5435
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageString,
|
|
5436
|
+
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
5437
|
+
]
|
|
5438
|
+
|
|
5439
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString = str
|
|
5440
|
+
|
|
5441
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull = type(None)
|
|
5442
|
+
|
|
5443
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessage = typing.Union[
|
|
5444
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString,
|
|
5445
|
+
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull,
|
|
5404
5446
|
]
|
|
5405
5447
|
|
|
5406
5448
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
@@ -5412,8 +5454,6 @@ CommonAbstraJsonV12DefinitionsFormStageStartButtonText = typing.Union[
|
|
|
5412
5454
|
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull,
|
|
5413
5455
|
]
|
|
5414
5456
|
|
|
5415
|
-
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
5416
|
-
|
|
5417
5457
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic = bool
|
|
5418
5458
|
|
|
5419
5459
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlRequiredRolesItem = str
|
|
@@ -5444,30 +5484,6 @@ class CommonAbstraJsonV12DefinitionsFormStageAccessControl:
|
|
|
5444
5484
|
)
|
|
5445
5485
|
|
|
5446
5486
|
|
|
5447
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
5448
|
-
|
|
5449
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
5450
|
-
|
|
5451
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
5452
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString,
|
|
5453
|
-
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
5454
|
-
]
|
|
5455
|
-
|
|
5456
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageString = str
|
|
5457
|
-
|
|
5458
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull = type(None)
|
|
5459
|
-
|
|
5460
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
5461
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageString,
|
|
5462
|
-
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
5463
|
-
]
|
|
5464
|
-
|
|
5465
|
-
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
5466
|
-
|
|
5467
|
-
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
5468
|
-
|
|
5469
|
-
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
5470
|
-
|
|
5471
5487
|
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
5472
5488
|
|
|
5473
5489
|
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
@@ -5496,73 +5512,78 @@ class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
|
5496
5512
|
)
|
|
5497
5513
|
|
|
5498
5514
|
|
|
5515
|
+
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
5516
|
+
|
|
5517
|
+
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
5518
|
+
|
|
5519
|
+
|
|
5499
5520
|
@dataclass
|
|
5500
5521
|
class CommonAbstraJsonV12DefinitionsFormStage:
|
|
5501
|
-
|
|
5522
|
+
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
5502
5523
|
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
5503
|
-
|
|
5524
|
+
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
5504
5525
|
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
5526
|
+
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
5527
|
+
welcome_title: CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle
|
|
5508
5528
|
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
5529
|
+
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
5530
|
+
start_message: CommonAbstraJsonV12DefinitionsFormStageStartMessage
|
|
5531
|
+
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
5509
5532
|
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
5533
|
+
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
5534
|
+
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
5510
5535
|
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
5511
|
-
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
5512
5536
|
access_control: CommonAbstraJsonV12DefinitionsFormStageAccessControl
|
|
5513
|
-
|
|
5514
|
-
start_message: CommonAbstraJsonV12DefinitionsFormStageStartMessage
|
|
5537
|
+
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
5515
5538
|
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
5516
5539
|
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
5517
|
-
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
5518
|
-
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
5519
5540
|
|
|
5520
5541
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
5521
5542
|
data = {}
|
|
5522
|
-
data["
|
|
5543
|
+
data["id"] = self.id
|
|
5523
5544
|
data["title"] = self.title
|
|
5524
|
-
data["
|
|
5545
|
+
data["file"] = self.file
|
|
5525
5546
|
data["workflow_position"] = self.workflow_position
|
|
5526
|
-
data["
|
|
5527
|
-
data["
|
|
5528
|
-
self.
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
self.error_message
|
|
5532
|
-
if isinstance(self.error_message, str)
|
|
5533
|
-
else self.error_message
|
|
5547
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
5548
|
+
data["welcome_title"] = (
|
|
5549
|
+
self.welcome_title
|
|
5550
|
+
if isinstance(self.welcome_title, str)
|
|
5551
|
+
else self.welcome_title
|
|
5534
5552
|
)
|
|
5535
5553
|
data["timeout_message"] = (
|
|
5536
5554
|
self.timeout_message
|
|
5537
5555
|
if isinstance(self.timeout_message, str)
|
|
5538
5556
|
else self.timeout_message
|
|
5539
5557
|
)
|
|
5558
|
+
data["allow_restart"] = self.allow_restart
|
|
5559
|
+
data["start_message"] = (
|
|
5560
|
+
self.start_message
|
|
5561
|
+
if isinstance(self.start_message, str)
|
|
5562
|
+
else self.start_message
|
|
5563
|
+
)
|
|
5564
|
+
data["is_initial"] = self.is_initial
|
|
5540
5565
|
data["restart_button_text"] = (
|
|
5541
5566
|
self.restart_button_text
|
|
5542
5567
|
if isinstance(self.restart_button_text, str)
|
|
5543
5568
|
else self.restart_button_text
|
|
5544
5569
|
)
|
|
5570
|
+
data["end_message"] = (
|
|
5571
|
+
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
5572
|
+
)
|
|
5573
|
+
data["error_message"] = (
|
|
5574
|
+
self.error_message
|
|
5575
|
+
if isinstance(self.error_message, str)
|
|
5576
|
+
else self.error_message
|
|
5577
|
+
)
|
|
5545
5578
|
data["start_button_text"] = (
|
|
5546
5579
|
self.start_button_text
|
|
5547
5580
|
if isinstance(self.start_button_text, str)
|
|
5548
5581
|
else self.start_button_text
|
|
5549
5582
|
)
|
|
5550
|
-
data["is_initial"] = self.is_initial
|
|
5551
5583
|
data["access_control"] = self.access_control.to_dict()
|
|
5552
|
-
data["
|
|
5553
|
-
self.welcome_title
|
|
5554
|
-
if isinstance(self.welcome_title, str)
|
|
5555
|
-
else self.welcome_title
|
|
5556
|
-
)
|
|
5557
|
-
data["start_message"] = (
|
|
5558
|
-
self.start_message
|
|
5559
|
-
if isinstance(self.start_message, str)
|
|
5560
|
-
else self.start_message
|
|
5561
|
-
)
|
|
5584
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
5562
5585
|
data["path"] = self.path
|
|
5563
5586
|
data["auto_start"] = self.auto_start
|
|
5564
|
-
data["allow_restart"] = self.allow_restart
|
|
5565
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
5566
5587
|
return data
|
|
5567
5588
|
|
|
5568
5589
|
@classmethod
|
|
@@ -5570,22 +5591,17 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
5570
5591
|
cls, data: typing.Dict[str, typing.Any]
|
|
5571
5592
|
) -> "CommonAbstraJsonV12DefinitionsFormStage":
|
|
5572
5593
|
return cls(
|
|
5573
|
-
|
|
5594
|
+
id=str(data["id"]),
|
|
5574
5595
|
title=str(data["title"]),
|
|
5596
|
+
file=str(data["file"]),
|
|
5597
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5575
5598
|
transitions=[
|
|
5576
5599
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
5577
5600
|
for item in data["transitions"]
|
|
5578
5601
|
],
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
str(data["end_message"])
|
|
5583
|
-
if isinstance(data["end_message"], str)
|
|
5584
|
-
else None
|
|
5585
|
-
),
|
|
5586
|
-
error_message=(
|
|
5587
|
-
str(data["error_message"])
|
|
5588
|
-
if isinstance(data["error_message"], str)
|
|
5602
|
+
welcome_title=(
|
|
5603
|
+
str(data["welcome_title"])
|
|
5604
|
+
if isinstance(data["welcome_title"], str)
|
|
5589
5605
|
else None
|
|
5590
5606
|
),
|
|
5591
5607
|
timeout_message=(
|
|
@@ -5593,36 +5609,41 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
5593
5609
|
if isinstance(data["timeout_message"], str)
|
|
5594
5610
|
else None
|
|
5595
5611
|
),
|
|
5612
|
+
allow_restart=bool(data["allow_restart"]),
|
|
5613
|
+
start_message=(
|
|
5614
|
+
str(data["start_message"])
|
|
5615
|
+
if isinstance(data["start_message"], str)
|
|
5616
|
+
else None
|
|
5617
|
+
),
|
|
5618
|
+
is_initial=bool(data["is_initial"]),
|
|
5596
5619
|
restart_button_text=(
|
|
5597
5620
|
str(data["restart_button_text"])
|
|
5598
5621
|
if isinstance(data["restart_button_text"], str)
|
|
5599
5622
|
else None
|
|
5600
5623
|
),
|
|
5624
|
+
end_message=(
|
|
5625
|
+
str(data["end_message"])
|
|
5626
|
+
if isinstance(data["end_message"], str)
|
|
5627
|
+
else None
|
|
5628
|
+
),
|
|
5629
|
+
error_message=(
|
|
5630
|
+
str(data["error_message"])
|
|
5631
|
+
if isinstance(data["error_message"], str)
|
|
5632
|
+
else None
|
|
5633
|
+
),
|
|
5601
5634
|
start_button_text=(
|
|
5602
5635
|
str(data["start_button_text"])
|
|
5603
5636
|
if isinstance(data["start_button_text"], str)
|
|
5604
5637
|
else None
|
|
5605
5638
|
),
|
|
5606
|
-
is_initial=bool(data["is_initial"]),
|
|
5607
5639
|
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
5608
5640
|
data["access_control"]
|
|
5609
5641
|
),
|
|
5610
|
-
welcome_title=(
|
|
5611
|
-
str(data["welcome_title"])
|
|
5612
|
-
if isinstance(data["welcome_title"], str)
|
|
5613
|
-
else None
|
|
5614
|
-
),
|
|
5615
|
-
start_message=(
|
|
5616
|
-
str(data["start_message"])
|
|
5617
|
-
if isinstance(data["start_message"], str)
|
|
5618
|
-
else None
|
|
5619
|
-
),
|
|
5620
|
-
path=str(data["path"]),
|
|
5621
|
-
auto_start=bool(data["auto_start"]),
|
|
5622
|
-
allow_restart=bool(data["allow_restart"]),
|
|
5623
5642
|
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
5624
5643
|
data["notification_trigger"]
|
|
5625
5644
|
),
|
|
5645
|
+
path=str(data["path"]),
|
|
5646
|
+
auto_start=bool(data["auto_start"]),
|
|
5626
5647
|
)
|
|
5627
5648
|
|
|
5628
5649
|
|
|
@@ -5630,17 +5651,11 @@ CommonAbstraJsonV12FormsItem = CommonAbstraJsonV12DefinitionsFormStage
|
|
|
5630
5651
|
|
|
5631
5652
|
CommonAbstraJsonV12Forms = typing.List[CommonAbstraJsonV12FormsItem]
|
|
5632
5653
|
|
|
5633
|
-
|
|
5654
|
+
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
5634
5655
|
|
|
5635
5656
|
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
5636
5657
|
|
|
5637
|
-
|
|
5638
|
-
CommonAbstraJsonV12DefinitionsTransition
|
|
5639
|
-
)
|
|
5640
|
-
|
|
5641
|
-
CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
5642
|
-
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
5643
|
-
]
|
|
5658
|
+
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
5644
5659
|
|
|
5645
5660
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
5646
5661
|
|
|
@@ -5648,27 +5663,33 @@ CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition = typing.List[
|
|
|
5648
5663
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem
|
|
5649
5664
|
]
|
|
5650
5665
|
|
|
5651
|
-
|
|
5666
|
+
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem = (
|
|
5667
|
+
CommonAbstraJsonV12DefinitionsTransition
|
|
5668
|
+
)
|
|
5669
|
+
|
|
5670
|
+
CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
5671
|
+
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
5672
|
+
]
|
|
5652
5673
|
|
|
5653
5674
|
CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
5654
5675
|
|
|
5655
5676
|
|
|
5656
5677
|
@dataclass
|
|
5657
5678
|
class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
5658
|
-
|
|
5679
|
+
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
5659
5680
|
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
5660
|
-
|
|
5681
|
+
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
5661
5682
|
workflow_position: CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition
|
|
5662
|
-
|
|
5683
|
+
transitions: CommonAbstraJsonV12DefinitionsScriptStageTransitions
|
|
5663
5684
|
is_initial: CommonAbstraJsonV12DefinitionsScriptStageIsInitial
|
|
5664
5685
|
|
|
5665
5686
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
5666
5687
|
data = {}
|
|
5667
|
-
data["
|
|
5688
|
+
data["id"] = self.id
|
|
5668
5689
|
data["title"] = self.title
|
|
5669
|
-
data["
|
|
5690
|
+
data["file"] = self.file
|
|
5670
5691
|
data["workflow_position"] = self.workflow_position
|
|
5671
|
-
data["
|
|
5692
|
+
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
5672
5693
|
data["is_initial"] = self.is_initial
|
|
5673
5694
|
return data
|
|
5674
5695
|
|
|
@@ -5677,14 +5698,14 @@ class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
|
5677
5698
|
cls, data: typing.Dict[str, typing.Any]
|
|
5678
5699
|
) -> "CommonAbstraJsonV12DefinitionsScriptStage":
|
|
5679
5700
|
return cls(
|
|
5680
|
-
|
|
5701
|
+
id=str(data["id"]),
|
|
5681
5702
|
title=str(data["title"]),
|
|
5703
|
+
file=str(data["file"]),
|
|
5704
|
+
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5682
5705
|
transitions=[
|
|
5683
5706
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
5684
5707
|
for item in data["transitions"]
|
|
5685
5708
|
],
|
|
5686
|
-
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
5687
|
-
id=str(data["id"]),
|
|
5688
5709
|
is_initial=bool(data["is_initial"]),
|
|
5689
5710
|
)
|
|
5690
5711
|
|
|
@@ -8672,6 +8693,139 @@ class CloudApiCliAiV2ConversationPostResponse:
|
|
|
8672
8693
|
)
|
|
8673
8694
|
|
|
8674
8695
|
|
|
8696
|
+
CloudApiConsoleWorkflowUpdateTaskRequestStatus = typing.Union[
|
|
8697
|
+
typing.Literal["pending"], typing.Literal["locked"], typing.Literal["completed"]
|
|
8698
|
+
]
|
|
8699
|
+
|
|
8700
|
+
CloudApiConsoleWorkflowUpdateTaskRequestStatusValues: typing.List[
|
|
8701
|
+
CloudApiConsoleWorkflowUpdateTaskRequestStatus
|
|
8702
|
+
] = ["pending", "locked", "completed"]
|
|
8703
|
+
|
|
8704
|
+
CloudApiConsoleWorkflowUpdateTaskRequestCompletedAt = datetime.datetime
|
|
8705
|
+
|
|
8706
|
+
CloudApiConsoleWorkflowUpdateTaskRequestCompletedByExecutionId = str
|
|
8707
|
+
|
|
8708
|
+
CloudApiConsoleWorkflowUpdateTaskRequestCompletedByStageId = str
|
|
8709
|
+
|
|
8710
|
+
|
|
8711
|
+
@dataclass
|
|
8712
|
+
class CloudApiConsoleWorkflowUpdateTaskRequestCompleted:
|
|
8713
|
+
at: CloudApiConsoleWorkflowUpdateTaskRequestCompletedAt
|
|
8714
|
+
by_execution_id: typing.Optional[
|
|
8715
|
+
CloudApiConsoleWorkflowUpdateTaskRequestCompletedByExecutionId
|
|
8716
|
+
] = field(default_factory=lambda: None)
|
|
8717
|
+
by_stage_id: typing.Optional[
|
|
8718
|
+
CloudApiConsoleWorkflowUpdateTaskRequestCompletedByStageId
|
|
8719
|
+
] = field(default_factory=lambda: None)
|
|
8720
|
+
|
|
8721
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
8722
|
+
data = {}
|
|
8723
|
+
data["at"] = self.at.isoformat()
|
|
8724
|
+
if self.by_execution_id is not None:
|
|
8725
|
+
data["byExecutionId"] = self.by_execution_id
|
|
8726
|
+
if self.by_stage_id is not None:
|
|
8727
|
+
data["byStageId"] = self.by_stage_id
|
|
8728
|
+
return data
|
|
8729
|
+
|
|
8730
|
+
@classmethod
|
|
8731
|
+
def from_dict(
|
|
8732
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
8733
|
+
) -> "CloudApiConsoleWorkflowUpdateTaskRequestCompleted":
|
|
8734
|
+
return cls(
|
|
8735
|
+
at=datetime.datetime.fromisoformat(data["at"]),
|
|
8736
|
+
by_execution_id=None
|
|
8737
|
+
if data.get("byExecutionId") is None
|
|
8738
|
+
else str(data["byExecutionId"]),
|
|
8739
|
+
by_stage_id=None
|
|
8740
|
+
if data.get("byStageId") is None
|
|
8741
|
+
else str(data["byStageId"]),
|
|
8742
|
+
)
|
|
8743
|
+
|
|
8744
|
+
|
|
8745
|
+
CloudApiConsoleWorkflowUpdateTaskRequestLockedAt = datetime.datetime
|
|
8746
|
+
|
|
8747
|
+
CloudApiConsoleWorkflowUpdateTaskRequestLockedByExecutionId = str
|
|
8748
|
+
|
|
8749
|
+
CloudApiConsoleWorkflowUpdateTaskRequestLockedByStageId = str
|
|
8750
|
+
|
|
8751
|
+
|
|
8752
|
+
@dataclass
|
|
8753
|
+
class CloudApiConsoleWorkflowUpdateTaskRequestLocked:
|
|
8754
|
+
at: CloudApiConsoleWorkflowUpdateTaskRequestLockedAt
|
|
8755
|
+
by_execution_id: typing.Optional[
|
|
8756
|
+
CloudApiConsoleWorkflowUpdateTaskRequestLockedByExecutionId
|
|
8757
|
+
] = field(default_factory=lambda: None)
|
|
8758
|
+
by_stage_id: typing.Optional[
|
|
8759
|
+
CloudApiConsoleWorkflowUpdateTaskRequestLockedByStageId
|
|
8760
|
+
] = field(default_factory=lambda: None)
|
|
8761
|
+
|
|
8762
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
8763
|
+
data = {}
|
|
8764
|
+
data["at"] = self.at.isoformat()
|
|
8765
|
+
if self.by_execution_id is not None:
|
|
8766
|
+
data["byExecutionId"] = self.by_execution_id
|
|
8767
|
+
if self.by_stage_id is not None:
|
|
8768
|
+
data["byStageId"] = self.by_stage_id
|
|
8769
|
+
return data
|
|
8770
|
+
|
|
8771
|
+
@classmethod
|
|
8772
|
+
def from_dict(
|
|
8773
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
8774
|
+
) -> "CloudApiConsoleWorkflowUpdateTaskRequestLocked":
|
|
8775
|
+
return cls(
|
|
8776
|
+
at=datetime.datetime.fromisoformat(data["at"]),
|
|
8777
|
+
by_execution_id=None
|
|
8778
|
+
if data.get("byExecutionId") is None
|
|
8779
|
+
else str(data["byExecutionId"]),
|
|
8780
|
+
by_stage_id=None
|
|
8781
|
+
if data.get("byStageId") is None
|
|
8782
|
+
else str(data["byStageId"]),
|
|
8783
|
+
)
|
|
8784
|
+
|
|
8785
|
+
|
|
8786
|
+
@dataclass
|
|
8787
|
+
class CloudApiConsoleWorkflowUpdateTaskRequest:
|
|
8788
|
+
status: typing.Optional[CloudApiConsoleWorkflowUpdateTaskRequestStatus] = field(
|
|
8789
|
+
default_factory=lambda: None
|
|
8790
|
+
)
|
|
8791
|
+
completed: typing.Optional[CloudApiConsoleWorkflowUpdateTaskRequestCompleted] = (
|
|
8792
|
+
field(default_factory=lambda: None)
|
|
8793
|
+
)
|
|
8794
|
+
locked: typing.Optional[CloudApiConsoleWorkflowUpdateTaskRequestLocked] = field(
|
|
8795
|
+
default_factory=lambda: None
|
|
8796
|
+
)
|
|
8797
|
+
|
|
8798
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
8799
|
+
data = {}
|
|
8800
|
+
if self.status is not None:
|
|
8801
|
+
data["status"] = self.status
|
|
8802
|
+
if self.completed is not None:
|
|
8803
|
+
data["completed"] = self.completed.to_dict()
|
|
8804
|
+
if self.locked is not None:
|
|
8805
|
+
data["locked"] = self.locked.to_dict()
|
|
8806
|
+
return data
|
|
8807
|
+
|
|
8808
|
+
@classmethod
|
|
8809
|
+
def from_dict(
|
|
8810
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
8811
|
+
) -> "CloudApiConsoleWorkflowUpdateTaskRequest":
|
|
8812
|
+
return cls(
|
|
8813
|
+
status=None if data.get("status") is None else data["status"],
|
|
8814
|
+
completed=None
|
|
8815
|
+
if data.get("completed") is None
|
|
8816
|
+
else CloudApiConsoleWorkflowUpdateTaskRequestCompleted.from_dict(
|
|
8817
|
+
data["completed"]
|
|
8818
|
+
),
|
|
8819
|
+
locked=None
|
|
8820
|
+
if data.get("locked") is None
|
|
8821
|
+
else CloudApiConsoleWorkflowUpdateTaskRequestLocked.from_dict(
|
|
8822
|
+
data["locked"]
|
|
8823
|
+
),
|
|
8824
|
+
)
|
|
8825
|
+
|
|
8826
|
+
|
|
8827
|
+
CloudApiCliTasksUpdateTaskRequest = CloudApiConsoleWorkflowUpdateTaskRequest
|
|
8828
|
+
|
|
8675
8829
|
CloudApiCliRoleUpdateRequestDescription = CommonRoleDescription
|
|
8676
8830
|
|
|
8677
8831
|
|