abstra 3.23.9__py3-none-any.whl → 3.23.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {abstra-3.23.9.dist-info → abstra-3.23.10.dist-info}/METADATA +1 -1
- {abstra-3.23.9.dist-info → abstra-3.23.10.dist-info}/RECORD +166 -166
- abstra_internals/contracts_generated.py +551 -663
- abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.e74c1d9b.js → AbstraButton.vue_vue_type_script_setup_true_lang.ab120641.js} +2 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.23cf85ee.js +2 -0
- abstra_statics/dist/assets/{ApiKeys.1d2b9051.js → ApiKeys.f5b7fcec.js} +2 -2
- abstra_statics/dist/assets/App.46bd8dd6.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.2264189c.js +2 -0
- abstra_statics/dist/assets/BaseLayout.77f1c4c9.js +2 -0
- abstra_statics/dist/assets/{Billing.ed96ff6d.js → Billing.44a9d31b.js} +2 -2
- abstra_statics/dist/assets/{Breadcrumb.21c760be.js → Breadcrumb.ef8bd191.js} +2 -2
- abstra_statics/dist/assets/{Builds.e0882931.js → Builds.4efe7d0f.js} +2 -2
- abstra_statics/dist/assets/{Card.714646f7.js → Card.897ad69d.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.5ac43298.js → CircularLoading.ea5d27d2.js} +2 -2
- abstra_statics/dist/assets/{CloseCircleOutlined.04918c3d.js → CloseCircleOutlined.3d4e81d4.js} +2 -2
- abstra_statics/dist/assets/{ConnectorsView.78da900d.js → ConnectorsView.b274568b.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.99b3af8f.js +2 -0
- abstra_statics/dist/assets/ContentLayout.866d5dde.js +2 -0
- abstra_statics/dist/assets/{CrudView.77b58a5a.js → CrudView.d06da8d4.js} +2 -2
- abstra_statics/dist/assets/CrudView.e24590ae.css +1 -0
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.a3f96825.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.4d61e44f.js → EditorLogin.22bca314.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.08a5cd3a.js → EditorsView.367f6a9a.js} +2 -2
- abstra_statics/dist/assets/EnvVars.afb25010.js +2 -0
- abstra_statics/dist/assets/{Error.8a6cfa01.js → Error.c2ad341a.js} +2 -2
- abstra_statics/dist/assets/{ExclamationCircleOutlined.93703670.js → ExclamationCircleOutlined.5510023c.js} +2 -2
- abstra_statics/dist/assets/{Files.6d07f9be.js → Files.aba4c92b.js} +2 -2
- abstra_statics/dist/assets/Form.ab1706e4.js +2 -0
- abstra_statics/dist/assets/{FormRunner.a00b296a.js → FormRunner.ce5ad4fd.js} +2 -2
- abstra_statics/dist/assets/Home.a001fbb0.js +2 -0
- abstra_statics/dist/assets/Home.ee572768.js +2 -0
- abstra_statics/dist/assets/{Live.ee0e73dd.js → Live.c14662db.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.c883bb34.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.f4b4629a.js +2 -0
- abstra_statics/dist/assets/{Login.0182140b.js → Login.2ef78ae0.js} +2 -2
- abstra_statics/dist/assets/Login.efd0eb05.js +2 -0
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.721bd893.js → Login.vue_vue_type_script_setup_true_lang.b006d8d3.js} +2 -2
- abstra_statics/dist/assets/Logo.648566b5.js +2 -0
- abstra_statics/dist/assets/{Logs.7a458aba.js → Logs.072f55c6.js} +2 -2
- abstra_statics/dist/assets/{LogsController.e7ad74db.js → LogsController.395d93f5.js} +2 -2
- abstra_statics/dist/assets/Main.e6027f81.js +2 -0
- abstra_statics/dist/assets/{MockForm.50f237ad.js → MockForm.fdc58df0.js} +2 -2
- abstra_statics/dist/assets/Navbar.7add3eb0.js +2 -0
- abstra_statics/dist/assets/NewEditor.6771ba53.js +8 -0
- abstra_statics/dist/assets/{NewEditor.0044878f.css → NewEditor.6dd8f03b.css} +1 -1
- abstra_statics/dist/assets/{OidcLoginCallback.073de6bd.js → OidcLoginCallback.f56f78fc.js} +2 -2
- abstra_statics/dist/assets/OidcLogoutCallback.437c4101.js +2 -0
- abstra_statics/dist/assets/{OmniChat.8a35a659.css → OmniChat.078af315.css} +1 -1
- abstra_statics/dist/assets/OmniChat.de7b834a.js +6 -0
- abstra_statics/dist/assets/{OnboardingView.c4e859f1.js → OnboardingView.51adcf60.js} +2 -2
- abstra_statics/dist/assets/{Organization.432776d6.js → Organization.e9e92d40.js} +2 -2
- abstra_statics/dist/assets/Organizations.a6fb836d.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.72ed46a0.js → PhArrowCounterClockwise.vue.a4f3391b.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.ddb450f1.js → PhArrowSquareOut.vue.6554aa1c.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.4a6ba053.js → PhBookBookmark.vue.c37eb773.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.870bbba9.js → PhChats.vue.1d971c96.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.123f0e9b.js → PhClockCounterClockwise.vue.f3d7a5f0.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.70df4792.js → PhCopy.vue.e433af1d.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.f5246c24.js → PhCopySimple.vue.b8cedde5.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.8900248a.js → PhCube.vue.8321d975.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.14516e2e.js → PhDotsThreeVertical.vue.377e8248.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.f8dc6a01.js → PhDownloadSimple.vue.4c39fa52.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.65855487.js → PhFolderPlus.vue.26f4fc08.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.172823d3.js → PhGear.vue.bde6cc31.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.9d78ceda.js → PhKey.vue.6aba158a.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.f326c6d0.js → PhPencil.vue.55f0d005.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.31afd9b3.js → PhPencilSimple.vue.82f128f3.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimpleLine.vue.394969fe.js → PhPencilSimpleLine.vue.64631777.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.b69be43b.js → PhRocket.vue.ff778122.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.6be07f90.js → PhSignOut.vue.8f5bfa41.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.ca8d1014.js → PhSparkle.vue.2d12a12f.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.43e7a38a.js → PhUserList.vue.5cfe135b.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.fb26521a.js → PhUsersThree.vue.ddb0f571.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.ea667ed2.js → PhWebhooksLogo.vue.f667599c.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.5aec8c16.js → PlayerConfigProvider.ef1e8f48.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.21883569.js → PlayerNavbar.ca2f19cb.js} +2 -2
- abstra_statics/dist/assets/{Project.a987ec46.js → Project.4e2f44e3.js} +2 -2
- abstra_statics/dist/assets/ProjectLogin.2d8bb827.js +2 -0
- abstra_statics/dist/assets/{ProjectSettings.b949f40f.js → ProjectSettings.952cec7a.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.7de28b8a.js → ProjectsView.67e79ccf.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.f6870993.js → SaveButton.d14631e9.js} +2 -2
- abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.21ea9f38.js → ScrollArea.vue_vue_type_script_setup_true_lang.49642b53.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.1250b960.js → Sidebar.964fcb1c.js} +2 -2
- abstra_statics/dist/assets/Sql.afd70c7f.js +5 -0
- abstra_statics/dist/assets/Steps.4482ff19.js +2 -0
- abstra_statics/dist/assets/{TableEditor.25046840.js → TableEditor.9584d010.js} +2 -2
- abstra_statics/dist/assets/Tables.ea01768b.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.eb43ee41.js → TablesDiagram.e6ce884d.js} +2 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.1a057f69.js +2 -0
- abstra_statics/dist/assets/{Tasks.5fde94ea.js → Tasks.f57e239d.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.3828d031.js → UploadOutlined.68e6d0cf.js} +2 -2
- abstra_statics/dist/assets/{View.f0be1038.js → View.f549262c.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.bddece9c.js → View.vue_vue_type_script_setup_true_lang.8e0a328b.js} +2 -2
- abstra_statics/dist/assets/{Watermark.1655dad8.js → Watermark.37fe047e.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.f6ba39c6.js → WebEditor.8ff1601b.js} +2 -2
- abstra_statics/dist/assets/WidgetPreview.bc7a6646.js +2 -0
- abstra_statics/dist/assets/ant-design.876f2f8d.js +2 -0
- abstra_statics/dist/assets/apiKey.1d723817.js +2 -0
- abstra_statics/dist/assets/asyncComputed.7b34952b.js +2 -0
- abstra_statics/dist/assets/{build.261de82e.js → build.71b8e04b.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.5dd0cb4f.js +2 -0
- abstra_statics/dist/assets/{console.0548c6a0.js → console.6a1ae26d.js} +2 -2
- abstra_statics/dist/assets/constants.60cb557d.js +2 -0
- abstra_statics/dist/assets/contracts.generated.6e0d1816.js +2 -0
- abstra_statics/dist/assets/{cssMode.c55f29d9.js → cssMode.6a4a4184.js} +2 -2
- abstra_statics/dist/assets/datetime.2d5b6900.js +2 -0
- abstra_statics/dist/assets/dayjs.0eae9c2d.js +2 -0
- abstra_statics/dist/assets/editor.776db77c.js +2 -0
- abstra_statics/dist/assets/editor.main.7f316986.js +2 -0
- abstra_statics/dist/assets/fetch.cbf466d2.js +2 -0
- abstra_statics/dist/assets/{folder.934b13ce.js → folder.f5b64034.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.72aea997.js → freemarker2.b87986e8.js} +2 -2
- abstra_statics/dist/assets/{handlebars.607ed329.js → handlebars.cc213cd7.js} +2 -2
- abstra_statics/dist/assets/{html.1cebc021.js → html.77746bba.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.b3ab207b.js → htmlMode.db862c25.js} +2 -2
- abstra_statics/dist/assets/{index.ded0f9ab.js → index.00fb5b89.js} +2 -2
- abstra_statics/dist/assets/{index.cef986ac.js → index.045179c5.js} +5 -5
- abstra_statics/dist/assets/{index.a5ddebc4.js → index.09f330ad.js} +3 -3
- abstra_statics/dist/assets/{index.e189c6ed.js → index.3404e7dd.js} +2 -2
- abstra_statics/dist/assets/{index.2efe5ae2.js → index.34fb5fc2.js} +2 -2
- abstra_statics/dist/assets/{index.8ea8b90b.js → index.d928bc3c.js} +2 -2
- abstra_statics/dist/assets/{index.61710ff9.js → index.ddb85c9b.js} +2 -2
- abstra_statics/dist/assets/{index.424d5056.js → index.e6c377d2.js} +2 -2
- abstra_statics/dist/assets/{index.d73f307c.js → index.f04176ea.js} +2 -2
- abstra_statics/dist/assets/{javascript.595850d9.js → javascript.54e5f980.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.e3ed1113.js → jsonMode.fc4496f7.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.1b301f74.js → jwt-decode.esm.7fb8faf4.js} +7 -7
- abstra_statics/dist/assets/{linters.0018d44c.js → linters.910a9028.js} +2 -2
- abstra_statics/dist/assets/{liquid.3ef83be8.js → liquid.2595976e.js} +3 -3
- abstra_statics/dist/assets/member.4e942dca.js +2 -0
- abstra_statics/dist/assets/{metadata.e6e62729.js → metadata.bd2832f8.js} +2 -2
- abstra_statics/dist/assets/omniChatStore.83648f7c.js +8 -0
- abstra_statics/dist/assets/{organization.c92a9190.js → organization.0e5f192f.js} +2 -2
- abstra_statics/dist/assets/player.5f97b741.js +2 -0
- abstra_statics/dist/assets/{plotly.min.ac699f04.js → plotly.min.8ee43c36.js} +2 -2
- abstra_statics/dist/assets/polling.41905ad0.js +2 -0
- abstra_statics/dist/assets/{project.48a235c1.js → project.47800fcd.js} +2 -2
- abstra_statics/dist/assets/{python.b69cfb2a.js → python.adb76dee.js} +3 -3
- abstra_statics/dist/assets/{razor.0f42fef9.js → razor.8c0f414a.js} +2 -2
- abstra_statics/dist/assets/{record.b96b0275.js → record.5fbe6782.js} +2 -2
- abstra_statics/dist/assets/{redirect.ebab71ed.js → redirect.0e6a5558.js} +2 -2
- abstra_statics/dist/assets/repository.22769dca.js +2 -0
- abstra_statics/dist/assets/{repository.c0dc4e22.js → repository.f466c79e.js} +2 -2
- abstra_statics/dist/assets/{router.99a53337.js → router.643f183e.js} +3 -3
- abstra_statics/dist/assets/router.71aa46ba.js +2 -0
- abstra_statics/dist/assets/{string.4796d44a.js → string.d8337a2b.js} +2 -2
- abstra_statics/dist/assets/{tables.13d62f0c.js → tables.736ccb3d.js} +2 -2
- abstra_statics/dist/assets/{tasksController.3255c760.js → tasksController.4a937a41.js} +2 -2
- abstra_statics/dist/assets/{toggleHighContrast.cb5e834a.js → toggleHighContrast.15446005.js} +7 -7
- abstra_statics/dist/assets/{tsMode.95528ab9.js → tsMode.6e8249dd.js} +2 -2
- abstra_statics/dist/assets/{typescript.b90bd43d.js → typescript.2c2237b9.js} +3 -3
- abstra_statics/dist/assets/{url.84e62ca8.js → url.4e737b7f.js} +2 -2
- abstra_statics/dist/assets/{useCodebaseEvents.c47ad36d.js → useCodebaseEvents.28978c2b.js} +2 -2
- abstra_statics/dist/assets/userStore.f3109854.js +2 -0
- abstra_statics/dist/assets/uuid.0f9d5a19.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.6b5566a8.js → vue-flow-background.b301f87f.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.3c4b0230.js → vue-quill.esm-bundler.b4fd1194.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.6a20c00d.js → workspaceStore.de299d82.js} +2 -2
- abstra_statics/dist/assets/{xml.070d3630.js → xml.685038e1.js} +2 -2
- abstra_statics/dist/assets/{yaml.2a862691.js → yaml.1a2cf10b.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +13 -13
- abstra_statics/dist/player.html +9 -9
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f9d9018b.js +0 -2
- abstra_statics/dist/assets/App.24328bec.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.13b52476.js +0 -2
- abstra_statics/dist/assets/BaseLayout.e2546be2.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.d7b17e09.js +0 -2
- abstra_statics/dist/assets/ContentLayout.3a69fd49.js +0 -2
- abstra_statics/dist/assets/CrudView.c883bb05.css +0 -1
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.836e8f5e.js +0 -2
- abstra_statics/dist/assets/EnvVars.2f33a113.js +0 -2
- abstra_statics/dist/assets/Form.c1a08fa6.js +0 -2
- abstra_statics/dist/assets/Home.332f8b44.js +0 -2
- abstra_statics/dist/assets/Home.964d824d.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.cbb8e068.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.644899c2.js +0 -2
- abstra_statics/dist/assets/Login.ebf77147.js +0 -2
- abstra_statics/dist/assets/Logo.c74119c7.js +0 -2
- abstra_statics/dist/assets/Main.a2c84f7b.js +0 -2
- abstra_statics/dist/assets/Navbar.0cf9e650.js +0 -2
- abstra_statics/dist/assets/NewEditor.4519d8ac.js +0 -8
- abstra_statics/dist/assets/OidcLogoutCallback.e474320b.js +0 -2
- abstra_statics/dist/assets/OmniChat.1a6ad90c.js +0 -6
- abstra_statics/dist/assets/Organizations.cd6f9f61.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.583ce83f.js +0 -2
- abstra_statics/dist/assets/Sql.a8abfb57.js +0 -5
- abstra_statics/dist/assets/Steps.2f177a1f.js +0 -2
- abstra_statics/dist/assets/Tables.f0ea43f5.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.a35b4471.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.70e3ecb3.js +0 -2
- abstra_statics/dist/assets/ant-design.1cc60cde.js +0 -2
- abstra_statics/dist/assets/apiKey.49b8decf.js +0 -2
- abstra_statics/dist/assets/asyncComputed.92146382.js +0 -2
- abstra_statics/dist/assets/colorHelpers.59e5ee56.js +0 -2
- abstra_statics/dist/assets/constants.f352d89b.js +0 -2
- abstra_statics/dist/assets/contracts.generated.ac0bb8ea.js +0 -2
- abstra_statics/dist/assets/datetime.780c5d6b.js +0 -2
- abstra_statics/dist/assets/dayjs.b139fc88.js +0 -2
- abstra_statics/dist/assets/editor.f7e5ca32.js +0 -2
- abstra_statics/dist/assets/editor.main.eea24677.js +0 -2
- abstra_statics/dist/assets/fetch.e3c8dd68.js +0 -2
- abstra_statics/dist/assets/member.3c3a769a.js +0 -2
- abstra_statics/dist/assets/omniChatStore.8902e4de.js +0 -8
- abstra_statics/dist/assets/player.82dc9e2f.js +0 -2
- abstra_statics/dist/assets/polling.a3bae209.js +0 -2
- abstra_statics/dist/assets/repository.4920fb3b.js +0 -2
- abstra_statics/dist/assets/router.8882099a.js +0 -2
- abstra_statics/dist/assets/userStore.843da693.js +0 -2
- abstra_statics/dist/assets/uuid.58d26ff2.js +0 -2
- {abstra-3.23.9.dist-info → abstra-3.23.10.dist-info}/WHEEL +0 -0
- {abstra-3.23.9.dist-info → abstra-3.23.10.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.9.dist-info → abstra-3.23.10.dist-info}/top_level.txt +0 -0
|
@@ -287,37 +287,7 @@ CommonProjectDeploymentResourcesComputeUnits = float
|
|
|
287
287
|
|
|
288
288
|
CommonProjectDeploymentResourcesTimeoutSeconds = str
|
|
289
289
|
|
|
290
|
-
CommonProjectDeploymentResourcesWorkerType =
|
|
291
|
-
typing.Literal["jusbrasil"],
|
|
292
|
-
typing.Literal["clickbus"],
|
|
293
|
-
typing.Literal["touchsuite"],
|
|
294
|
-
typing.Literal["foursquare"],
|
|
295
|
-
typing.Literal["estoca"],
|
|
296
|
-
typing.Literal["estoca-test"],
|
|
297
|
-
typing.Literal["irko"],
|
|
298
|
-
typing.Literal["dr9"],
|
|
299
|
-
typing.Literal["onfly"],
|
|
300
|
-
typing.Literal["shared"],
|
|
301
|
-
typing.Literal["test"],
|
|
302
|
-
typing.Literal["abstra-projects"],
|
|
303
|
-
]
|
|
304
|
-
|
|
305
|
-
CommonProjectDeploymentResourcesWorkerTypeValues: typing.List[
|
|
306
|
-
CommonProjectDeploymentResourcesWorkerType
|
|
307
|
-
] = [
|
|
308
|
-
"jusbrasil",
|
|
309
|
-
"clickbus",
|
|
310
|
-
"touchsuite",
|
|
311
|
-
"foursquare",
|
|
312
|
-
"estoca",
|
|
313
|
-
"estoca-test",
|
|
314
|
-
"irko",
|
|
315
|
-
"dr9",
|
|
316
|
-
"onfly",
|
|
317
|
-
"shared",
|
|
318
|
-
"test",
|
|
319
|
-
"abstra-projects",
|
|
320
|
-
]
|
|
290
|
+
CommonProjectDeploymentResourcesWorkerType = str
|
|
321
291
|
|
|
322
292
|
CommonProjectDeploymentResourcesPythonVersion = typing.Union[
|
|
323
293
|
typing.Literal["3.9"],
|
|
@@ -447,7 +417,9 @@ class CommonProjectDeploymentResources:
|
|
|
447
417
|
timeout_seconds=None
|
|
448
418
|
if data.get("timeoutSeconds") is None
|
|
449
419
|
else str(data["timeoutSeconds"]),
|
|
450
|
-
worker_type=None
|
|
420
|
+
worker_type=None
|
|
421
|
+
if data.get("workerType") is None
|
|
422
|
+
else str(data["workerType"]),
|
|
451
423
|
python_version=None
|
|
452
424
|
if data.get("pythonVersion") is None
|
|
453
425
|
else data["pythonVersion"],
|
|
@@ -1467,37 +1439,7 @@ CommonOrganizationDeploymentResourcesComputeUnits = float
|
|
|
1467
1439
|
|
|
1468
1440
|
CommonOrganizationDeploymentResourcesTimeoutSeconds = str
|
|
1469
1441
|
|
|
1470
|
-
CommonOrganizationDeploymentResourcesWorkerType =
|
|
1471
|
-
typing.Literal["jusbrasil"],
|
|
1472
|
-
typing.Literal["clickbus"],
|
|
1473
|
-
typing.Literal["touchsuite"],
|
|
1474
|
-
typing.Literal["foursquare"],
|
|
1475
|
-
typing.Literal["estoca"],
|
|
1476
|
-
typing.Literal["estoca-test"],
|
|
1477
|
-
typing.Literal["irko"],
|
|
1478
|
-
typing.Literal["dr9"],
|
|
1479
|
-
typing.Literal["onfly"],
|
|
1480
|
-
typing.Literal["shared"],
|
|
1481
|
-
typing.Literal["test"],
|
|
1482
|
-
typing.Literal["abstra-projects"],
|
|
1483
|
-
]
|
|
1484
|
-
|
|
1485
|
-
CommonOrganizationDeploymentResourcesWorkerTypeValues: typing.List[
|
|
1486
|
-
CommonOrganizationDeploymentResourcesWorkerType
|
|
1487
|
-
] = [
|
|
1488
|
-
"jusbrasil",
|
|
1489
|
-
"clickbus",
|
|
1490
|
-
"touchsuite",
|
|
1491
|
-
"foursquare",
|
|
1492
|
-
"estoca",
|
|
1493
|
-
"estoca-test",
|
|
1494
|
-
"irko",
|
|
1495
|
-
"dr9",
|
|
1496
|
-
"onfly",
|
|
1497
|
-
"shared",
|
|
1498
|
-
"test",
|
|
1499
|
-
"abstra-projects",
|
|
1500
|
-
]
|
|
1442
|
+
CommonOrganizationDeploymentResourcesWorkerType = str
|
|
1501
1443
|
|
|
1502
1444
|
CommonOrganizationDeploymentResourcesPythonVersion = typing.Union[
|
|
1503
1445
|
typing.Literal["3.9"],
|
|
@@ -1627,7 +1569,9 @@ class CommonOrganizationDeploymentResources:
|
|
|
1627
1569
|
timeout_seconds=None
|
|
1628
1570
|
if data.get("timeoutSeconds") is None
|
|
1629
1571
|
else str(data["timeoutSeconds"]),
|
|
1630
|
-
worker_type=None
|
|
1572
|
+
worker_type=None
|
|
1573
|
+
if data.get("workerType") is None
|
|
1574
|
+
else str(data["workerType"]),
|
|
1631
1575
|
python_version=None
|
|
1632
1576
|
if data.get("pythonVersion") is None
|
|
1633
1577
|
else data["pythonVersion"],
|
|
@@ -1933,6 +1877,8 @@ class CommonAbstraJsonV15Home:
|
|
|
1933
1877
|
)
|
|
1934
1878
|
|
|
1935
1879
|
|
|
1880
|
+
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
1881
|
+
|
|
1936
1882
|
CommonAbstraJsonV15DefinitionsJobStageFile = str
|
|
1937
1883
|
|
|
1938
1884
|
CommonAbstraJsonV15DefinitionsJobStageWorkflowPositionItem = float
|
|
@@ -2006,8 +1952,6 @@ CommonAbstraJsonV15DefinitionsJobStageTransitions = typing.List[
|
|
|
2006
1952
|
CommonAbstraJsonV15DefinitionsJobStageTransitionsItem
|
|
2007
1953
|
]
|
|
2008
1954
|
|
|
2009
|
-
CommonAbstraJsonV15DefinitionsJobStageId = str
|
|
2010
|
-
|
|
2011
1955
|
CommonAbstraJsonV15DefinitionsJobStageTitle = str
|
|
2012
1956
|
|
|
2013
1957
|
CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
@@ -2015,19 +1959,19 @@ CommonAbstraJsonV15DefinitionsJobStageSchedule = str
|
|
|
2015
1959
|
|
|
2016
1960
|
@dataclass
|
|
2017
1961
|
class CommonAbstraJsonV15DefinitionsJobStage:
|
|
1962
|
+
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2018
1963
|
file: CommonAbstraJsonV15DefinitionsJobStageFile
|
|
2019
1964
|
workflow_position: CommonAbstraJsonV15DefinitionsJobStageWorkflowPosition
|
|
2020
1965
|
transitions: CommonAbstraJsonV15DefinitionsJobStageTransitions
|
|
2021
|
-
id: CommonAbstraJsonV15DefinitionsJobStageId
|
|
2022
1966
|
title: CommonAbstraJsonV15DefinitionsJobStageTitle
|
|
2023
1967
|
schedule: CommonAbstraJsonV15DefinitionsJobStageSchedule
|
|
2024
1968
|
|
|
2025
1969
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2026
1970
|
data = {}
|
|
1971
|
+
data["id"] = self.id
|
|
2027
1972
|
data["file"] = self.file
|
|
2028
1973
|
data["workflow_position"] = self.workflow_position
|
|
2029
1974
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2030
|
-
data["id"] = self.id
|
|
2031
1975
|
data["title"] = self.title
|
|
2032
1976
|
data["schedule"] = self.schedule
|
|
2033
1977
|
return data
|
|
@@ -2037,13 +1981,13 @@ class CommonAbstraJsonV15DefinitionsJobStage:
|
|
|
2037
1981
|
cls, data: typing.Dict[str, typing.Any]
|
|
2038
1982
|
) -> "CommonAbstraJsonV15DefinitionsJobStage":
|
|
2039
1983
|
return cls(
|
|
1984
|
+
id=str(data["id"]),
|
|
2040
1985
|
file=str(data["file"]),
|
|
2041
1986
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2042
1987
|
transitions=[
|
|
2043
1988
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2044
1989
|
for item in data["transitions"]
|
|
2045
1990
|
],
|
|
2046
|
-
id=str(data["id"]),
|
|
2047
1991
|
title=str(data["title"]),
|
|
2048
1992
|
schedule=str(data["schedule"]),
|
|
2049
1993
|
)
|
|
@@ -2053,6 +1997,8 @@ CommonAbstraJsonV15JobsItem = CommonAbstraJsonV15DefinitionsJobStage
|
|
|
2053
1997
|
|
|
2054
1998
|
CommonAbstraJsonV15Jobs = typing.List[CommonAbstraJsonV15JobsItem]
|
|
2055
1999
|
|
|
2000
|
+
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2001
|
+
|
|
2056
2002
|
CommonAbstraJsonV15DefinitionsHookStageFile = str
|
|
2057
2003
|
|
|
2058
2004
|
CommonAbstraJsonV15DefinitionsHookStageWorkflowPositionItem = float
|
|
@@ -2069,37 +2015,35 @@ CommonAbstraJsonV15DefinitionsHookStageTransitions = typing.List[
|
|
|
2069
2015
|
CommonAbstraJsonV15DefinitionsHookStageTransitionsItem
|
|
2070
2016
|
]
|
|
2071
2017
|
|
|
2072
|
-
CommonAbstraJsonV15DefinitionsHookStageId = str
|
|
2073
|
-
|
|
2074
2018
|
CommonAbstraJsonV15DefinitionsHookStageTitle = str
|
|
2075
2019
|
|
|
2076
|
-
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2077
|
-
|
|
2078
2020
|
CommonAbstraJsonV15DefinitionsHookStageIsInitial = bool
|
|
2079
2021
|
|
|
2022
|
+
CommonAbstraJsonV15DefinitionsHookStagePath = str
|
|
2023
|
+
|
|
2080
2024
|
CommonAbstraJsonV15DefinitionsHookStageEnabled = bool
|
|
2081
2025
|
|
|
2082
2026
|
|
|
2083
2027
|
@dataclass
|
|
2084
2028
|
class CommonAbstraJsonV15DefinitionsHookStage:
|
|
2029
|
+
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2085
2030
|
file: CommonAbstraJsonV15DefinitionsHookStageFile
|
|
2086
2031
|
workflow_position: CommonAbstraJsonV15DefinitionsHookStageWorkflowPosition
|
|
2087
2032
|
transitions: CommonAbstraJsonV15DefinitionsHookStageTransitions
|
|
2088
|
-
id: CommonAbstraJsonV15DefinitionsHookStageId
|
|
2089
2033
|
title: CommonAbstraJsonV15DefinitionsHookStageTitle
|
|
2090
|
-
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2091
2034
|
is_initial: CommonAbstraJsonV15DefinitionsHookStageIsInitial
|
|
2035
|
+
path: CommonAbstraJsonV15DefinitionsHookStagePath
|
|
2092
2036
|
enabled: CommonAbstraJsonV15DefinitionsHookStageEnabled
|
|
2093
2037
|
|
|
2094
2038
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2095
2039
|
data = {}
|
|
2040
|
+
data["id"] = self.id
|
|
2096
2041
|
data["file"] = self.file
|
|
2097
2042
|
data["workflow_position"] = self.workflow_position
|
|
2098
2043
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2099
|
-
data["id"] = self.id
|
|
2100
2044
|
data["title"] = self.title
|
|
2101
|
-
data["path"] = self.path
|
|
2102
2045
|
data["is_initial"] = self.is_initial
|
|
2046
|
+
data["path"] = self.path
|
|
2103
2047
|
data["enabled"] = self.enabled
|
|
2104
2048
|
return data
|
|
2105
2049
|
|
|
@@ -2108,16 +2052,16 @@ class CommonAbstraJsonV15DefinitionsHookStage:
|
|
|
2108
2052
|
cls, data: typing.Dict[str, typing.Any]
|
|
2109
2053
|
) -> "CommonAbstraJsonV15DefinitionsHookStage":
|
|
2110
2054
|
return cls(
|
|
2055
|
+
id=str(data["id"]),
|
|
2111
2056
|
file=str(data["file"]),
|
|
2112
2057
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2113
2058
|
transitions=[
|
|
2114
2059
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2115
2060
|
for item in data["transitions"]
|
|
2116
2061
|
],
|
|
2117
|
-
id=str(data["id"]),
|
|
2118
2062
|
title=str(data["title"]),
|
|
2119
|
-
path=str(data["path"]),
|
|
2120
2063
|
is_initial=bool(data["is_initial"]),
|
|
2064
|
+
path=str(data["path"]),
|
|
2121
2065
|
enabled=bool(data["enabled"]),
|
|
2122
2066
|
)
|
|
2123
2067
|
|
|
@@ -2126,6 +2070,8 @@ CommonAbstraJsonV15HooksItem = CommonAbstraJsonV15DefinitionsHookStage
|
|
|
2126
2070
|
|
|
2127
2071
|
CommonAbstraJsonV15Hooks = typing.List[CommonAbstraJsonV15HooksItem]
|
|
2128
2072
|
|
|
2073
|
+
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2074
|
+
|
|
2129
2075
|
CommonAbstraJsonV15DefinitionsFormStageFile = str
|
|
2130
2076
|
|
|
2131
2077
|
CommonAbstraJsonV15DefinitionsFormStageWorkflowPositionItem = float
|
|
@@ -2142,22 +2088,35 @@ CommonAbstraJsonV15DefinitionsFormStageTransitions = typing.List[
|
|
|
2142
2088
|
CommonAbstraJsonV15DefinitionsFormStageTransitionsItem
|
|
2143
2089
|
]
|
|
2144
2090
|
|
|
2145
|
-
CommonAbstraJsonV15DefinitionsFormStageId = str
|
|
2146
|
-
|
|
2147
2091
|
CommonAbstraJsonV15DefinitionsFormStageTitle = str
|
|
2148
2092
|
|
|
2149
|
-
|
|
2093
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2150
2094
|
|
|
2151
|
-
|
|
2095
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2152
2096
|
|
|
2153
|
-
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
2154
2097
|
|
|
2155
|
-
|
|
2098
|
+
@dataclass
|
|
2099
|
+
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2100
|
+
variable_name: (
|
|
2101
|
+
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2102
|
+
)
|
|
2103
|
+
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2104
|
+
|
|
2105
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2106
|
+
data = {}
|
|
2107
|
+
data["variable_name"] = self.variable_name
|
|
2108
|
+
data["enabled"] = self.enabled
|
|
2109
|
+
return data
|
|
2110
|
+
|
|
2111
|
+
@classmethod
|
|
2112
|
+
def from_dict(
|
|
2113
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
2114
|
+
) -> "CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger":
|
|
2115
|
+
return cls(
|
|
2116
|
+
variable_name=str(data["variable_name"]),
|
|
2117
|
+
enabled=bool(data["enabled"]),
|
|
2118
|
+
)
|
|
2156
2119
|
|
|
2157
|
-
CommonAbstraJsonV15DefinitionsFormStageStartButtonText = typing.Union[
|
|
2158
|
-
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString,
|
|
2159
|
-
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull,
|
|
2160
|
-
]
|
|
2161
2120
|
|
|
2162
2121
|
CommonAbstraJsonV15DefinitionsFormStageAccessControlIsPublic = bool
|
|
2163
2122
|
|
|
@@ -2189,6 +2148,8 @@ class CommonAbstraJsonV15DefinitionsFormStageAccessControl:
|
|
|
2189
2148
|
)
|
|
2190
2149
|
|
|
2191
2150
|
|
|
2151
|
+
CommonAbstraJsonV15DefinitionsFormStageAllowRestart = bool
|
|
2152
|
+
|
|
2192
2153
|
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleString = str
|
|
2193
2154
|
|
|
2194
2155
|
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
@@ -2198,56 +2159,6 @@ CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
|
2198
2159
|
CommonAbstraJsonV15DefinitionsFormStageWelcomeTitleNull,
|
|
2199
2160
|
]
|
|
2200
2161
|
|
|
2201
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2202
|
-
|
|
2203
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2204
|
-
|
|
2205
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2206
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString,
|
|
2207
|
-
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2208
|
-
]
|
|
2209
|
-
|
|
2210
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2211
|
-
|
|
2212
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
@dataclass
|
|
2216
|
-
class CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger:
|
|
2217
|
-
variable_name: (
|
|
2218
|
-
CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerVariableName
|
|
2219
|
-
)
|
|
2220
|
-
enabled: CommonAbstraJsonV15DefinitionsFormStageNotificationTriggerEnabled
|
|
2221
|
-
|
|
2222
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2223
|
-
data = {}
|
|
2224
|
-
data["variable_name"] = self.variable_name
|
|
2225
|
-
data["enabled"] = self.enabled
|
|
2226
|
-
return data
|
|
2227
|
-
|
|
2228
|
-
@classmethod
|
|
2229
|
-
def from_dict(
|
|
2230
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
2231
|
-
) -> "CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger":
|
|
2232
|
-
return cls(
|
|
2233
|
-
variable_name=str(data["variable_name"]),
|
|
2234
|
-
enabled=bool(data["enabled"]),
|
|
2235
|
-
)
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2239
|
-
|
|
2240
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2241
|
-
|
|
2242
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2243
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2244
|
-
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2245
|
-
]
|
|
2246
|
-
|
|
2247
|
-
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
2248
|
-
|
|
2249
|
-
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2250
|
-
|
|
2251
2162
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageString = str
|
|
2252
2163
|
|
|
2253
2164
|
CommonAbstraJsonV15DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -2266,6 +2177,30 @@ CommonAbstraJsonV15DefinitionsFormStageStartMessage = typing.Union[
|
|
|
2266
2177
|
CommonAbstraJsonV15DefinitionsFormStageStartMessageNull,
|
|
2267
2178
|
]
|
|
2268
2179
|
|
|
2180
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString = str
|
|
2181
|
+
|
|
2182
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull = type(None)
|
|
2183
|
+
|
|
2184
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonText = typing.Union[
|
|
2185
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextString,
|
|
2186
|
+
CommonAbstraJsonV15DefinitionsFormStageStartButtonTextNull,
|
|
2187
|
+
]
|
|
2188
|
+
|
|
2189
|
+
CommonAbstraJsonV15DefinitionsFormStageIsInitial = bool
|
|
2190
|
+
|
|
2191
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString = str
|
|
2192
|
+
|
|
2193
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2194
|
+
|
|
2195
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2196
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextString,
|
|
2197
|
+
CommonAbstraJsonV15DefinitionsFormStageRestartButtonTextNull,
|
|
2198
|
+
]
|
|
2199
|
+
|
|
2200
|
+
CommonAbstraJsonV15DefinitionsFormStagePath = str
|
|
2201
|
+
|
|
2202
|
+
CommonAbstraJsonV15DefinitionsFormStageAutoStart = bool
|
|
2203
|
+
|
|
2269
2204
|
CommonAbstraJsonV15DefinitionsFormStageEndMessageString = str
|
|
2270
2205
|
|
|
2271
2206
|
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull = type(None)
|
|
@@ -2275,61 +2210,52 @@ CommonAbstraJsonV15DefinitionsFormStageEndMessage = typing.Union[
|
|
|
2275
2210
|
CommonAbstraJsonV15DefinitionsFormStageEndMessageNull,
|
|
2276
2211
|
]
|
|
2277
2212
|
|
|
2213
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString = str
|
|
2214
|
+
|
|
2215
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2216
|
+
|
|
2217
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2218
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageString,
|
|
2219
|
+
CommonAbstraJsonV15DefinitionsFormStageTimeoutMessageNull,
|
|
2220
|
+
]
|
|
2221
|
+
|
|
2278
2222
|
|
|
2279
2223
|
@dataclass
|
|
2280
2224
|
class CommonAbstraJsonV15DefinitionsFormStage:
|
|
2225
|
+
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2281
2226
|
file: CommonAbstraJsonV15DefinitionsFormStageFile
|
|
2282
2227
|
workflow_position: CommonAbstraJsonV15DefinitionsFormStageWorkflowPosition
|
|
2283
2228
|
transitions: CommonAbstraJsonV15DefinitionsFormStageTransitions
|
|
2284
|
-
id: CommonAbstraJsonV15DefinitionsFormStageId
|
|
2285
2229
|
title: CommonAbstraJsonV15DefinitionsFormStageTitle
|
|
2286
|
-
|
|
2287
|
-
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
2288
|
-
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2230
|
+
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2289
2231
|
access_control: CommonAbstraJsonV15DefinitionsFormStageAccessControl
|
|
2232
|
+
allow_restart: CommonAbstraJsonV15DefinitionsFormStageAllowRestart
|
|
2290
2233
|
welcome_title: CommonAbstraJsonV15DefinitionsFormStageWelcomeTitle
|
|
2291
|
-
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2292
|
-
notification_trigger: CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger
|
|
2293
|
-
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
2294
|
-
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2295
|
-
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2296
2234
|
error_message: CommonAbstraJsonV15DefinitionsFormStageErrorMessage
|
|
2297
2235
|
start_message: CommonAbstraJsonV15DefinitionsFormStageStartMessage
|
|
2236
|
+
start_button_text: CommonAbstraJsonV15DefinitionsFormStageStartButtonText
|
|
2237
|
+
is_initial: CommonAbstraJsonV15DefinitionsFormStageIsInitial
|
|
2238
|
+
restart_button_text: CommonAbstraJsonV15DefinitionsFormStageRestartButtonText
|
|
2239
|
+
path: CommonAbstraJsonV15DefinitionsFormStagePath
|
|
2240
|
+
auto_start: CommonAbstraJsonV15DefinitionsFormStageAutoStart
|
|
2298
2241
|
end_message: CommonAbstraJsonV15DefinitionsFormStageEndMessage
|
|
2242
|
+
timeout_message: CommonAbstraJsonV15DefinitionsFormStageTimeoutMessage
|
|
2299
2243
|
|
|
2300
2244
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2301
2245
|
data = {}
|
|
2246
|
+
data["id"] = self.id
|
|
2302
2247
|
data["file"] = self.file
|
|
2303
2248
|
data["workflow_position"] = self.workflow_position
|
|
2304
2249
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2305
|
-
data["id"] = self.id
|
|
2306
2250
|
data["title"] = self.title
|
|
2307
|
-
data["
|
|
2308
|
-
data["is_initial"] = self.is_initial
|
|
2309
|
-
data["start_button_text"] = (
|
|
2310
|
-
self.start_button_text
|
|
2311
|
-
if isinstance(self.start_button_text, str)
|
|
2312
|
-
else self.start_button_text
|
|
2313
|
-
)
|
|
2251
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2314
2252
|
data["access_control"] = self.access_control.to_dict()
|
|
2253
|
+
data["allow_restart"] = self.allow_restart
|
|
2315
2254
|
data["welcome_title"] = (
|
|
2316
2255
|
self.welcome_title
|
|
2317
2256
|
if isinstance(self.welcome_title, str)
|
|
2318
2257
|
else self.welcome_title
|
|
2319
2258
|
)
|
|
2320
|
-
data["restart_button_text"] = (
|
|
2321
|
-
self.restart_button_text
|
|
2322
|
-
if isinstance(self.restart_button_text, str)
|
|
2323
|
-
else self.restart_button_text
|
|
2324
|
-
)
|
|
2325
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
2326
|
-
data["timeout_message"] = (
|
|
2327
|
-
self.timeout_message
|
|
2328
|
-
if isinstance(self.timeout_message, str)
|
|
2329
|
-
else self.timeout_message
|
|
2330
|
-
)
|
|
2331
|
-
data["auto_start"] = self.auto_start
|
|
2332
|
-
data["path"] = self.path
|
|
2333
2259
|
data["error_message"] = (
|
|
2334
2260
|
self.error_message
|
|
2335
2261
|
if isinstance(self.error_message, str)
|
|
@@ -2340,9 +2266,27 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2340
2266
|
if isinstance(self.start_message, str)
|
|
2341
2267
|
else self.start_message
|
|
2342
2268
|
)
|
|
2269
|
+
data["start_button_text"] = (
|
|
2270
|
+
self.start_button_text
|
|
2271
|
+
if isinstance(self.start_button_text, str)
|
|
2272
|
+
else self.start_button_text
|
|
2273
|
+
)
|
|
2274
|
+
data["is_initial"] = self.is_initial
|
|
2275
|
+
data["restart_button_text"] = (
|
|
2276
|
+
self.restart_button_text
|
|
2277
|
+
if isinstance(self.restart_button_text, str)
|
|
2278
|
+
else self.restart_button_text
|
|
2279
|
+
)
|
|
2280
|
+
data["path"] = self.path
|
|
2281
|
+
data["auto_start"] = self.auto_start
|
|
2343
2282
|
data["end_message"] = (
|
|
2344
2283
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
2345
2284
|
)
|
|
2285
|
+
data["timeout_message"] = (
|
|
2286
|
+
self.timeout_message
|
|
2287
|
+
if isinstance(self.timeout_message, str)
|
|
2288
|
+
else self.timeout_message
|
|
2289
|
+
)
|
|
2346
2290
|
return data
|
|
2347
2291
|
|
|
2348
2292
|
@classmethod
|
|
@@ -2350,44 +2294,26 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2350
2294
|
cls, data: typing.Dict[str, typing.Any]
|
|
2351
2295
|
) -> "CommonAbstraJsonV15DefinitionsFormStage":
|
|
2352
2296
|
return cls(
|
|
2297
|
+
id=str(data["id"]),
|
|
2353
2298
|
file=str(data["file"]),
|
|
2354
2299
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2355
2300
|
transitions=[
|
|
2356
2301
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2357
2302
|
for item in data["transitions"]
|
|
2358
2303
|
],
|
|
2359
|
-
id=str(data["id"]),
|
|
2360
2304
|
title=str(data["title"]),
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
start_button_text=(
|
|
2364
|
-
str(data["start_button_text"])
|
|
2365
|
-
if isinstance(data["start_button_text"], str)
|
|
2366
|
-
else None
|
|
2305
|
+
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2306
|
+
data["notification_trigger"]
|
|
2367
2307
|
),
|
|
2368
2308
|
access_control=CommonAbstraJsonV15DefinitionsFormStageAccessControl.from_dict(
|
|
2369
2309
|
data["access_control"]
|
|
2370
2310
|
),
|
|
2311
|
+
allow_restart=bool(data["allow_restart"]),
|
|
2371
2312
|
welcome_title=(
|
|
2372
2313
|
str(data["welcome_title"])
|
|
2373
2314
|
if isinstance(data["welcome_title"], str)
|
|
2374
2315
|
else None
|
|
2375
2316
|
),
|
|
2376
|
-
restart_button_text=(
|
|
2377
|
-
str(data["restart_button_text"])
|
|
2378
|
-
if isinstance(data["restart_button_text"], str)
|
|
2379
|
-
else None
|
|
2380
|
-
),
|
|
2381
|
-
notification_trigger=CommonAbstraJsonV15DefinitionsFormStageNotificationTrigger.from_dict(
|
|
2382
|
-
data["notification_trigger"]
|
|
2383
|
-
),
|
|
2384
|
-
timeout_message=(
|
|
2385
|
-
str(data["timeout_message"])
|
|
2386
|
-
if isinstance(data["timeout_message"], str)
|
|
2387
|
-
else None
|
|
2388
|
-
),
|
|
2389
|
-
auto_start=bool(data["auto_start"]),
|
|
2390
|
-
path=str(data["path"]),
|
|
2391
2317
|
error_message=(
|
|
2392
2318
|
str(data["error_message"])
|
|
2393
2319
|
if isinstance(data["error_message"], str)
|
|
@@ -2398,11 +2324,29 @@ class CommonAbstraJsonV15DefinitionsFormStage:
|
|
|
2398
2324
|
if isinstance(data["start_message"], str)
|
|
2399
2325
|
else None
|
|
2400
2326
|
),
|
|
2327
|
+
start_button_text=(
|
|
2328
|
+
str(data["start_button_text"])
|
|
2329
|
+
if isinstance(data["start_button_text"], str)
|
|
2330
|
+
else None
|
|
2331
|
+
),
|
|
2332
|
+
is_initial=bool(data["is_initial"]),
|
|
2333
|
+
restart_button_text=(
|
|
2334
|
+
str(data["restart_button_text"])
|
|
2335
|
+
if isinstance(data["restart_button_text"], str)
|
|
2336
|
+
else None
|
|
2337
|
+
),
|
|
2338
|
+
path=str(data["path"]),
|
|
2339
|
+
auto_start=bool(data["auto_start"]),
|
|
2401
2340
|
end_message=(
|
|
2402
2341
|
str(data["end_message"])
|
|
2403
2342
|
if isinstance(data["end_message"], str)
|
|
2404
2343
|
else None
|
|
2405
2344
|
),
|
|
2345
|
+
timeout_message=(
|
|
2346
|
+
str(data["timeout_message"])
|
|
2347
|
+
if isinstance(data["timeout_message"], str)
|
|
2348
|
+
else None
|
|
2349
|
+
),
|
|
2406
2350
|
)
|
|
2407
2351
|
|
|
2408
2352
|
|
|
@@ -2410,6 +2354,8 @@ CommonAbstraJsonV15FormsItem = CommonAbstraJsonV15DefinitionsFormStage
|
|
|
2410
2354
|
|
|
2411
2355
|
CommonAbstraJsonV15Forms = typing.List[CommonAbstraJsonV15FormsItem]
|
|
2412
2356
|
|
|
2357
|
+
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2358
|
+
|
|
2413
2359
|
CommonAbstraJsonV15DefinitionsScriptStageFile = str
|
|
2414
2360
|
|
|
2415
2361
|
CommonAbstraJsonV15DefinitionsScriptStageWorkflowPositionItem = float
|
|
@@ -2426,8 +2372,6 @@ CommonAbstraJsonV15DefinitionsScriptStageTransitions = typing.List[
|
|
|
2426
2372
|
CommonAbstraJsonV15DefinitionsScriptStageTransitionsItem
|
|
2427
2373
|
]
|
|
2428
2374
|
|
|
2429
|
-
CommonAbstraJsonV15DefinitionsScriptStageId = str
|
|
2430
|
-
|
|
2431
2375
|
CommonAbstraJsonV15DefinitionsScriptStageTitle = str
|
|
2432
2376
|
|
|
2433
2377
|
CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
@@ -2435,19 +2379,19 @@ CommonAbstraJsonV15DefinitionsScriptStageIsInitial = bool
|
|
|
2435
2379
|
|
|
2436
2380
|
@dataclass
|
|
2437
2381
|
class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
2382
|
+
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2438
2383
|
file: CommonAbstraJsonV15DefinitionsScriptStageFile
|
|
2439
2384
|
workflow_position: CommonAbstraJsonV15DefinitionsScriptStageWorkflowPosition
|
|
2440
2385
|
transitions: CommonAbstraJsonV15DefinitionsScriptStageTransitions
|
|
2441
|
-
id: CommonAbstraJsonV15DefinitionsScriptStageId
|
|
2442
2386
|
title: CommonAbstraJsonV15DefinitionsScriptStageTitle
|
|
2443
2387
|
is_initial: CommonAbstraJsonV15DefinitionsScriptStageIsInitial
|
|
2444
2388
|
|
|
2445
2389
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2446
2390
|
data = {}
|
|
2391
|
+
data["id"] = self.id
|
|
2447
2392
|
data["file"] = self.file
|
|
2448
2393
|
data["workflow_position"] = self.workflow_position
|
|
2449
2394
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2450
|
-
data["id"] = self.id
|
|
2451
2395
|
data["title"] = self.title
|
|
2452
2396
|
data["is_initial"] = self.is_initial
|
|
2453
2397
|
return data
|
|
@@ -2457,13 +2401,13 @@ class CommonAbstraJsonV15DefinitionsScriptStage:
|
|
|
2457
2401
|
cls, data: typing.Dict[str, typing.Any]
|
|
2458
2402
|
) -> "CommonAbstraJsonV15DefinitionsScriptStage":
|
|
2459
2403
|
return cls(
|
|
2404
|
+
id=str(data["id"]),
|
|
2460
2405
|
file=str(data["file"]),
|
|
2461
2406
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2462
2407
|
transitions=[
|
|
2463
2408
|
CommonAbstraJsonV15DefinitionsTransition.from_dict(item)
|
|
2464
2409
|
for item in data["transitions"]
|
|
2465
2410
|
],
|
|
2466
|
-
id=str(data["id"]),
|
|
2467
2411
|
title=str(data["title"]),
|
|
2468
2412
|
is_initial=bool(data["is_initial"]),
|
|
2469
2413
|
)
|
|
@@ -2708,6 +2652,8 @@ class CommonAbstraJsonV14Home:
|
|
|
2708
2652
|
)
|
|
2709
2653
|
|
|
2710
2654
|
|
|
2655
|
+
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2656
|
+
|
|
2711
2657
|
CommonAbstraJsonV14DefinitionsJobStageFile = str
|
|
2712
2658
|
|
|
2713
2659
|
CommonAbstraJsonV14DefinitionsJobStageWorkflowPositionItem = float
|
|
@@ -2785,8 +2731,6 @@ CommonAbstraJsonV14DefinitionsJobStageTransitions = typing.List[
|
|
|
2785
2731
|
CommonAbstraJsonV14DefinitionsJobStageTransitionsItem
|
|
2786
2732
|
]
|
|
2787
2733
|
|
|
2788
|
-
CommonAbstraJsonV14DefinitionsJobStageId = str
|
|
2789
|
-
|
|
2790
2734
|
CommonAbstraJsonV14DefinitionsJobStageTitle = str
|
|
2791
2735
|
|
|
2792
2736
|
CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
@@ -2794,19 +2738,19 @@ CommonAbstraJsonV14DefinitionsJobStageSchedule = str
|
|
|
2794
2738
|
|
|
2795
2739
|
@dataclass
|
|
2796
2740
|
class CommonAbstraJsonV14DefinitionsJobStage:
|
|
2741
|
+
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2797
2742
|
file: CommonAbstraJsonV14DefinitionsJobStageFile
|
|
2798
2743
|
workflow_position: CommonAbstraJsonV14DefinitionsJobStageWorkflowPosition
|
|
2799
2744
|
transitions: CommonAbstraJsonV14DefinitionsJobStageTransitions
|
|
2800
|
-
id: CommonAbstraJsonV14DefinitionsJobStageId
|
|
2801
2745
|
title: CommonAbstraJsonV14DefinitionsJobStageTitle
|
|
2802
2746
|
schedule: CommonAbstraJsonV14DefinitionsJobStageSchedule
|
|
2803
2747
|
|
|
2804
2748
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2805
2749
|
data = {}
|
|
2750
|
+
data["id"] = self.id
|
|
2806
2751
|
data["file"] = self.file
|
|
2807
2752
|
data["workflow_position"] = self.workflow_position
|
|
2808
2753
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2809
|
-
data["id"] = self.id
|
|
2810
2754
|
data["title"] = self.title
|
|
2811
2755
|
data["schedule"] = self.schedule
|
|
2812
2756
|
return data
|
|
@@ -2816,13 +2760,13 @@ class CommonAbstraJsonV14DefinitionsJobStage:
|
|
|
2816
2760
|
cls, data: typing.Dict[str, typing.Any]
|
|
2817
2761
|
) -> "CommonAbstraJsonV14DefinitionsJobStage":
|
|
2818
2762
|
return cls(
|
|
2763
|
+
id=str(data["id"]),
|
|
2819
2764
|
file=str(data["file"]),
|
|
2820
2765
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2821
2766
|
transitions=[
|
|
2822
2767
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2823
2768
|
for item in data["transitions"]
|
|
2824
2769
|
],
|
|
2825
|
-
id=str(data["id"]),
|
|
2826
2770
|
title=str(data["title"]),
|
|
2827
2771
|
schedule=str(data["schedule"]),
|
|
2828
2772
|
)
|
|
@@ -2832,6 +2776,8 @@ CommonAbstraJsonV14JobsItem = CommonAbstraJsonV14DefinitionsJobStage
|
|
|
2832
2776
|
|
|
2833
2777
|
CommonAbstraJsonV14Jobs = typing.List[CommonAbstraJsonV14JobsItem]
|
|
2834
2778
|
|
|
2779
|
+
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2780
|
+
|
|
2835
2781
|
CommonAbstraJsonV14DefinitionsHookStageFile = str
|
|
2836
2782
|
|
|
2837
2783
|
CommonAbstraJsonV14DefinitionsHookStageWorkflowPositionItem = float
|
|
@@ -2848,37 +2794,35 @@ CommonAbstraJsonV14DefinitionsHookStageTransitions = typing.List[
|
|
|
2848
2794
|
CommonAbstraJsonV14DefinitionsHookStageTransitionsItem
|
|
2849
2795
|
]
|
|
2850
2796
|
|
|
2851
|
-
CommonAbstraJsonV14DefinitionsHookStageId = str
|
|
2852
|
-
|
|
2853
2797
|
CommonAbstraJsonV14DefinitionsHookStageTitle = str
|
|
2854
2798
|
|
|
2855
|
-
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2856
|
-
|
|
2857
2799
|
CommonAbstraJsonV14DefinitionsHookStageIsInitial = bool
|
|
2858
2800
|
|
|
2801
|
+
CommonAbstraJsonV14DefinitionsHookStagePath = str
|
|
2802
|
+
|
|
2859
2803
|
CommonAbstraJsonV14DefinitionsHookStageEnabled = bool
|
|
2860
2804
|
|
|
2861
2805
|
|
|
2862
2806
|
@dataclass
|
|
2863
2807
|
class CommonAbstraJsonV14DefinitionsHookStage:
|
|
2808
|
+
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2864
2809
|
file: CommonAbstraJsonV14DefinitionsHookStageFile
|
|
2865
2810
|
workflow_position: CommonAbstraJsonV14DefinitionsHookStageWorkflowPosition
|
|
2866
2811
|
transitions: CommonAbstraJsonV14DefinitionsHookStageTransitions
|
|
2867
|
-
id: CommonAbstraJsonV14DefinitionsHookStageId
|
|
2868
2812
|
title: CommonAbstraJsonV14DefinitionsHookStageTitle
|
|
2869
|
-
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
2870
2813
|
is_initial: CommonAbstraJsonV14DefinitionsHookStageIsInitial
|
|
2814
|
+
path: CommonAbstraJsonV14DefinitionsHookStagePath
|
|
2871
2815
|
enabled: CommonAbstraJsonV14DefinitionsHookStageEnabled
|
|
2872
2816
|
|
|
2873
2817
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2874
2818
|
data = {}
|
|
2819
|
+
data["id"] = self.id
|
|
2875
2820
|
data["file"] = self.file
|
|
2876
2821
|
data["workflow_position"] = self.workflow_position
|
|
2877
2822
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
2878
|
-
data["id"] = self.id
|
|
2879
2823
|
data["title"] = self.title
|
|
2880
|
-
data["path"] = self.path
|
|
2881
2824
|
data["is_initial"] = self.is_initial
|
|
2825
|
+
data["path"] = self.path
|
|
2882
2826
|
data["enabled"] = self.enabled
|
|
2883
2827
|
return data
|
|
2884
2828
|
|
|
@@ -2887,16 +2831,16 @@ class CommonAbstraJsonV14DefinitionsHookStage:
|
|
|
2887
2831
|
cls, data: typing.Dict[str, typing.Any]
|
|
2888
2832
|
) -> "CommonAbstraJsonV14DefinitionsHookStage":
|
|
2889
2833
|
return cls(
|
|
2834
|
+
id=str(data["id"]),
|
|
2890
2835
|
file=str(data["file"]),
|
|
2891
2836
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
2892
2837
|
transitions=[
|
|
2893
2838
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
2894
2839
|
for item in data["transitions"]
|
|
2895
2840
|
],
|
|
2896
|
-
id=str(data["id"]),
|
|
2897
2841
|
title=str(data["title"]),
|
|
2898
|
-
path=str(data["path"]),
|
|
2899
2842
|
is_initial=bool(data["is_initial"]),
|
|
2843
|
+
path=str(data["path"]),
|
|
2900
2844
|
enabled=bool(data["enabled"]),
|
|
2901
2845
|
)
|
|
2902
2846
|
|
|
@@ -2905,6 +2849,8 @@ CommonAbstraJsonV14HooksItem = CommonAbstraJsonV14DefinitionsHookStage
|
|
|
2905
2849
|
|
|
2906
2850
|
CommonAbstraJsonV14Hooks = typing.List[CommonAbstraJsonV14HooksItem]
|
|
2907
2851
|
|
|
2852
|
+
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2853
|
+
|
|
2908
2854
|
CommonAbstraJsonV14DefinitionsFormStageFile = str
|
|
2909
2855
|
|
|
2910
2856
|
CommonAbstraJsonV14DefinitionsFormStageWorkflowPositionItem = float
|
|
@@ -2921,22 +2867,35 @@ CommonAbstraJsonV14DefinitionsFormStageTransitions = typing.List[
|
|
|
2921
2867
|
CommonAbstraJsonV14DefinitionsFormStageTransitionsItem
|
|
2922
2868
|
]
|
|
2923
2869
|
|
|
2924
|
-
CommonAbstraJsonV14DefinitionsFormStageId = str
|
|
2925
|
-
|
|
2926
2870
|
CommonAbstraJsonV14DefinitionsFormStageTitle = str
|
|
2927
2871
|
|
|
2928
|
-
|
|
2872
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2929
2873
|
|
|
2930
|
-
|
|
2874
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2931
2875
|
|
|
2932
|
-
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
2933
2876
|
|
|
2934
|
-
|
|
2877
|
+
@dataclass
|
|
2878
|
+
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
2879
|
+
variable_name: (
|
|
2880
|
+
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
2881
|
+
)
|
|
2882
|
+
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
2883
|
+
|
|
2884
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
2885
|
+
data = {}
|
|
2886
|
+
data["variable_name"] = self.variable_name
|
|
2887
|
+
data["enabled"] = self.enabled
|
|
2888
|
+
return data
|
|
2889
|
+
|
|
2890
|
+
@classmethod
|
|
2891
|
+
def from_dict(
|
|
2892
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
2893
|
+
) -> "CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger":
|
|
2894
|
+
return cls(
|
|
2895
|
+
variable_name=str(data["variable_name"]),
|
|
2896
|
+
enabled=bool(data["enabled"]),
|
|
2897
|
+
)
|
|
2935
2898
|
|
|
2936
|
-
CommonAbstraJsonV14DefinitionsFormStageStartButtonText = typing.Union[
|
|
2937
|
-
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString,
|
|
2938
|
-
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull,
|
|
2939
|
-
]
|
|
2940
2899
|
|
|
2941
2900
|
CommonAbstraJsonV14DefinitionsFormStageAccessControlIsPublic = bool
|
|
2942
2901
|
|
|
@@ -2968,6 +2927,8 @@ class CommonAbstraJsonV14DefinitionsFormStageAccessControl:
|
|
|
2968
2927
|
)
|
|
2969
2928
|
|
|
2970
2929
|
|
|
2930
|
+
CommonAbstraJsonV14DefinitionsFormStageAllowRestart = bool
|
|
2931
|
+
|
|
2971
2932
|
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleString = str
|
|
2972
2933
|
|
|
2973
2934
|
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
@@ -2977,56 +2938,6 @@ CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
|
2977
2938
|
CommonAbstraJsonV14DefinitionsFormStageWelcomeTitleNull,
|
|
2978
2939
|
]
|
|
2979
2940
|
|
|
2980
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
2981
|
-
|
|
2982
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2983
|
-
|
|
2984
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2985
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString,
|
|
2986
|
-
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
2987
|
-
]
|
|
2988
|
-
|
|
2989
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName = str
|
|
2990
|
-
|
|
2991
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
@dataclass
|
|
2995
|
-
class CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger:
|
|
2996
|
-
variable_name: (
|
|
2997
|
-
CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerVariableName
|
|
2998
|
-
)
|
|
2999
|
-
enabled: CommonAbstraJsonV14DefinitionsFormStageNotificationTriggerEnabled
|
|
3000
|
-
|
|
3001
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3002
|
-
data = {}
|
|
3003
|
-
data["variable_name"] = self.variable_name
|
|
3004
|
-
data["enabled"] = self.enabled
|
|
3005
|
-
return data
|
|
3006
|
-
|
|
3007
|
-
@classmethod
|
|
3008
|
-
def from_dict(
|
|
3009
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
3010
|
-
) -> "CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger":
|
|
3011
|
-
return cls(
|
|
3012
|
-
variable_name=str(data["variable_name"]),
|
|
3013
|
-
enabled=bool(data["enabled"]),
|
|
3014
|
-
)
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString = str
|
|
3018
|
-
|
|
3019
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3020
|
-
|
|
3021
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3022
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString,
|
|
3023
|
-
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
3024
|
-
]
|
|
3025
|
-
|
|
3026
|
-
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
3027
|
-
|
|
3028
|
-
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
3029
|
-
|
|
3030
2941
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageString = str
|
|
3031
2942
|
|
|
3032
2943
|
CommonAbstraJsonV14DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -3045,6 +2956,30 @@ CommonAbstraJsonV14DefinitionsFormStageStartMessage = typing.Union[
|
|
|
3045
2956
|
CommonAbstraJsonV14DefinitionsFormStageStartMessageNull,
|
|
3046
2957
|
]
|
|
3047
2958
|
|
|
2959
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString = str
|
|
2960
|
+
|
|
2961
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull = type(None)
|
|
2962
|
+
|
|
2963
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonText = typing.Union[
|
|
2964
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextString,
|
|
2965
|
+
CommonAbstraJsonV14DefinitionsFormStageStartButtonTextNull,
|
|
2966
|
+
]
|
|
2967
|
+
|
|
2968
|
+
CommonAbstraJsonV14DefinitionsFormStageIsInitial = bool
|
|
2969
|
+
|
|
2970
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString = str
|
|
2971
|
+
|
|
2972
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
2973
|
+
|
|
2974
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonText = typing.Union[
|
|
2975
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextString,
|
|
2976
|
+
CommonAbstraJsonV14DefinitionsFormStageRestartButtonTextNull,
|
|
2977
|
+
]
|
|
2978
|
+
|
|
2979
|
+
CommonAbstraJsonV14DefinitionsFormStagePath = str
|
|
2980
|
+
|
|
2981
|
+
CommonAbstraJsonV14DefinitionsFormStageAutoStart = bool
|
|
2982
|
+
|
|
3048
2983
|
CommonAbstraJsonV14DefinitionsFormStageEndMessageString = str
|
|
3049
2984
|
|
|
3050
2985
|
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull = type(None)
|
|
@@ -3054,61 +2989,52 @@ CommonAbstraJsonV14DefinitionsFormStageEndMessage = typing.Union[
|
|
|
3054
2989
|
CommonAbstraJsonV14DefinitionsFormStageEndMessageNull,
|
|
3055
2990
|
]
|
|
3056
2991
|
|
|
2992
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString = str
|
|
2993
|
+
|
|
2994
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
2995
|
+
|
|
2996
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
2997
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageString,
|
|
2998
|
+
CommonAbstraJsonV14DefinitionsFormStageTimeoutMessageNull,
|
|
2999
|
+
]
|
|
3000
|
+
|
|
3057
3001
|
|
|
3058
3002
|
@dataclass
|
|
3059
3003
|
class CommonAbstraJsonV14DefinitionsFormStage:
|
|
3004
|
+
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3060
3005
|
file: CommonAbstraJsonV14DefinitionsFormStageFile
|
|
3061
3006
|
workflow_position: CommonAbstraJsonV14DefinitionsFormStageWorkflowPosition
|
|
3062
3007
|
transitions: CommonAbstraJsonV14DefinitionsFormStageTransitions
|
|
3063
|
-
id: CommonAbstraJsonV14DefinitionsFormStageId
|
|
3064
3008
|
title: CommonAbstraJsonV14DefinitionsFormStageTitle
|
|
3065
|
-
|
|
3066
|
-
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3067
|
-
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3009
|
+
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3068
3010
|
access_control: CommonAbstraJsonV14DefinitionsFormStageAccessControl
|
|
3011
|
+
allow_restart: CommonAbstraJsonV14DefinitionsFormStageAllowRestart
|
|
3069
3012
|
welcome_title: CommonAbstraJsonV14DefinitionsFormStageWelcomeTitle
|
|
3070
|
-
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3071
|
-
notification_trigger: CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger
|
|
3072
|
-
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3073
|
-
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3074
|
-
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3075
3013
|
error_message: CommonAbstraJsonV14DefinitionsFormStageErrorMessage
|
|
3076
3014
|
start_message: CommonAbstraJsonV14DefinitionsFormStageStartMessage
|
|
3015
|
+
start_button_text: CommonAbstraJsonV14DefinitionsFormStageStartButtonText
|
|
3016
|
+
is_initial: CommonAbstraJsonV14DefinitionsFormStageIsInitial
|
|
3017
|
+
restart_button_text: CommonAbstraJsonV14DefinitionsFormStageRestartButtonText
|
|
3018
|
+
path: CommonAbstraJsonV14DefinitionsFormStagePath
|
|
3019
|
+
auto_start: CommonAbstraJsonV14DefinitionsFormStageAutoStart
|
|
3077
3020
|
end_message: CommonAbstraJsonV14DefinitionsFormStageEndMessage
|
|
3021
|
+
timeout_message: CommonAbstraJsonV14DefinitionsFormStageTimeoutMessage
|
|
3078
3022
|
|
|
3079
3023
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3080
3024
|
data = {}
|
|
3025
|
+
data["id"] = self.id
|
|
3081
3026
|
data["file"] = self.file
|
|
3082
3027
|
data["workflow_position"] = self.workflow_position
|
|
3083
3028
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3084
|
-
data["id"] = self.id
|
|
3085
3029
|
data["title"] = self.title
|
|
3086
|
-
data["
|
|
3087
|
-
data["is_initial"] = self.is_initial
|
|
3088
|
-
data["start_button_text"] = (
|
|
3089
|
-
self.start_button_text
|
|
3090
|
-
if isinstance(self.start_button_text, str)
|
|
3091
|
-
else self.start_button_text
|
|
3092
|
-
)
|
|
3030
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3093
3031
|
data["access_control"] = self.access_control.to_dict()
|
|
3032
|
+
data["allow_restart"] = self.allow_restart
|
|
3094
3033
|
data["welcome_title"] = (
|
|
3095
3034
|
self.welcome_title
|
|
3096
3035
|
if isinstance(self.welcome_title, str)
|
|
3097
3036
|
else self.welcome_title
|
|
3098
3037
|
)
|
|
3099
|
-
data["restart_button_text"] = (
|
|
3100
|
-
self.restart_button_text
|
|
3101
|
-
if isinstance(self.restart_button_text, str)
|
|
3102
|
-
else self.restart_button_text
|
|
3103
|
-
)
|
|
3104
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3105
|
-
data["timeout_message"] = (
|
|
3106
|
-
self.timeout_message
|
|
3107
|
-
if isinstance(self.timeout_message, str)
|
|
3108
|
-
else self.timeout_message
|
|
3109
|
-
)
|
|
3110
|
-
data["auto_start"] = self.auto_start
|
|
3111
|
-
data["path"] = self.path
|
|
3112
3038
|
data["error_message"] = (
|
|
3113
3039
|
self.error_message
|
|
3114
3040
|
if isinstance(self.error_message, str)
|
|
@@ -3119,9 +3045,27 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3119
3045
|
if isinstance(self.start_message, str)
|
|
3120
3046
|
else self.start_message
|
|
3121
3047
|
)
|
|
3048
|
+
data["start_button_text"] = (
|
|
3049
|
+
self.start_button_text
|
|
3050
|
+
if isinstance(self.start_button_text, str)
|
|
3051
|
+
else self.start_button_text
|
|
3052
|
+
)
|
|
3053
|
+
data["is_initial"] = self.is_initial
|
|
3054
|
+
data["restart_button_text"] = (
|
|
3055
|
+
self.restart_button_text
|
|
3056
|
+
if isinstance(self.restart_button_text, str)
|
|
3057
|
+
else self.restart_button_text
|
|
3058
|
+
)
|
|
3059
|
+
data["path"] = self.path
|
|
3060
|
+
data["auto_start"] = self.auto_start
|
|
3122
3061
|
data["end_message"] = (
|
|
3123
3062
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3124
3063
|
)
|
|
3064
|
+
data["timeout_message"] = (
|
|
3065
|
+
self.timeout_message
|
|
3066
|
+
if isinstance(self.timeout_message, str)
|
|
3067
|
+
else self.timeout_message
|
|
3068
|
+
)
|
|
3125
3069
|
return data
|
|
3126
3070
|
|
|
3127
3071
|
@classmethod
|
|
@@ -3129,44 +3073,26 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3129
3073
|
cls, data: typing.Dict[str, typing.Any]
|
|
3130
3074
|
) -> "CommonAbstraJsonV14DefinitionsFormStage":
|
|
3131
3075
|
return cls(
|
|
3076
|
+
id=str(data["id"]),
|
|
3132
3077
|
file=str(data["file"]),
|
|
3133
3078
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3134
3079
|
transitions=[
|
|
3135
3080
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3136
3081
|
for item in data["transitions"]
|
|
3137
3082
|
],
|
|
3138
|
-
id=str(data["id"]),
|
|
3139
3083
|
title=str(data["title"]),
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
start_button_text=(
|
|
3143
|
-
str(data["start_button_text"])
|
|
3144
|
-
if isinstance(data["start_button_text"], str)
|
|
3145
|
-
else None
|
|
3084
|
+
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3085
|
+
data["notification_trigger"]
|
|
3146
3086
|
),
|
|
3147
3087
|
access_control=CommonAbstraJsonV14DefinitionsFormStageAccessControl.from_dict(
|
|
3148
3088
|
data["access_control"]
|
|
3149
3089
|
),
|
|
3090
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3150
3091
|
welcome_title=(
|
|
3151
3092
|
str(data["welcome_title"])
|
|
3152
3093
|
if isinstance(data["welcome_title"], str)
|
|
3153
3094
|
else None
|
|
3154
3095
|
),
|
|
3155
|
-
restart_button_text=(
|
|
3156
|
-
str(data["restart_button_text"])
|
|
3157
|
-
if isinstance(data["restart_button_text"], str)
|
|
3158
|
-
else None
|
|
3159
|
-
),
|
|
3160
|
-
notification_trigger=CommonAbstraJsonV14DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3161
|
-
data["notification_trigger"]
|
|
3162
|
-
),
|
|
3163
|
-
timeout_message=(
|
|
3164
|
-
str(data["timeout_message"])
|
|
3165
|
-
if isinstance(data["timeout_message"], str)
|
|
3166
|
-
else None
|
|
3167
|
-
),
|
|
3168
|
-
auto_start=bool(data["auto_start"]),
|
|
3169
|
-
path=str(data["path"]),
|
|
3170
3096
|
error_message=(
|
|
3171
3097
|
str(data["error_message"])
|
|
3172
3098
|
if isinstance(data["error_message"], str)
|
|
@@ -3177,18 +3103,38 @@ class CommonAbstraJsonV14DefinitionsFormStage:
|
|
|
3177
3103
|
if isinstance(data["start_message"], str)
|
|
3178
3104
|
else None
|
|
3179
3105
|
),
|
|
3180
|
-
|
|
3181
|
-
str(data["
|
|
3182
|
-
if isinstance(data["
|
|
3106
|
+
start_button_text=(
|
|
3107
|
+
str(data["start_button_text"])
|
|
3108
|
+
if isinstance(data["start_button_text"], str)
|
|
3183
3109
|
else None
|
|
3184
3110
|
),
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3111
|
+
is_initial=bool(data["is_initial"]),
|
|
3112
|
+
restart_button_text=(
|
|
3113
|
+
str(data["restart_button_text"])
|
|
3114
|
+
if isinstance(data["restart_button_text"], str)
|
|
3115
|
+
else None
|
|
3116
|
+
),
|
|
3117
|
+
path=str(data["path"]),
|
|
3118
|
+
auto_start=bool(data["auto_start"]),
|
|
3119
|
+
end_message=(
|
|
3120
|
+
str(data["end_message"])
|
|
3121
|
+
if isinstance(data["end_message"], str)
|
|
3122
|
+
else None
|
|
3123
|
+
),
|
|
3124
|
+
timeout_message=(
|
|
3125
|
+
str(data["timeout_message"])
|
|
3126
|
+
if isinstance(data["timeout_message"], str)
|
|
3127
|
+
else None
|
|
3128
|
+
),
|
|
3129
|
+
)
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
CommonAbstraJsonV14FormsItem = CommonAbstraJsonV14DefinitionsFormStage
|
|
3189
3133
|
|
|
3190
3134
|
CommonAbstraJsonV14Forms = typing.List[CommonAbstraJsonV14FormsItem]
|
|
3191
3135
|
|
|
3136
|
+
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3137
|
+
|
|
3192
3138
|
CommonAbstraJsonV14DefinitionsScriptStageFile = str
|
|
3193
3139
|
|
|
3194
3140
|
CommonAbstraJsonV14DefinitionsScriptStageWorkflowPositionItem = float
|
|
@@ -3205,8 +3151,6 @@ CommonAbstraJsonV14DefinitionsScriptStageTransitions = typing.List[
|
|
|
3205
3151
|
CommonAbstraJsonV14DefinitionsScriptStageTransitionsItem
|
|
3206
3152
|
]
|
|
3207
3153
|
|
|
3208
|
-
CommonAbstraJsonV14DefinitionsScriptStageId = str
|
|
3209
|
-
|
|
3210
3154
|
CommonAbstraJsonV14DefinitionsScriptStageTitle = str
|
|
3211
3155
|
|
|
3212
3156
|
CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
@@ -3214,19 +3158,19 @@ CommonAbstraJsonV14DefinitionsScriptStageIsInitial = bool
|
|
|
3214
3158
|
|
|
3215
3159
|
@dataclass
|
|
3216
3160
|
class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
3161
|
+
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3217
3162
|
file: CommonAbstraJsonV14DefinitionsScriptStageFile
|
|
3218
3163
|
workflow_position: CommonAbstraJsonV14DefinitionsScriptStageWorkflowPosition
|
|
3219
3164
|
transitions: CommonAbstraJsonV14DefinitionsScriptStageTransitions
|
|
3220
|
-
id: CommonAbstraJsonV14DefinitionsScriptStageId
|
|
3221
3165
|
title: CommonAbstraJsonV14DefinitionsScriptStageTitle
|
|
3222
3166
|
is_initial: CommonAbstraJsonV14DefinitionsScriptStageIsInitial
|
|
3223
3167
|
|
|
3224
3168
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3225
3169
|
data = {}
|
|
3170
|
+
data["id"] = self.id
|
|
3226
3171
|
data["file"] = self.file
|
|
3227
3172
|
data["workflow_position"] = self.workflow_position
|
|
3228
3173
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3229
|
-
data["id"] = self.id
|
|
3230
3174
|
data["title"] = self.title
|
|
3231
3175
|
data["is_initial"] = self.is_initial
|
|
3232
3176
|
return data
|
|
@@ -3236,13 +3180,13 @@ class CommonAbstraJsonV14DefinitionsScriptStage:
|
|
|
3236
3180
|
cls, data: typing.Dict[str, typing.Any]
|
|
3237
3181
|
) -> "CommonAbstraJsonV14DefinitionsScriptStage":
|
|
3238
3182
|
return cls(
|
|
3183
|
+
id=str(data["id"]),
|
|
3239
3184
|
file=str(data["file"]),
|
|
3240
3185
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3241
3186
|
transitions=[
|
|
3242
3187
|
CommonAbstraJsonV14DefinitionsTransition.from_dict(item)
|
|
3243
3188
|
for item in data["transitions"]
|
|
3244
3189
|
],
|
|
3245
|
-
id=str(data["id"]),
|
|
3246
3190
|
title=str(data["title"]),
|
|
3247
3191
|
is_initial=bool(data["is_initial"]),
|
|
3248
3192
|
)
|
|
@@ -3487,6 +3431,8 @@ class CommonAbstraJsonV13Home:
|
|
|
3487
3431
|
)
|
|
3488
3432
|
|
|
3489
3433
|
|
|
3434
|
+
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3435
|
+
|
|
3490
3436
|
CommonAbstraJsonV13DefinitionsJobStageFile = str
|
|
3491
3437
|
|
|
3492
3438
|
CommonAbstraJsonV13DefinitionsJobStageWorkflowPositionItem = float
|
|
@@ -3560,8 +3506,6 @@ CommonAbstraJsonV13DefinitionsJobStageTransitions = typing.List[
|
|
|
3560
3506
|
CommonAbstraJsonV13DefinitionsJobStageTransitionsItem
|
|
3561
3507
|
]
|
|
3562
3508
|
|
|
3563
|
-
CommonAbstraJsonV13DefinitionsJobStageId = str
|
|
3564
|
-
|
|
3565
3509
|
CommonAbstraJsonV13DefinitionsJobStageTitle = str
|
|
3566
3510
|
|
|
3567
3511
|
CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
@@ -3569,19 +3513,19 @@ CommonAbstraJsonV13DefinitionsJobStageSchedule = str
|
|
|
3569
3513
|
|
|
3570
3514
|
@dataclass
|
|
3571
3515
|
class CommonAbstraJsonV13DefinitionsJobStage:
|
|
3516
|
+
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3572
3517
|
file: CommonAbstraJsonV13DefinitionsJobStageFile
|
|
3573
3518
|
workflow_position: CommonAbstraJsonV13DefinitionsJobStageWorkflowPosition
|
|
3574
3519
|
transitions: CommonAbstraJsonV13DefinitionsJobStageTransitions
|
|
3575
|
-
id: CommonAbstraJsonV13DefinitionsJobStageId
|
|
3576
3520
|
title: CommonAbstraJsonV13DefinitionsJobStageTitle
|
|
3577
3521
|
schedule: CommonAbstraJsonV13DefinitionsJobStageSchedule
|
|
3578
3522
|
|
|
3579
3523
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3580
3524
|
data = {}
|
|
3525
|
+
data["id"] = self.id
|
|
3581
3526
|
data["file"] = self.file
|
|
3582
3527
|
data["workflow_position"] = self.workflow_position
|
|
3583
3528
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3584
|
-
data["id"] = self.id
|
|
3585
3529
|
data["title"] = self.title
|
|
3586
3530
|
data["schedule"] = self.schedule
|
|
3587
3531
|
return data
|
|
@@ -3591,13 +3535,13 @@ class CommonAbstraJsonV13DefinitionsJobStage:
|
|
|
3591
3535
|
cls, data: typing.Dict[str, typing.Any]
|
|
3592
3536
|
) -> "CommonAbstraJsonV13DefinitionsJobStage":
|
|
3593
3537
|
return cls(
|
|
3538
|
+
id=str(data["id"]),
|
|
3594
3539
|
file=str(data["file"]),
|
|
3595
3540
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3596
3541
|
transitions=[
|
|
3597
3542
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3598
3543
|
for item in data["transitions"]
|
|
3599
3544
|
],
|
|
3600
|
-
id=str(data["id"]),
|
|
3601
3545
|
title=str(data["title"]),
|
|
3602
3546
|
schedule=str(data["schedule"]),
|
|
3603
3547
|
)
|
|
@@ -3607,6 +3551,8 @@ CommonAbstraJsonV13JobsItem = CommonAbstraJsonV13DefinitionsJobStage
|
|
|
3607
3551
|
|
|
3608
3552
|
CommonAbstraJsonV13Jobs = typing.List[CommonAbstraJsonV13JobsItem]
|
|
3609
3553
|
|
|
3554
|
+
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3555
|
+
|
|
3610
3556
|
CommonAbstraJsonV13DefinitionsHookStageFile = str
|
|
3611
3557
|
|
|
3612
3558
|
CommonAbstraJsonV13DefinitionsHookStageWorkflowPositionItem = float
|
|
@@ -3623,37 +3569,35 @@ CommonAbstraJsonV13DefinitionsHookStageTransitions = typing.List[
|
|
|
3623
3569
|
CommonAbstraJsonV13DefinitionsHookStageTransitionsItem
|
|
3624
3570
|
]
|
|
3625
3571
|
|
|
3626
|
-
CommonAbstraJsonV13DefinitionsHookStageId = str
|
|
3627
|
-
|
|
3628
3572
|
CommonAbstraJsonV13DefinitionsHookStageTitle = str
|
|
3629
3573
|
|
|
3630
|
-
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3631
|
-
|
|
3632
3574
|
CommonAbstraJsonV13DefinitionsHookStageIsInitial = bool
|
|
3633
3575
|
|
|
3576
|
+
CommonAbstraJsonV13DefinitionsHookStagePath = str
|
|
3577
|
+
|
|
3634
3578
|
CommonAbstraJsonV13DefinitionsHookStageEnabled = bool
|
|
3635
3579
|
|
|
3636
3580
|
|
|
3637
3581
|
@dataclass
|
|
3638
3582
|
class CommonAbstraJsonV13DefinitionsHookStage:
|
|
3583
|
+
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3639
3584
|
file: CommonAbstraJsonV13DefinitionsHookStageFile
|
|
3640
3585
|
workflow_position: CommonAbstraJsonV13DefinitionsHookStageWorkflowPosition
|
|
3641
3586
|
transitions: CommonAbstraJsonV13DefinitionsHookStageTransitions
|
|
3642
|
-
id: CommonAbstraJsonV13DefinitionsHookStageId
|
|
3643
3587
|
title: CommonAbstraJsonV13DefinitionsHookStageTitle
|
|
3644
|
-
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
3645
3588
|
is_initial: CommonAbstraJsonV13DefinitionsHookStageIsInitial
|
|
3589
|
+
path: CommonAbstraJsonV13DefinitionsHookStagePath
|
|
3646
3590
|
enabled: CommonAbstraJsonV13DefinitionsHookStageEnabled
|
|
3647
3591
|
|
|
3648
3592
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3649
3593
|
data = {}
|
|
3594
|
+
data["id"] = self.id
|
|
3650
3595
|
data["file"] = self.file
|
|
3651
3596
|
data["workflow_position"] = self.workflow_position
|
|
3652
3597
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3653
|
-
data["id"] = self.id
|
|
3654
3598
|
data["title"] = self.title
|
|
3655
|
-
data["path"] = self.path
|
|
3656
3599
|
data["is_initial"] = self.is_initial
|
|
3600
|
+
data["path"] = self.path
|
|
3657
3601
|
data["enabled"] = self.enabled
|
|
3658
3602
|
return data
|
|
3659
3603
|
|
|
@@ -3662,16 +3606,16 @@ class CommonAbstraJsonV13DefinitionsHookStage:
|
|
|
3662
3606
|
cls, data: typing.Dict[str, typing.Any]
|
|
3663
3607
|
) -> "CommonAbstraJsonV13DefinitionsHookStage":
|
|
3664
3608
|
return cls(
|
|
3609
|
+
id=str(data["id"]),
|
|
3665
3610
|
file=str(data["file"]),
|
|
3666
3611
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3667
3612
|
transitions=[
|
|
3668
3613
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3669
3614
|
for item in data["transitions"]
|
|
3670
3615
|
],
|
|
3671
|
-
id=str(data["id"]),
|
|
3672
3616
|
title=str(data["title"]),
|
|
3673
|
-
path=str(data["path"]),
|
|
3674
3617
|
is_initial=bool(data["is_initial"]),
|
|
3618
|
+
path=str(data["path"]),
|
|
3675
3619
|
enabled=bool(data["enabled"]),
|
|
3676
3620
|
)
|
|
3677
3621
|
|
|
@@ -3680,6 +3624,8 @@ CommonAbstraJsonV13HooksItem = CommonAbstraJsonV13DefinitionsHookStage
|
|
|
3680
3624
|
|
|
3681
3625
|
CommonAbstraJsonV13Hooks = typing.List[CommonAbstraJsonV13HooksItem]
|
|
3682
3626
|
|
|
3627
|
+
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3628
|
+
|
|
3683
3629
|
CommonAbstraJsonV13DefinitionsFormStageFile = str
|
|
3684
3630
|
|
|
3685
3631
|
CommonAbstraJsonV13DefinitionsFormStageWorkflowPositionItem = float
|
|
@@ -3696,22 +3642,35 @@ CommonAbstraJsonV13DefinitionsFormStageTransitions = typing.List[
|
|
|
3696
3642
|
CommonAbstraJsonV13DefinitionsFormStageTransitionsItem
|
|
3697
3643
|
]
|
|
3698
3644
|
|
|
3699
|
-
CommonAbstraJsonV13DefinitionsFormStageId = str
|
|
3700
|
-
|
|
3701
3645
|
CommonAbstraJsonV13DefinitionsFormStageTitle = str
|
|
3702
3646
|
|
|
3703
|
-
|
|
3647
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3704
3648
|
|
|
3705
|
-
|
|
3649
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3706
3650
|
|
|
3707
|
-
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
3708
3651
|
|
|
3709
|
-
|
|
3652
|
+
@dataclass
|
|
3653
|
+
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3654
|
+
variable_name: (
|
|
3655
|
+
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3656
|
+
)
|
|
3657
|
+
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3658
|
+
|
|
3659
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3660
|
+
data = {}
|
|
3661
|
+
data["variable_name"] = self.variable_name
|
|
3662
|
+
data["enabled"] = self.enabled
|
|
3663
|
+
return data
|
|
3664
|
+
|
|
3665
|
+
@classmethod
|
|
3666
|
+
def from_dict(
|
|
3667
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
3668
|
+
) -> "CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger":
|
|
3669
|
+
return cls(
|
|
3670
|
+
variable_name=str(data["variable_name"]),
|
|
3671
|
+
enabled=bool(data["enabled"]),
|
|
3672
|
+
)
|
|
3710
3673
|
|
|
3711
|
-
CommonAbstraJsonV13DefinitionsFormStageStartButtonText = typing.Union[
|
|
3712
|
-
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString,
|
|
3713
|
-
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull,
|
|
3714
|
-
]
|
|
3715
3674
|
|
|
3716
3675
|
CommonAbstraJsonV13DefinitionsFormStageAccessControlIsPublic = bool
|
|
3717
3676
|
|
|
@@ -3743,6 +3702,8 @@ class CommonAbstraJsonV13DefinitionsFormStageAccessControl:
|
|
|
3743
3702
|
)
|
|
3744
3703
|
|
|
3745
3704
|
|
|
3705
|
+
CommonAbstraJsonV13DefinitionsFormStageAllowRestart = bool
|
|
3706
|
+
|
|
3746
3707
|
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleString = str
|
|
3747
3708
|
|
|
3748
3709
|
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
@@ -3752,56 +3713,6 @@ CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
|
3752
3713
|
CommonAbstraJsonV13DefinitionsFormStageWelcomeTitleNull,
|
|
3753
3714
|
]
|
|
3754
3715
|
|
|
3755
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3756
|
-
|
|
3757
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3758
|
-
|
|
3759
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
3760
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString,
|
|
3761
|
-
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3762
|
-
]
|
|
3763
|
-
|
|
3764
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName = str
|
|
3765
|
-
|
|
3766
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
@dataclass
|
|
3770
|
-
class CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger:
|
|
3771
|
-
variable_name: (
|
|
3772
|
-
CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerVariableName
|
|
3773
|
-
)
|
|
3774
|
-
enabled: CommonAbstraJsonV13DefinitionsFormStageNotificationTriggerEnabled
|
|
3775
|
-
|
|
3776
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3777
|
-
data = {}
|
|
3778
|
-
data["variable_name"] = self.variable_name
|
|
3779
|
-
data["enabled"] = self.enabled
|
|
3780
|
-
return data
|
|
3781
|
-
|
|
3782
|
-
@classmethod
|
|
3783
|
-
def from_dict(
|
|
3784
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
3785
|
-
) -> "CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger":
|
|
3786
|
-
return cls(
|
|
3787
|
-
variable_name=str(data["variable_name"]),
|
|
3788
|
-
enabled=bool(data["enabled"]),
|
|
3789
|
-
)
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString = str
|
|
3793
|
-
|
|
3794
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3795
|
-
|
|
3796
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3797
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString,
|
|
3798
|
-
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3799
|
-
]
|
|
3800
|
-
|
|
3801
|
-
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3802
|
-
|
|
3803
|
-
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3804
|
-
|
|
3805
3716
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageString = str
|
|
3806
3717
|
|
|
3807
3718
|
CommonAbstraJsonV13DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -3820,6 +3731,30 @@ CommonAbstraJsonV13DefinitionsFormStageStartMessage = typing.Union[
|
|
|
3820
3731
|
CommonAbstraJsonV13DefinitionsFormStageStartMessageNull,
|
|
3821
3732
|
]
|
|
3822
3733
|
|
|
3734
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString = str
|
|
3735
|
+
|
|
3736
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull = type(None)
|
|
3737
|
+
|
|
3738
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonText = typing.Union[
|
|
3739
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextString,
|
|
3740
|
+
CommonAbstraJsonV13DefinitionsFormStageStartButtonTextNull,
|
|
3741
|
+
]
|
|
3742
|
+
|
|
3743
|
+
CommonAbstraJsonV13DefinitionsFormStageIsInitial = bool
|
|
3744
|
+
|
|
3745
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString = str
|
|
3746
|
+
|
|
3747
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
3748
|
+
|
|
3749
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonText = typing.Union[
|
|
3750
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextString,
|
|
3751
|
+
CommonAbstraJsonV13DefinitionsFormStageRestartButtonTextNull,
|
|
3752
|
+
]
|
|
3753
|
+
|
|
3754
|
+
CommonAbstraJsonV13DefinitionsFormStagePath = str
|
|
3755
|
+
|
|
3756
|
+
CommonAbstraJsonV13DefinitionsFormStageAutoStart = bool
|
|
3757
|
+
|
|
3823
3758
|
CommonAbstraJsonV13DefinitionsFormStageEndMessageString = str
|
|
3824
3759
|
|
|
3825
3760
|
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull = type(None)
|
|
@@ -3829,61 +3764,52 @@ CommonAbstraJsonV13DefinitionsFormStageEndMessage = typing.Union[
|
|
|
3829
3764
|
CommonAbstraJsonV13DefinitionsFormStageEndMessageNull,
|
|
3830
3765
|
]
|
|
3831
3766
|
|
|
3767
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString = str
|
|
3768
|
+
|
|
3769
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
3770
|
+
|
|
3771
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
3772
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageString,
|
|
3773
|
+
CommonAbstraJsonV13DefinitionsFormStageTimeoutMessageNull,
|
|
3774
|
+
]
|
|
3775
|
+
|
|
3832
3776
|
|
|
3833
3777
|
@dataclass
|
|
3834
3778
|
class CommonAbstraJsonV13DefinitionsFormStage:
|
|
3779
|
+
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3835
3780
|
file: CommonAbstraJsonV13DefinitionsFormStageFile
|
|
3836
3781
|
workflow_position: CommonAbstraJsonV13DefinitionsFormStageWorkflowPosition
|
|
3837
3782
|
transitions: CommonAbstraJsonV13DefinitionsFormStageTransitions
|
|
3838
|
-
id: CommonAbstraJsonV13DefinitionsFormStageId
|
|
3839
3783
|
title: CommonAbstraJsonV13DefinitionsFormStageTitle
|
|
3840
|
-
|
|
3841
|
-
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
3842
|
-
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3784
|
+
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3843
3785
|
access_control: CommonAbstraJsonV13DefinitionsFormStageAccessControl
|
|
3786
|
+
allow_restart: CommonAbstraJsonV13DefinitionsFormStageAllowRestart
|
|
3844
3787
|
welcome_title: CommonAbstraJsonV13DefinitionsFormStageWelcomeTitle
|
|
3845
|
-
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3846
|
-
notification_trigger: CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger
|
|
3847
|
-
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
3848
|
-
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3849
|
-
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3850
3788
|
error_message: CommonAbstraJsonV13DefinitionsFormStageErrorMessage
|
|
3851
3789
|
start_message: CommonAbstraJsonV13DefinitionsFormStageStartMessage
|
|
3790
|
+
start_button_text: CommonAbstraJsonV13DefinitionsFormStageStartButtonText
|
|
3791
|
+
is_initial: CommonAbstraJsonV13DefinitionsFormStageIsInitial
|
|
3792
|
+
restart_button_text: CommonAbstraJsonV13DefinitionsFormStageRestartButtonText
|
|
3793
|
+
path: CommonAbstraJsonV13DefinitionsFormStagePath
|
|
3794
|
+
auto_start: CommonAbstraJsonV13DefinitionsFormStageAutoStart
|
|
3852
3795
|
end_message: CommonAbstraJsonV13DefinitionsFormStageEndMessage
|
|
3796
|
+
timeout_message: CommonAbstraJsonV13DefinitionsFormStageTimeoutMessage
|
|
3853
3797
|
|
|
3854
3798
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
3855
3799
|
data = {}
|
|
3800
|
+
data["id"] = self.id
|
|
3856
3801
|
data["file"] = self.file
|
|
3857
3802
|
data["workflow_position"] = self.workflow_position
|
|
3858
3803
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
3859
|
-
data["id"] = self.id
|
|
3860
3804
|
data["title"] = self.title
|
|
3861
|
-
data["
|
|
3862
|
-
data["is_initial"] = self.is_initial
|
|
3863
|
-
data["start_button_text"] = (
|
|
3864
|
-
self.start_button_text
|
|
3865
|
-
if isinstance(self.start_button_text, str)
|
|
3866
|
-
else self.start_button_text
|
|
3867
|
-
)
|
|
3805
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3868
3806
|
data["access_control"] = self.access_control.to_dict()
|
|
3807
|
+
data["allow_restart"] = self.allow_restart
|
|
3869
3808
|
data["welcome_title"] = (
|
|
3870
3809
|
self.welcome_title
|
|
3871
3810
|
if isinstance(self.welcome_title, str)
|
|
3872
3811
|
else self.welcome_title
|
|
3873
3812
|
)
|
|
3874
|
-
data["restart_button_text"] = (
|
|
3875
|
-
self.restart_button_text
|
|
3876
|
-
if isinstance(self.restart_button_text, str)
|
|
3877
|
-
else self.restart_button_text
|
|
3878
|
-
)
|
|
3879
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
3880
|
-
data["timeout_message"] = (
|
|
3881
|
-
self.timeout_message
|
|
3882
|
-
if isinstance(self.timeout_message, str)
|
|
3883
|
-
else self.timeout_message
|
|
3884
|
-
)
|
|
3885
|
-
data["auto_start"] = self.auto_start
|
|
3886
|
-
data["path"] = self.path
|
|
3887
3813
|
data["error_message"] = (
|
|
3888
3814
|
self.error_message
|
|
3889
3815
|
if isinstance(self.error_message, str)
|
|
@@ -3894,9 +3820,27 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3894
3820
|
if isinstance(self.start_message, str)
|
|
3895
3821
|
else self.start_message
|
|
3896
3822
|
)
|
|
3823
|
+
data["start_button_text"] = (
|
|
3824
|
+
self.start_button_text
|
|
3825
|
+
if isinstance(self.start_button_text, str)
|
|
3826
|
+
else self.start_button_text
|
|
3827
|
+
)
|
|
3828
|
+
data["is_initial"] = self.is_initial
|
|
3829
|
+
data["restart_button_text"] = (
|
|
3830
|
+
self.restart_button_text
|
|
3831
|
+
if isinstance(self.restart_button_text, str)
|
|
3832
|
+
else self.restart_button_text
|
|
3833
|
+
)
|
|
3834
|
+
data["path"] = self.path
|
|
3835
|
+
data["auto_start"] = self.auto_start
|
|
3897
3836
|
data["end_message"] = (
|
|
3898
3837
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
3899
3838
|
)
|
|
3839
|
+
data["timeout_message"] = (
|
|
3840
|
+
self.timeout_message
|
|
3841
|
+
if isinstance(self.timeout_message, str)
|
|
3842
|
+
else self.timeout_message
|
|
3843
|
+
)
|
|
3900
3844
|
return data
|
|
3901
3845
|
|
|
3902
3846
|
@classmethod
|
|
@@ -3904,44 +3848,26 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3904
3848
|
cls, data: typing.Dict[str, typing.Any]
|
|
3905
3849
|
) -> "CommonAbstraJsonV13DefinitionsFormStage":
|
|
3906
3850
|
return cls(
|
|
3851
|
+
id=str(data["id"]),
|
|
3907
3852
|
file=str(data["file"]),
|
|
3908
3853
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
3909
3854
|
transitions=[
|
|
3910
3855
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
3911
3856
|
for item in data["transitions"]
|
|
3912
3857
|
],
|
|
3913
|
-
id=str(data["id"]),
|
|
3914
3858
|
title=str(data["title"]),
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
start_button_text=(
|
|
3918
|
-
str(data["start_button_text"])
|
|
3919
|
-
if isinstance(data["start_button_text"], str)
|
|
3920
|
-
else None
|
|
3859
|
+
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3860
|
+
data["notification_trigger"]
|
|
3921
3861
|
),
|
|
3922
3862
|
access_control=CommonAbstraJsonV13DefinitionsFormStageAccessControl.from_dict(
|
|
3923
3863
|
data["access_control"]
|
|
3924
3864
|
),
|
|
3865
|
+
allow_restart=bool(data["allow_restart"]),
|
|
3925
3866
|
welcome_title=(
|
|
3926
3867
|
str(data["welcome_title"])
|
|
3927
3868
|
if isinstance(data["welcome_title"], str)
|
|
3928
3869
|
else None
|
|
3929
3870
|
),
|
|
3930
|
-
restart_button_text=(
|
|
3931
|
-
str(data["restart_button_text"])
|
|
3932
|
-
if isinstance(data["restart_button_text"], str)
|
|
3933
|
-
else None
|
|
3934
|
-
),
|
|
3935
|
-
notification_trigger=CommonAbstraJsonV13DefinitionsFormStageNotificationTrigger.from_dict(
|
|
3936
|
-
data["notification_trigger"]
|
|
3937
|
-
),
|
|
3938
|
-
timeout_message=(
|
|
3939
|
-
str(data["timeout_message"])
|
|
3940
|
-
if isinstance(data["timeout_message"], str)
|
|
3941
|
-
else None
|
|
3942
|
-
),
|
|
3943
|
-
auto_start=bool(data["auto_start"]),
|
|
3944
|
-
path=str(data["path"]),
|
|
3945
3871
|
error_message=(
|
|
3946
3872
|
str(data["error_message"])
|
|
3947
3873
|
if isinstance(data["error_message"], str)
|
|
@@ -3952,11 +3878,29 @@ class CommonAbstraJsonV13DefinitionsFormStage:
|
|
|
3952
3878
|
if isinstance(data["start_message"], str)
|
|
3953
3879
|
else None
|
|
3954
3880
|
),
|
|
3881
|
+
start_button_text=(
|
|
3882
|
+
str(data["start_button_text"])
|
|
3883
|
+
if isinstance(data["start_button_text"], str)
|
|
3884
|
+
else None
|
|
3885
|
+
),
|
|
3886
|
+
is_initial=bool(data["is_initial"]),
|
|
3887
|
+
restart_button_text=(
|
|
3888
|
+
str(data["restart_button_text"])
|
|
3889
|
+
if isinstance(data["restart_button_text"], str)
|
|
3890
|
+
else None
|
|
3891
|
+
),
|
|
3892
|
+
path=str(data["path"]),
|
|
3893
|
+
auto_start=bool(data["auto_start"]),
|
|
3955
3894
|
end_message=(
|
|
3956
3895
|
str(data["end_message"])
|
|
3957
3896
|
if isinstance(data["end_message"], str)
|
|
3958
3897
|
else None
|
|
3959
3898
|
),
|
|
3899
|
+
timeout_message=(
|
|
3900
|
+
str(data["timeout_message"])
|
|
3901
|
+
if isinstance(data["timeout_message"], str)
|
|
3902
|
+
else None
|
|
3903
|
+
),
|
|
3960
3904
|
)
|
|
3961
3905
|
|
|
3962
3906
|
|
|
@@ -3964,6 +3908,8 @@ CommonAbstraJsonV13FormsItem = CommonAbstraJsonV13DefinitionsFormStage
|
|
|
3964
3908
|
|
|
3965
3909
|
CommonAbstraJsonV13Forms = typing.List[CommonAbstraJsonV13FormsItem]
|
|
3966
3910
|
|
|
3911
|
+
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3912
|
+
|
|
3967
3913
|
CommonAbstraJsonV13DefinitionsScriptStageFile = str
|
|
3968
3914
|
|
|
3969
3915
|
CommonAbstraJsonV13DefinitionsScriptStageWorkflowPositionItem = float
|
|
@@ -3980,8 +3926,6 @@ CommonAbstraJsonV13DefinitionsScriptStageTransitions = typing.List[
|
|
|
3980
3926
|
CommonAbstraJsonV13DefinitionsScriptStageTransitionsItem
|
|
3981
3927
|
]
|
|
3982
3928
|
|
|
3983
|
-
CommonAbstraJsonV13DefinitionsScriptStageId = str
|
|
3984
|
-
|
|
3985
3929
|
CommonAbstraJsonV13DefinitionsScriptStageTitle = str
|
|
3986
3930
|
|
|
3987
3931
|
CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
@@ -3989,19 +3933,19 @@ CommonAbstraJsonV13DefinitionsScriptStageIsInitial = bool
|
|
|
3989
3933
|
|
|
3990
3934
|
@dataclass
|
|
3991
3935
|
class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
3936
|
+
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3992
3937
|
file: CommonAbstraJsonV13DefinitionsScriptStageFile
|
|
3993
3938
|
workflow_position: CommonAbstraJsonV13DefinitionsScriptStageWorkflowPosition
|
|
3994
3939
|
transitions: CommonAbstraJsonV13DefinitionsScriptStageTransitions
|
|
3995
|
-
id: CommonAbstraJsonV13DefinitionsScriptStageId
|
|
3996
3940
|
title: CommonAbstraJsonV13DefinitionsScriptStageTitle
|
|
3997
3941
|
is_initial: CommonAbstraJsonV13DefinitionsScriptStageIsInitial
|
|
3998
3942
|
|
|
3999
3943
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4000
3944
|
data = {}
|
|
3945
|
+
data["id"] = self.id
|
|
4001
3946
|
data["file"] = self.file
|
|
4002
3947
|
data["workflow_position"] = self.workflow_position
|
|
4003
3948
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4004
|
-
data["id"] = self.id
|
|
4005
3949
|
data["title"] = self.title
|
|
4006
3950
|
data["is_initial"] = self.is_initial
|
|
4007
3951
|
return data
|
|
@@ -4011,13 +3955,13 @@ class CommonAbstraJsonV13DefinitionsScriptStage:
|
|
|
4011
3955
|
cls, data: typing.Dict[str, typing.Any]
|
|
4012
3956
|
) -> "CommonAbstraJsonV13DefinitionsScriptStage":
|
|
4013
3957
|
return cls(
|
|
3958
|
+
id=str(data["id"]),
|
|
4014
3959
|
file=str(data["file"]),
|
|
4015
3960
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4016
3961
|
transitions=[
|
|
4017
3962
|
CommonAbstraJsonV13DefinitionsTransition.from_dict(item)
|
|
4018
3963
|
for item in data["transitions"]
|
|
4019
3964
|
],
|
|
4020
|
-
id=str(data["id"]),
|
|
4021
3965
|
title=str(data["title"]),
|
|
4022
3966
|
is_initial=bool(data["is_initial"]),
|
|
4023
3967
|
)
|
|
@@ -4407,6 +4351,8 @@ class CommonAbstraJsonV12Home:
|
|
|
4407
4351
|
)
|
|
4408
4352
|
|
|
4409
4353
|
|
|
4354
|
+
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4355
|
+
|
|
4410
4356
|
CommonAbstraJsonV12DefinitionsJobStageFile = str
|
|
4411
4357
|
|
|
4412
4358
|
CommonAbstraJsonV12DefinitionsJobStageWorkflowPositionItem = float
|
|
@@ -4480,8 +4426,6 @@ CommonAbstraJsonV12DefinitionsJobStageTransitions = typing.List[
|
|
|
4480
4426
|
CommonAbstraJsonV12DefinitionsJobStageTransitionsItem
|
|
4481
4427
|
]
|
|
4482
4428
|
|
|
4483
|
-
CommonAbstraJsonV12DefinitionsJobStageId = str
|
|
4484
|
-
|
|
4485
4429
|
CommonAbstraJsonV12DefinitionsJobStageTitle = str
|
|
4486
4430
|
|
|
4487
4431
|
CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
@@ -4489,19 +4433,19 @@ CommonAbstraJsonV12DefinitionsJobStageSchedule = str
|
|
|
4489
4433
|
|
|
4490
4434
|
@dataclass
|
|
4491
4435
|
class CommonAbstraJsonV12DefinitionsJobStage:
|
|
4436
|
+
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4492
4437
|
file: CommonAbstraJsonV12DefinitionsJobStageFile
|
|
4493
4438
|
workflow_position: CommonAbstraJsonV12DefinitionsJobStageWorkflowPosition
|
|
4494
4439
|
transitions: CommonAbstraJsonV12DefinitionsJobStageTransitions
|
|
4495
|
-
id: CommonAbstraJsonV12DefinitionsJobStageId
|
|
4496
4440
|
title: CommonAbstraJsonV12DefinitionsJobStageTitle
|
|
4497
4441
|
schedule: CommonAbstraJsonV12DefinitionsJobStageSchedule
|
|
4498
4442
|
|
|
4499
4443
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4500
4444
|
data = {}
|
|
4445
|
+
data["id"] = self.id
|
|
4501
4446
|
data["file"] = self.file
|
|
4502
4447
|
data["workflow_position"] = self.workflow_position
|
|
4503
4448
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4504
|
-
data["id"] = self.id
|
|
4505
4449
|
data["title"] = self.title
|
|
4506
4450
|
data["schedule"] = self.schedule
|
|
4507
4451
|
return data
|
|
@@ -4511,13 +4455,13 @@ class CommonAbstraJsonV12DefinitionsJobStage:
|
|
|
4511
4455
|
cls, data: typing.Dict[str, typing.Any]
|
|
4512
4456
|
) -> "CommonAbstraJsonV12DefinitionsJobStage":
|
|
4513
4457
|
return cls(
|
|
4458
|
+
id=str(data["id"]),
|
|
4514
4459
|
file=str(data["file"]),
|
|
4515
4460
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4516
4461
|
transitions=[
|
|
4517
4462
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4518
4463
|
for item in data["transitions"]
|
|
4519
4464
|
],
|
|
4520
|
-
id=str(data["id"]),
|
|
4521
4465
|
title=str(data["title"]),
|
|
4522
4466
|
schedule=str(data["schedule"]),
|
|
4523
4467
|
)
|
|
@@ -4527,6 +4471,8 @@ CommonAbstraJsonV12JobsItem = CommonAbstraJsonV12DefinitionsJobStage
|
|
|
4527
4471
|
|
|
4528
4472
|
CommonAbstraJsonV12Jobs = typing.List[CommonAbstraJsonV12JobsItem]
|
|
4529
4473
|
|
|
4474
|
+
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4475
|
+
|
|
4530
4476
|
CommonAbstraJsonV12DefinitionsHookStageFile = str
|
|
4531
4477
|
|
|
4532
4478
|
CommonAbstraJsonV12DefinitionsHookStageWorkflowPositionItem = float
|
|
@@ -4543,37 +4489,35 @@ CommonAbstraJsonV12DefinitionsHookStageTransitions = typing.List[
|
|
|
4543
4489
|
CommonAbstraJsonV12DefinitionsHookStageTransitionsItem
|
|
4544
4490
|
]
|
|
4545
4491
|
|
|
4546
|
-
CommonAbstraJsonV12DefinitionsHookStageId = str
|
|
4547
|
-
|
|
4548
4492
|
CommonAbstraJsonV12DefinitionsHookStageTitle = str
|
|
4549
4493
|
|
|
4550
|
-
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4551
|
-
|
|
4552
4494
|
CommonAbstraJsonV12DefinitionsHookStageIsInitial = bool
|
|
4553
4495
|
|
|
4496
|
+
CommonAbstraJsonV12DefinitionsHookStagePath = str
|
|
4497
|
+
|
|
4554
4498
|
CommonAbstraJsonV12DefinitionsHookStageEnabled = bool
|
|
4555
4499
|
|
|
4556
4500
|
|
|
4557
4501
|
@dataclass
|
|
4558
4502
|
class CommonAbstraJsonV12DefinitionsHookStage:
|
|
4503
|
+
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4559
4504
|
file: CommonAbstraJsonV12DefinitionsHookStageFile
|
|
4560
4505
|
workflow_position: CommonAbstraJsonV12DefinitionsHookStageWorkflowPosition
|
|
4561
4506
|
transitions: CommonAbstraJsonV12DefinitionsHookStageTransitions
|
|
4562
|
-
id: CommonAbstraJsonV12DefinitionsHookStageId
|
|
4563
4507
|
title: CommonAbstraJsonV12DefinitionsHookStageTitle
|
|
4564
|
-
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
4565
4508
|
is_initial: CommonAbstraJsonV12DefinitionsHookStageIsInitial
|
|
4509
|
+
path: CommonAbstraJsonV12DefinitionsHookStagePath
|
|
4566
4510
|
enabled: CommonAbstraJsonV12DefinitionsHookStageEnabled
|
|
4567
4511
|
|
|
4568
4512
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4569
4513
|
data = {}
|
|
4514
|
+
data["id"] = self.id
|
|
4570
4515
|
data["file"] = self.file
|
|
4571
4516
|
data["workflow_position"] = self.workflow_position
|
|
4572
4517
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4573
|
-
data["id"] = self.id
|
|
4574
4518
|
data["title"] = self.title
|
|
4575
|
-
data["path"] = self.path
|
|
4576
4519
|
data["is_initial"] = self.is_initial
|
|
4520
|
+
data["path"] = self.path
|
|
4577
4521
|
data["enabled"] = self.enabled
|
|
4578
4522
|
return data
|
|
4579
4523
|
|
|
@@ -4582,16 +4526,16 @@ class CommonAbstraJsonV12DefinitionsHookStage:
|
|
|
4582
4526
|
cls, data: typing.Dict[str, typing.Any]
|
|
4583
4527
|
) -> "CommonAbstraJsonV12DefinitionsHookStage":
|
|
4584
4528
|
return cls(
|
|
4529
|
+
id=str(data["id"]),
|
|
4585
4530
|
file=str(data["file"]),
|
|
4586
4531
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4587
4532
|
transitions=[
|
|
4588
4533
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4589
4534
|
for item in data["transitions"]
|
|
4590
4535
|
],
|
|
4591
|
-
id=str(data["id"]),
|
|
4592
4536
|
title=str(data["title"]),
|
|
4593
|
-
path=str(data["path"]),
|
|
4594
4537
|
is_initial=bool(data["is_initial"]),
|
|
4538
|
+
path=str(data["path"]),
|
|
4595
4539
|
enabled=bool(data["enabled"]),
|
|
4596
4540
|
)
|
|
4597
4541
|
|
|
@@ -4600,6 +4544,8 @@ CommonAbstraJsonV12HooksItem = CommonAbstraJsonV12DefinitionsHookStage
|
|
|
4600
4544
|
|
|
4601
4545
|
CommonAbstraJsonV12Hooks = typing.List[CommonAbstraJsonV12HooksItem]
|
|
4602
4546
|
|
|
4547
|
+
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4548
|
+
|
|
4603
4549
|
CommonAbstraJsonV12DefinitionsFormStageFile = str
|
|
4604
4550
|
|
|
4605
4551
|
CommonAbstraJsonV12DefinitionsFormStageWorkflowPositionItem = float
|
|
@@ -4616,22 +4562,35 @@ CommonAbstraJsonV12DefinitionsFormStageTransitions = typing.List[
|
|
|
4616
4562
|
CommonAbstraJsonV12DefinitionsFormStageTransitionsItem
|
|
4617
4563
|
]
|
|
4618
4564
|
|
|
4619
|
-
CommonAbstraJsonV12DefinitionsFormStageId = str
|
|
4620
|
-
|
|
4621
4565
|
CommonAbstraJsonV12DefinitionsFormStageTitle = str
|
|
4622
4566
|
|
|
4623
|
-
|
|
4567
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4624
4568
|
|
|
4625
|
-
|
|
4569
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4626
4570
|
|
|
4627
|
-
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
4628
4571
|
|
|
4629
|
-
|
|
4572
|
+
@dataclass
|
|
4573
|
+
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4574
|
+
variable_name: (
|
|
4575
|
+
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4576
|
+
)
|
|
4577
|
+
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4578
|
+
|
|
4579
|
+
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4580
|
+
data = {}
|
|
4581
|
+
data["variable_name"] = self.variable_name
|
|
4582
|
+
data["enabled"] = self.enabled
|
|
4583
|
+
return data
|
|
4584
|
+
|
|
4585
|
+
@classmethod
|
|
4586
|
+
def from_dict(
|
|
4587
|
+
cls, data: typing.Dict[str, typing.Any]
|
|
4588
|
+
) -> "CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger":
|
|
4589
|
+
return cls(
|
|
4590
|
+
variable_name=str(data["variable_name"]),
|
|
4591
|
+
enabled=bool(data["enabled"]),
|
|
4592
|
+
)
|
|
4630
4593
|
|
|
4631
|
-
CommonAbstraJsonV12DefinitionsFormStageStartButtonText = typing.Union[
|
|
4632
|
-
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString,
|
|
4633
|
-
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull,
|
|
4634
|
-
]
|
|
4635
4594
|
|
|
4636
4595
|
CommonAbstraJsonV12DefinitionsFormStageAccessControlIsPublic = bool
|
|
4637
4596
|
|
|
@@ -4663,6 +4622,8 @@ class CommonAbstraJsonV12DefinitionsFormStageAccessControl:
|
|
|
4663
4622
|
)
|
|
4664
4623
|
|
|
4665
4624
|
|
|
4625
|
+
CommonAbstraJsonV12DefinitionsFormStageAllowRestart = bool
|
|
4626
|
+
|
|
4666
4627
|
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleString = str
|
|
4667
4628
|
|
|
4668
4629
|
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull = type(None)
|
|
@@ -4672,56 +4633,6 @@ CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle = typing.Union[
|
|
|
4672
4633
|
CommonAbstraJsonV12DefinitionsFormStageWelcomeTitleNull,
|
|
4673
4634
|
]
|
|
4674
4635
|
|
|
4675
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4676
|
-
|
|
4677
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
4678
|
-
|
|
4679
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
4680
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
4681
|
-
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4682
|
-
]
|
|
4683
|
-
|
|
4684
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName = str
|
|
4685
|
-
|
|
4686
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled = bool
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
@dataclass
|
|
4690
|
-
class CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger:
|
|
4691
|
-
variable_name: (
|
|
4692
|
-
CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerVariableName
|
|
4693
|
-
)
|
|
4694
|
-
enabled: CommonAbstraJsonV12DefinitionsFormStageNotificationTriggerEnabled
|
|
4695
|
-
|
|
4696
|
-
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4697
|
-
data = {}
|
|
4698
|
-
data["variable_name"] = self.variable_name
|
|
4699
|
-
data["enabled"] = self.enabled
|
|
4700
|
-
return data
|
|
4701
|
-
|
|
4702
|
-
@classmethod
|
|
4703
|
-
def from_dict(
|
|
4704
|
-
cls, data: typing.Dict[str, typing.Any]
|
|
4705
|
-
) -> "CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger":
|
|
4706
|
-
return cls(
|
|
4707
|
-
variable_name=str(data["variable_name"]),
|
|
4708
|
-
enabled=bool(data["enabled"]),
|
|
4709
|
-
)
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString = str
|
|
4713
|
-
|
|
4714
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
4715
|
-
|
|
4716
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
4717
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString,
|
|
4718
|
-
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4719
|
-
]
|
|
4720
|
-
|
|
4721
|
-
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
4722
|
-
|
|
4723
|
-
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4724
|
-
|
|
4725
4636
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageString = str
|
|
4726
4637
|
|
|
4727
4638
|
CommonAbstraJsonV12DefinitionsFormStageErrorMessageNull = type(None)
|
|
@@ -4740,6 +4651,30 @@ CommonAbstraJsonV12DefinitionsFormStageStartMessage = typing.Union[
|
|
|
4740
4651
|
CommonAbstraJsonV12DefinitionsFormStageStartMessageNull,
|
|
4741
4652
|
]
|
|
4742
4653
|
|
|
4654
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString = str
|
|
4655
|
+
|
|
4656
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull = type(None)
|
|
4657
|
+
|
|
4658
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonText = typing.Union[
|
|
4659
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextString,
|
|
4660
|
+
CommonAbstraJsonV12DefinitionsFormStageStartButtonTextNull,
|
|
4661
|
+
]
|
|
4662
|
+
|
|
4663
|
+
CommonAbstraJsonV12DefinitionsFormStageIsInitial = bool
|
|
4664
|
+
|
|
4665
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString = str
|
|
4666
|
+
|
|
4667
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull = type(None)
|
|
4668
|
+
|
|
4669
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonText = typing.Union[
|
|
4670
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextString,
|
|
4671
|
+
CommonAbstraJsonV12DefinitionsFormStageRestartButtonTextNull,
|
|
4672
|
+
]
|
|
4673
|
+
|
|
4674
|
+
CommonAbstraJsonV12DefinitionsFormStagePath = str
|
|
4675
|
+
|
|
4676
|
+
CommonAbstraJsonV12DefinitionsFormStageAutoStart = bool
|
|
4677
|
+
|
|
4743
4678
|
CommonAbstraJsonV12DefinitionsFormStageEndMessageString = str
|
|
4744
4679
|
|
|
4745
4680
|
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull = type(None)
|
|
@@ -4749,61 +4684,52 @@ CommonAbstraJsonV12DefinitionsFormStageEndMessage = typing.Union[
|
|
|
4749
4684
|
CommonAbstraJsonV12DefinitionsFormStageEndMessageNull,
|
|
4750
4685
|
]
|
|
4751
4686
|
|
|
4687
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString = str
|
|
4688
|
+
|
|
4689
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull = type(None)
|
|
4690
|
+
|
|
4691
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage = typing.Union[
|
|
4692
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageString,
|
|
4693
|
+
CommonAbstraJsonV12DefinitionsFormStageTimeoutMessageNull,
|
|
4694
|
+
]
|
|
4695
|
+
|
|
4752
4696
|
|
|
4753
4697
|
@dataclass
|
|
4754
4698
|
class CommonAbstraJsonV12DefinitionsFormStage:
|
|
4699
|
+
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4755
4700
|
file: CommonAbstraJsonV12DefinitionsFormStageFile
|
|
4756
4701
|
workflow_position: CommonAbstraJsonV12DefinitionsFormStageWorkflowPosition
|
|
4757
4702
|
transitions: CommonAbstraJsonV12DefinitionsFormStageTransitions
|
|
4758
|
-
id: CommonAbstraJsonV12DefinitionsFormStageId
|
|
4759
4703
|
title: CommonAbstraJsonV12DefinitionsFormStageTitle
|
|
4760
|
-
|
|
4761
|
-
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
4762
|
-
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4704
|
+
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4763
4705
|
access_control: CommonAbstraJsonV12DefinitionsFormStageAccessControl
|
|
4706
|
+
allow_restart: CommonAbstraJsonV12DefinitionsFormStageAllowRestart
|
|
4764
4707
|
welcome_title: CommonAbstraJsonV12DefinitionsFormStageWelcomeTitle
|
|
4765
|
-
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4766
|
-
notification_trigger: CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger
|
|
4767
|
-
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
4768
|
-
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4769
|
-
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4770
4708
|
error_message: CommonAbstraJsonV12DefinitionsFormStageErrorMessage
|
|
4771
4709
|
start_message: CommonAbstraJsonV12DefinitionsFormStageStartMessage
|
|
4710
|
+
start_button_text: CommonAbstraJsonV12DefinitionsFormStageStartButtonText
|
|
4711
|
+
is_initial: CommonAbstraJsonV12DefinitionsFormStageIsInitial
|
|
4712
|
+
restart_button_text: CommonAbstraJsonV12DefinitionsFormStageRestartButtonText
|
|
4713
|
+
path: CommonAbstraJsonV12DefinitionsFormStagePath
|
|
4714
|
+
auto_start: CommonAbstraJsonV12DefinitionsFormStageAutoStart
|
|
4772
4715
|
end_message: CommonAbstraJsonV12DefinitionsFormStageEndMessage
|
|
4716
|
+
timeout_message: CommonAbstraJsonV12DefinitionsFormStageTimeoutMessage
|
|
4773
4717
|
|
|
4774
4718
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4775
4719
|
data = {}
|
|
4720
|
+
data["id"] = self.id
|
|
4776
4721
|
data["file"] = self.file
|
|
4777
4722
|
data["workflow_position"] = self.workflow_position
|
|
4778
4723
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4779
|
-
data["id"] = self.id
|
|
4780
4724
|
data["title"] = self.title
|
|
4781
|
-
data["
|
|
4782
|
-
data["is_initial"] = self.is_initial
|
|
4783
|
-
data["start_button_text"] = (
|
|
4784
|
-
self.start_button_text
|
|
4785
|
-
if isinstance(self.start_button_text, str)
|
|
4786
|
-
else self.start_button_text
|
|
4787
|
-
)
|
|
4725
|
+
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4788
4726
|
data["access_control"] = self.access_control.to_dict()
|
|
4727
|
+
data["allow_restart"] = self.allow_restart
|
|
4789
4728
|
data["welcome_title"] = (
|
|
4790
4729
|
self.welcome_title
|
|
4791
4730
|
if isinstance(self.welcome_title, str)
|
|
4792
4731
|
else self.welcome_title
|
|
4793
4732
|
)
|
|
4794
|
-
data["restart_button_text"] = (
|
|
4795
|
-
self.restart_button_text
|
|
4796
|
-
if isinstance(self.restart_button_text, str)
|
|
4797
|
-
else self.restart_button_text
|
|
4798
|
-
)
|
|
4799
|
-
data["notification_trigger"] = self.notification_trigger.to_dict()
|
|
4800
|
-
data["timeout_message"] = (
|
|
4801
|
-
self.timeout_message
|
|
4802
|
-
if isinstance(self.timeout_message, str)
|
|
4803
|
-
else self.timeout_message
|
|
4804
|
-
)
|
|
4805
|
-
data["auto_start"] = self.auto_start
|
|
4806
|
-
data["path"] = self.path
|
|
4807
4733
|
data["error_message"] = (
|
|
4808
4734
|
self.error_message
|
|
4809
4735
|
if isinstance(self.error_message, str)
|
|
@@ -4814,9 +4740,27 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4814
4740
|
if isinstance(self.start_message, str)
|
|
4815
4741
|
else self.start_message
|
|
4816
4742
|
)
|
|
4743
|
+
data["start_button_text"] = (
|
|
4744
|
+
self.start_button_text
|
|
4745
|
+
if isinstance(self.start_button_text, str)
|
|
4746
|
+
else self.start_button_text
|
|
4747
|
+
)
|
|
4748
|
+
data["is_initial"] = self.is_initial
|
|
4749
|
+
data["restart_button_text"] = (
|
|
4750
|
+
self.restart_button_text
|
|
4751
|
+
if isinstance(self.restart_button_text, str)
|
|
4752
|
+
else self.restart_button_text
|
|
4753
|
+
)
|
|
4754
|
+
data["path"] = self.path
|
|
4755
|
+
data["auto_start"] = self.auto_start
|
|
4817
4756
|
data["end_message"] = (
|
|
4818
4757
|
self.end_message if isinstance(self.end_message, str) else self.end_message
|
|
4819
4758
|
)
|
|
4759
|
+
data["timeout_message"] = (
|
|
4760
|
+
self.timeout_message
|
|
4761
|
+
if isinstance(self.timeout_message, str)
|
|
4762
|
+
else self.timeout_message
|
|
4763
|
+
)
|
|
4820
4764
|
return data
|
|
4821
4765
|
|
|
4822
4766
|
@classmethod
|
|
@@ -4824,44 +4768,26 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4824
4768
|
cls, data: typing.Dict[str, typing.Any]
|
|
4825
4769
|
) -> "CommonAbstraJsonV12DefinitionsFormStage":
|
|
4826
4770
|
return cls(
|
|
4771
|
+
id=str(data["id"]),
|
|
4827
4772
|
file=str(data["file"]),
|
|
4828
4773
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4829
4774
|
transitions=[
|
|
4830
4775
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4831
4776
|
for item in data["transitions"]
|
|
4832
4777
|
],
|
|
4833
|
-
id=str(data["id"]),
|
|
4834
4778
|
title=str(data["title"]),
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
start_button_text=(
|
|
4838
|
-
str(data["start_button_text"])
|
|
4839
|
-
if isinstance(data["start_button_text"], str)
|
|
4840
|
-
else None
|
|
4779
|
+
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4780
|
+
data["notification_trigger"]
|
|
4841
4781
|
),
|
|
4842
4782
|
access_control=CommonAbstraJsonV12DefinitionsFormStageAccessControl.from_dict(
|
|
4843
4783
|
data["access_control"]
|
|
4844
4784
|
),
|
|
4785
|
+
allow_restart=bool(data["allow_restart"]),
|
|
4845
4786
|
welcome_title=(
|
|
4846
4787
|
str(data["welcome_title"])
|
|
4847
4788
|
if isinstance(data["welcome_title"], str)
|
|
4848
4789
|
else None
|
|
4849
4790
|
),
|
|
4850
|
-
restart_button_text=(
|
|
4851
|
-
str(data["restart_button_text"])
|
|
4852
|
-
if isinstance(data["restart_button_text"], str)
|
|
4853
|
-
else None
|
|
4854
|
-
),
|
|
4855
|
-
notification_trigger=CommonAbstraJsonV12DefinitionsFormStageNotificationTrigger.from_dict(
|
|
4856
|
-
data["notification_trigger"]
|
|
4857
|
-
),
|
|
4858
|
-
timeout_message=(
|
|
4859
|
-
str(data["timeout_message"])
|
|
4860
|
-
if isinstance(data["timeout_message"], str)
|
|
4861
|
-
else None
|
|
4862
|
-
),
|
|
4863
|
-
auto_start=bool(data["auto_start"]),
|
|
4864
|
-
path=str(data["path"]),
|
|
4865
4791
|
error_message=(
|
|
4866
4792
|
str(data["error_message"])
|
|
4867
4793
|
if isinstance(data["error_message"], str)
|
|
@@ -4872,11 +4798,29 @@ class CommonAbstraJsonV12DefinitionsFormStage:
|
|
|
4872
4798
|
if isinstance(data["start_message"], str)
|
|
4873
4799
|
else None
|
|
4874
4800
|
),
|
|
4801
|
+
start_button_text=(
|
|
4802
|
+
str(data["start_button_text"])
|
|
4803
|
+
if isinstance(data["start_button_text"], str)
|
|
4804
|
+
else None
|
|
4805
|
+
),
|
|
4806
|
+
is_initial=bool(data["is_initial"]),
|
|
4807
|
+
restart_button_text=(
|
|
4808
|
+
str(data["restart_button_text"])
|
|
4809
|
+
if isinstance(data["restart_button_text"], str)
|
|
4810
|
+
else None
|
|
4811
|
+
),
|
|
4812
|
+
path=str(data["path"]),
|
|
4813
|
+
auto_start=bool(data["auto_start"]),
|
|
4875
4814
|
end_message=(
|
|
4876
4815
|
str(data["end_message"])
|
|
4877
4816
|
if isinstance(data["end_message"], str)
|
|
4878
4817
|
else None
|
|
4879
4818
|
),
|
|
4819
|
+
timeout_message=(
|
|
4820
|
+
str(data["timeout_message"])
|
|
4821
|
+
if isinstance(data["timeout_message"], str)
|
|
4822
|
+
else None
|
|
4823
|
+
),
|
|
4880
4824
|
)
|
|
4881
4825
|
|
|
4882
4826
|
|
|
@@ -4884,6 +4828,8 @@ CommonAbstraJsonV12FormsItem = CommonAbstraJsonV12DefinitionsFormStage
|
|
|
4884
4828
|
|
|
4885
4829
|
CommonAbstraJsonV12Forms = typing.List[CommonAbstraJsonV12FormsItem]
|
|
4886
4830
|
|
|
4831
|
+
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4832
|
+
|
|
4887
4833
|
CommonAbstraJsonV12DefinitionsScriptStageFile = str
|
|
4888
4834
|
|
|
4889
4835
|
CommonAbstraJsonV12DefinitionsScriptStageWorkflowPositionItem = float
|
|
@@ -4900,8 +4846,6 @@ CommonAbstraJsonV12DefinitionsScriptStageTransitions = typing.List[
|
|
|
4900
4846
|
CommonAbstraJsonV12DefinitionsScriptStageTransitionsItem
|
|
4901
4847
|
]
|
|
4902
4848
|
|
|
4903
|
-
CommonAbstraJsonV12DefinitionsScriptStageId = str
|
|
4904
|
-
|
|
4905
4849
|
CommonAbstraJsonV12DefinitionsScriptStageTitle = str
|
|
4906
4850
|
|
|
4907
4851
|
CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
@@ -4909,19 +4853,19 @@ CommonAbstraJsonV12DefinitionsScriptStageIsInitial = bool
|
|
|
4909
4853
|
|
|
4910
4854
|
@dataclass
|
|
4911
4855
|
class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
4856
|
+
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4912
4857
|
file: CommonAbstraJsonV12DefinitionsScriptStageFile
|
|
4913
4858
|
workflow_position: CommonAbstraJsonV12DefinitionsScriptStageWorkflowPosition
|
|
4914
4859
|
transitions: CommonAbstraJsonV12DefinitionsScriptStageTransitions
|
|
4915
|
-
id: CommonAbstraJsonV12DefinitionsScriptStageId
|
|
4916
4860
|
title: CommonAbstraJsonV12DefinitionsScriptStageTitle
|
|
4917
4861
|
is_initial: CommonAbstraJsonV12DefinitionsScriptStageIsInitial
|
|
4918
4862
|
|
|
4919
4863
|
def to_dict(self) -> typing.Dict[str, typing.Any]:
|
|
4920
4864
|
data = {}
|
|
4865
|
+
data["id"] = self.id
|
|
4921
4866
|
data["file"] = self.file
|
|
4922
4867
|
data["workflow_position"] = self.workflow_position
|
|
4923
4868
|
data["transitions"] = [item.to_dict() for item in self.transitions]
|
|
4924
|
-
data["id"] = self.id
|
|
4925
4869
|
data["title"] = self.title
|
|
4926
4870
|
data["is_initial"] = self.is_initial
|
|
4927
4871
|
return data
|
|
@@ -4931,13 +4875,13 @@ class CommonAbstraJsonV12DefinitionsScriptStage:
|
|
|
4931
4875
|
cls, data: typing.Dict[str, typing.Any]
|
|
4932
4876
|
) -> "CommonAbstraJsonV12DefinitionsScriptStage":
|
|
4933
4877
|
return cls(
|
|
4878
|
+
id=str(data["id"]),
|
|
4934
4879
|
file=str(data["file"]),
|
|
4935
4880
|
workflow_position=[float(item) for item in data["workflow_position"]],
|
|
4936
4881
|
transitions=[
|
|
4937
4882
|
CommonAbstraJsonV12DefinitionsTransition.from_dict(item)
|
|
4938
4883
|
for item in data["transitions"]
|
|
4939
4884
|
],
|
|
4940
|
-
id=str(data["id"]),
|
|
4941
4885
|
title=str(data["title"]),
|
|
4942
4886
|
is_initial=bool(data["is_initial"]),
|
|
4943
4887
|
)
|
|
@@ -5036,37 +4980,7 @@ CommonDeploymentResourcesOrganizationDeploymentResourcesComputeUnits = float
|
|
|
5036
4980
|
|
|
5037
4981
|
CommonDeploymentResourcesOrganizationDeploymentResourcesTimeoutSeconds = str
|
|
5038
4982
|
|
|
5039
|
-
CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerType =
|
|
5040
|
-
typing.Literal["jusbrasil"],
|
|
5041
|
-
typing.Literal["clickbus"],
|
|
5042
|
-
typing.Literal["touchsuite"],
|
|
5043
|
-
typing.Literal["foursquare"],
|
|
5044
|
-
typing.Literal["estoca"],
|
|
5045
|
-
typing.Literal["estoca-test"],
|
|
5046
|
-
typing.Literal["irko"],
|
|
5047
|
-
typing.Literal["dr9"],
|
|
5048
|
-
typing.Literal["onfly"],
|
|
5049
|
-
typing.Literal["shared"],
|
|
5050
|
-
typing.Literal["test"],
|
|
5051
|
-
typing.Literal["abstra-projects"],
|
|
5052
|
-
]
|
|
5053
|
-
|
|
5054
|
-
CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerTypeValues: typing.List[
|
|
5055
|
-
CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerType
|
|
5056
|
-
] = [
|
|
5057
|
-
"jusbrasil",
|
|
5058
|
-
"clickbus",
|
|
5059
|
-
"touchsuite",
|
|
5060
|
-
"foursquare",
|
|
5061
|
-
"estoca",
|
|
5062
|
-
"estoca-test",
|
|
5063
|
-
"irko",
|
|
5064
|
-
"dr9",
|
|
5065
|
-
"onfly",
|
|
5066
|
-
"shared",
|
|
5067
|
-
"test",
|
|
5068
|
-
"abstra-projects",
|
|
5069
|
-
]
|
|
4983
|
+
CommonDeploymentResourcesOrganizationDeploymentResourcesWorkerType = str
|
|
5070
4984
|
|
|
5071
4985
|
CommonDeploymentResourcesOrganizationDeploymentResourcesPythonVersion = typing.Union[
|
|
5072
4986
|
typing.Literal["3.9"],
|
|
@@ -5196,7 +5110,9 @@ class CommonDeploymentResourcesOrganizationDeploymentResources:
|
|
|
5196
5110
|
timeout_seconds=None
|
|
5197
5111
|
if data.get("timeoutSeconds") is None
|
|
5198
5112
|
else str(data["timeoutSeconds"]),
|
|
5199
|
-
worker_type=None
|
|
5113
|
+
worker_type=None
|
|
5114
|
+
if data.get("workerType") is None
|
|
5115
|
+
else str(data["workerType"]),
|
|
5200
5116
|
python_version=None
|
|
5201
5117
|
if data.get("pythonVersion") is None
|
|
5202
5118
|
else data["pythonVersion"],
|
|
@@ -5247,37 +5163,7 @@ CommonDeploymentResourcesProjectDeploymentResourcesComputeUnits = float
|
|
|
5247
5163
|
|
|
5248
5164
|
CommonDeploymentResourcesProjectDeploymentResourcesTimeoutSeconds = str
|
|
5249
5165
|
|
|
5250
|
-
CommonDeploymentResourcesProjectDeploymentResourcesWorkerType =
|
|
5251
|
-
typing.Literal["jusbrasil"],
|
|
5252
|
-
typing.Literal["clickbus"],
|
|
5253
|
-
typing.Literal["touchsuite"],
|
|
5254
|
-
typing.Literal["foursquare"],
|
|
5255
|
-
typing.Literal["estoca"],
|
|
5256
|
-
typing.Literal["estoca-test"],
|
|
5257
|
-
typing.Literal["irko"],
|
|
5258
|
-
typing.Literal["dr9"],
|
|
5259
|
-
typing.Literal["onfly"],
|
|
5260
|
-
typing.Literal["shared"],
|
|
5261
|
-
typing.Literal["test"],
|
|
5262
|
-
typing.Literal["abstra-projects"],
|
|
5263
|
-
]
|
|
5264
|
-
|
|
5265
|
-
CommonDeploymentResourcesProjectDeploymentResourcesWorkerTypeValues: typing.List[
|
|
5266
|
-
CommonDeploymentResourcesProjectDeploymentResourcesWorkerType
|
|
5267
|
-
] = [
|
|
5268
|
-
"jusbrasil",
|
|
5269
|
-
"clickbus",
|
|
5270
|
-
"touchsuite",
|
|
5271
|
-
"foursquare",
|
|
5272
|
-
"estoca",
|
|
5273
|
-
"estoca-test",
|
|
5274
|
-
"irko",
|
|
5275
|
-
"dr9",
|
|
5276
|
-
"onfly",
|
|
5277
|
-
"shared",
|
|
5278
|
-
"test",
|
|
5279
|
-
"abstra-projects",
|
|
5280
|
-
]
|
|
5166
|
+
CommonDeploymentResourcesProjectDeploymentResourcesWorkerType = str
|
|
5281
5167
|
|
|
5282
5168
|
CommonDeploymentResourcesProjectDeploymentResourcesPythonVersion = typing.Union[
|
|
5283
5169
|
typing.Literal["3.9"],
|
|
@@ -5407,7 +5293,9 @@ class CommonDeploymentResourcesProjectDeploymentResources:
|
|
|
5407
5293
|
timeout_seconds=None
|
|
5408
5294
|
if data.get("timeoutSeconds") is None
|
|
5409
5295
|
else str(data["timeoutSeconds"]),
|
|
5410
|
-
worker_type=None
|
|
5296
|
+
worker_type=None
|
|
5297
|
+
if data.get("workerType") is None
|
|
5298
|
+
else str(data["workerType"]),
|
|
5411
5299
|
python_version=None
|
|
5412
5300
|
if data.get("pythonVersion") is None
|
|
5413
5301
|
else data["pythonVersion"],
|