procesio-cli 0.1.1__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.
- procesio_cli/__init__.py +18 -0
- procesio_cli/_cli.py +71 -0
- procesio_cli/agents/__init__.py +0 -0
- procesio_cli/agents/_lib/__init__.py +0 -0
- procesio_cli/agents/_lib/actiondef.py +24 -0
- procesio_cli/agents/_lib/errors.py +40 -0
- procesio_cli/agents/_lib/reversibility.py +236 -0
- procesio_cli/agents/_lib/toolrunner.py +141 -0
- procesio_cli/agents/connector-builder/CONNECTOR-BUILDER-PLAYBOOK.md +62 -0
- procesio_cli/agents/connector-builder/CONNECTOR-BUILDER-PROCESIO-INTEROP.md +76 -0
- procesio_cli/agents/connector-builder/CONNECTOR-BUILDER-TROUBLESHOOTING.md +60 -0
- procesio_cli/agents/connector-builder/README.md +51 -0
- procesio_cli/agents/connector-builder/agent.yaml +61 -0
- procesio_cli/agents/connector-builder/context.py +19 -0
- procesio_cli/agents/connector-builder/handlers/__init__.py +1 -0
- procesio_cli/agents/connector-builder/handlers/checklist.py +71 -0
- procesio_cli/agents/connector-builder/handlers/guidance.py +37 -0
- procesio_cli/agents/connector-builder/handlers/nextstep.py +221 -0
- procesio_cli/agents/connector-builder/handlers/status.py +35 -0
- procesio_cli/agents/connector-builder/knowledge.py +47 -0
- procesio_cli/agents/connector-builder/main.py +93 -0
- procesio_cli/agents/connector-builder/tests/conftest.py +95 -0
- procesio_cli/agents/connector-builder/tests/test_cba_agent.py +148 -0
- procesio_cli/agents/orchestrator/__init__.py +0 -0
- procesio_cli/agents/orchestrator/bootstraplib.py +166 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/00-INDEX.md +60 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/01-PROCESSES.md +230 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/02-FORMS.md +287 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/03-INTEGRATIONS.md +384 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/04-DATABASE.md +293 -0
- procesio_cli/agents/procesio/PROCESIO-API-RELIABILITY-DOCTRINE.md +113 -0
- procesio_cli/agents/procesio/PROCESIO-BEST-PRACTICES.md +316 -0
- procesio_cli/agents/procesio/PROCESIO-BUILD-AND-TEST-PLAYBOOK.md +217 -0
- procesio_cli/agents/procesio/PROCESIO-DATASTORE.md +72 -0
- procesio_cli/agents/procesio/PROCESIO-ENVIRONMENTS.md +62 -0
- procesio_cli/agents/procesio/PROCESIO-SCHEDULING.md +47 -0
- procesio_cli/agents/procesio/PROCESIO-VISUAL-ORGANIZATION.md +175 -0
- procesio_cli/agents/procesio/README.md +97 -0
- procesio_cli/agents/procesio/__init__.py +0 -0
- procesio_cli/agents/procesio/agent.yaml +73 -0
- procesio_cli/agents/procesio/audit.py +226 -0
- procesio_cli/agents/procesio/checklist.py +135 -0
- procesio_cli/agents/procesio/context.py +19 -0
- procesio_cli/agents/procesio/handlers/__init__.py +0 -0
- procesio_cli/agents/procesio/handlers/audit.py +39 -0
- procesio_cli/agents/procesio/handlers/checklist.py +34 -0
- procesio_cli/agents/procesio/handlers/guidance.py +36 -0
- procesio_cli/agents/procesio/handlers/status.py +33 -0
- procesio_cli/agents/procesio/handlers/verify.py +39 -0
- procesio_cli/agents/procesio/knowledge.py +115 -0
- procesio_cli/agents/procesio/main.py +89 -0
- procesio_cli/agents/procesio/tests/__init__.py +0 -0
- procesio_cli/agents/procesio/tests/conftest.py +62 -0
- procesio_cli/agents/procesio/tests/test_audit.py +91 -0
- procesio_cli/agents/procesio/tests/test_checklist.py +28 -0
- procesio_cli/agents/procesio/tests/test_guidance.py +78 -0
- procesio_cli/agents/procesio/tests/test_manifest_sync.py +48 -0
- procesio_cli/agents/procesio/tests/test_verify.py +134 -0
- procesio_cli/agents/procesio/tests/test_workspace_scope.py +97 -0
- procesio_cli/agents/procesio/verifylib.py +222 -0
- procesio_cli/dashboard/README.md +117 -0
- procesio_cli/dashboard/__init__.py +18 -0
- procesio_cli/dashboard/serve.py +98 -0
- procesio_cli/dashboard/server/__init__.py +1 -0
- procesio_cli/dashboard/server/config_schemas.py +92 -0
- procesio_cli/dashboard/server/google.py +103 -0
- procesio_cli/dashboard/server/handler.py +160 -0
- procesio_cli/dashboard/server/inventory.py +213 -0
- procesio_cli/dashboard/server/jobs.py +118 -0
- procesio_cli/dashboard/server/llmtest.py +181 -0
- procesio_cli/dashboard/server/procesio_env.py +94 -0
- procesio_cli/dashboard/server/routes.py +74 -0
- procesio_cli/dashboard/server/runner.py +150 -0
- procesio_cli/dashboard/server/security.py +29 -0
- procesio_cli/dashboard/server/setup.py +211 -0
- procesio_cli/dashboard/server/validate.py +152 -0
- procesio_cli/dashboard/tests/conftest.py +16 -0
- procesio_cli/dashboard/tests/test_dashboard.py +225 -0
- procesio_cli/dashboard/tests/test_procesio_env.py +159 -0
- procesio_cli/dashboard/web/actions.js +274 -0
- procesio_cli/dashboard/web/api.js +79 -0
- procesio_cli/dashboard/web/app.js +385 -0
- procesio_cli/dashboard/web/copilot.js +72 -0
- procesio_cli/dashboard/web/google.js +121 -0
- procesio_cli/dashboard/web/index.html +67 -0
- procesio_cli/dashboard/web/procesio_env.js +187 -0
- procesio_cli/dashboard/web/styles.css +207 -0
- procesio_cli/registry.py +370 -0
- procesio_cli/scripts/build-router.py +249 -0
- procesio_cli/scripts/build-tool-skill.py +202 -0
- procesio_cli/scripts/check-requirements.py +131 -0
- procesio_cli/scripts/check-skill-governance.py +174 -0
- procesio_cli/scripts/evaluate-skill-routing.py +217 -0
- procesio_cli/scripts/evaluate-skills.py +316 -0
- procesio_cli/scripts/get-skill.py +122 -0
- procesio_cli/scripts/list-skills.py +68 -0
- procesio_cli/scripts/list-tools.py +73 -0
- procesio_cli/scripts/run-agent.py +59 -0
- procesio_cli/scripts/run-tool.py +123 -0
- procesio_cli/scripts/secret_scan.py +584 -0
- procesio_cli/scripts/set-credential.py +126 -0
- procesio_cli/scripts/validate-skills.py +530 -0
- procesio_cli/skills/PORTFOLIO.md +134 -0
- procesio_cli/skills/__init__.py +6 -0
- procesio_cli/skills/agent-skill-engineer/SKILL.md +226 -0
- procesio_cli/skills/agent-skill-engineer/evals/evals.json +422 -0
- procesio_cli/skills/agent-skill-engineer/references/authoring-standard.md +178 -0
- procesio_cli/skills/agent-skill-engineer/references/decision-framework.md +107 -0
- procesio_cli/skills/agent-skill-engineer/references/domain-evidence-protocol.md +248 -0
- procesio_cli/skills/agent-skill-engineer/references/evaluation-standard.md +191 -0
- procesio_cli/skills/agent-skill-engineer/references/expert-lenses.md +167 -0
- procesio_cli/skills/agent-skill-engineer/references/field-gate-standard.md +231 -0
- procesio_cli/skills/agent-skill-engineer/references/optimization-protocol.md +233 -0
- procesio_cli/skills/agent-skill-engineer/references/optimizer-contract.md +268 -0
- procesio_cli/skills/agent-skill-engineer/references/portability-standard.md +99 -0
- procesio_cli/skills/agent-skill-engineer/references/research-basis.md +128 -0
- procesio_cli/skills/agent-skill-engineer/references/review-standard.md +143 -0
- procesio_cli/skills/agent-skill-engineer/scripts/audit_skill.py +959 -0
- procesio_cli/skills/agent-skill-engineer/scripts/optimize_skill.py +891 -0
- procesio_cli/skills/agent-skill-engineer/scripts/scaffold_skill.py +397 -0
- procesio_cli/skills/evals/baseline-catalog.json +14 -0
- procesio_cli/skills/evals/baseline-routing-v2.json +38 -0
- procesio_cli/skills/evals/baseline.json +37 -0
- procesio_cli/skills/evals/behavioral.json +367 -0
- procesio_cli/skills/evals/field-boundary-development-v1.json +126 -0
- procesio_cli/skills/evals/field-closeout-correction-development-v1.json +23 -0
- procesio_cli/skills/evals/field-closeout-development-v1.json +89 -0
- procesio_cli/skills/evals/portfolio-pressure-training-v1.json +83 -0
- procesio_cli/skills/evals/routing.json +363 -0
- procesio_cli/skills/evals/validation-baseline.json +4 -0
- procesio_cli/skills/procesio-cli/SKILL.md +134 -0
- procesio_cli/skills/procesio-cli/evals/evals.json +111 -0
- procesio_cli/skills/procesio-cli/evals/workflows.json +16 -0
- procesio_cli/skills/procesio-cli/references/connector-lifecycle.md +47 -0
- procesio_cli/skills/procesio-cli/references/credentials-admin.md +113 -0
- procesio_cli/skills/procesio-cli/references/data-verification.md +71 -0
- procesio_cli/skills/procesio-cli/references/documents-files.md +44 -0
- procesio_cli/skills/procesio-cli/references/form-e2e.md +57 -0
- procesio_cli/skills/procesio-cli/references/operation-contract.md +138 -0
- procesio_cli/skills/procesio-cli/references/process-debugging.md +65 -0
- procesio_cli/skills/procesio-cli/references/process-lifecycle.md +88 -0
- procesio_cli/skills/procesio-cli/references/schedules-webhooks.md +58 -0
- procesio_cli/skills/procesio-cli/references/transport-environments.md +53 -0
- procesio_cli/skills/procesio-cli-maintainer/SKILL.md +84 -0
- procesio_cli/skills/procesio-cli-maintainer/evals/evals.json +116 -0
- procesio_cli/skills/procesio-cli-maintainer/references/change-contract.md +34 -0
- procesio_cli/skills/procesio-cli-maintainer/references/mcp-compatibility.md +13 -0
- procesio_cli/skills/procesio-cli-maintainer/references/skill-authoring.md +51 -0
- procesio_cli/skills/procesio-platform-advisor/SKILL.md +82 -0
- procesio_cli/skills/procesio-platform-advisor/evals/evals.json +116 -0
- procesio_cli/skills/procesio-platform-advisor/references/capability-map.md +22 -0
- procesio_cli/skills/procesio-platform-advisor/references/fit-framework.md +35 -0
- procesio_cli/skills/procesio-platform-advisor/references/freshness-policy.md +25 -0
- procesio_cli/skills/procesio-platform-advisor/references/sizing-method.md +70 -0
- procesio_cli/skills/procesio-platform-advisor/scripts/estimate_capacity.py +99 -0
- procesio_cli/skills/procesio-setup/SKILL.md +180 -0
- procesio_cli/skills/sql-server-optimizer/SKILL.md +86 -0
- procesio_cli/skills/sql-server-optimizer/evals/evals.json +116 -0
- procesio_cli/skills/sql-server-optimizer/references/db-context.md +44 -0
- procesio_cli/skills/sql-server-optimizer/references/generic-mode.md +32 -0
- procesio_cli/skills/sql-server-optimizer/references/procesio-mode.md +40 -0
- procesio_cli/skills/sql-server-optimizer/references/sql-rules.md +43 -0
- procesio_cli/skills/sql-server-optimizer/scripts/export-indexes.sql +178 -0
- procesio_cli/skills/sql-server-optimizer/scripts/export-procs-and-functions.sql +118 -0
- procesio_cli/skills/sql-server-optimizer/scripts/export-tables.sql +367 -0
- procesio_cli/skills/tests/__init__.py +0 -0
- procesio_cli/skills/tests/test_agent_skill_engineer.py +240 -0
- procesio_cli/skills/tests/test_auth_failure_stop.py +25 -0
- procesio_cli/skills/tests/test_capacity_estimator.py +85 -0
- procesio_cli/skills/tests/test_field_boundary_learning.py +100 -0
- procesio_cli/skills/tests/test_field_closeout_learning.py +123 -0
- procesio_cli/skills/tests/test_field_gate_standard.py +76 -0
- procesio_cli/skills/tests/test_operational_playbooks.py +51 -0
- procesio_cli/skills/tests/test_portfolio_pressure_training.py +35 -0
- procesio_cli/skills/tests/test_process_lifecycle_single_run.py +25 -0
- procesio_cli/skills/tests/test_skill_evaluator.py +67 -0
- procesio_cli/skills/tests/test_skill_optimizer.py +473 -0
- procesio_cli/skills/tests/test_skill_portfolio_review.py +70 -0
- procesio_cli/skills/tests/test_skill_release_binding.py +204 -0
- procesio_cli/skills/tests/test_skill_routing.py +74 -0
- procesio_cli/skills/tests/test_skill_scaffold_v2.py +116 -0
- procesio_cli/skills/tests/test_validate_skills.py +115 -0
- procesio_cli/tools/__init__.py +0 -0
- procesio_cli/tools/_lib/README.md +119 -0
- procesio_cli/tools/_lib/__init__.py +0 -0
- procesio_cli/tools/_lib/accounting.py +120 -0
- procesio_cli/tools/_lib/contacts.py +544 -0
- procesio_cli/tools/_lib/creds.py +83 -0
- procesio_cli/tools/_lib/creds_backends.py +578 -0
- procesio_cli/tools/_lib/dbprofiles.py +147 -0
- procesio_cli/tools/_lib/dbquery.py +286 -0
- procesio_cli/tools/_lib/dbschema.py +225 -0
- procesio_cli/tools/_lib/io.py +54 -0
- procesio_cli/tools/_lib/manifest.py +297 -0
- procesio_cli/tools/_lib/skill_release.py +127 -0
- procesio_cli/tools/_lib/skill_resources.py +118 -0
- procesio_cli/tools/_lib/userdata.py +228 -0
- procesio_cli/tools/_lib/webserialize/__init__.py +16 -0
- procesio_cli/tools/_lib/webserialize/admin.py +61 -0
- procesio_cli/tools/_lib/webserialize/client.py +264 -0
- procesio_cli/tools/_lib/webserialize/config.py +96 -0
- procesio_cli/tools/_lib/webserialize/errors.py +27 -0
- procesio_cli/tools/_lib/webserialize/framing.py +45 -0
- procesio_cli/tools/_lib/webserialize/registry.py +47 -0
- procesio_cli/tools/_lib/webserialize/runtime.py +61 -0
- procesio_cli/tools/_lib/webserialize/server.py +510 -0
- procesio_cli/tools/_lib/websession.py +194 -0
- procesio_cli/tools/connector-builder/CONNECTOR-BUILDER-API-NOTES.md +91 -0
- procesio_cli/tools/connector-builder/README.md +101 -0
- procesio_cli/tools/connector-builder/SKILL.md +248 -0
- procesio_cli/tools/connector-builder/__init__.py +7 -0
- procesio_cli/tools/connector-builder/actiondef.py +24 -0
- procesio_cli/tools/connector-builder/client.py +251 -0
- procesio_cli/tools/connector-builder/errors.py +44 -0
- procesio_cli/tools/connector-builder/gen_manifest.py +142 -0
- procesio_cli/tools/connector-builder/handlers/__init__.py +1 -0
- procesio_cli/tools/connector-builder/handlers/admin.py +182 -0
- procesio_cli/tools/connector-builder/handlers/auth.py +74 -0
- procesio_cli/tools/connector-builder/handlers/builds.py +396 -0
- procesio_cli/tools/connector-builder/handlers/common.py +104 -0
- procesio_cli/tools/connector-builder/handlers/files.py +111 -0
- procesio_cli/tools/connector-builder/handlers/raw.py +38 -0
- procesio_cli/tools/connector-builder/handlers/telemetry.py +39 -0
- procesio_cli/tools/connector-builder/main.py +94 -0
- procesio_cli/tools/connector-builder/tests/conftest.py +146 -0
- procesio_cli/tools/connector-builder/tests/test_cb_client.py +86 -0
- procesio_cli/tools/connector-builder/tests/test_cb_dispatch.py +105 -0
- procesio_cli/tools/connector-builder/tests/test_cb_manifest_sync.py +76 -0
- procesio_cli/tools/connector-builder/tests/test_cb_wait.py +123 -0
- procesio_cli/tools/connector-builder/tool.yaml +671 -0
- procesio_cli/tools/framework-map/.gitattributes +2 -0
- procesio_cli/tools/framework-map/README.md +98 -0
- procesio_cli/tools/framework-map/SKILL.md +30 -0
- procesio_cli/tools/framework-map/app.js +188 -0
- procesio_cli/tools/framework-map/fm_builder.py +476 -0
- procesio_cli/tools/framework-map/fm_catalog.py +19 -0
- procesio_cli/tools/framework-map/fm_ro_catalog.py +94 -0
- procesio_cli/tools/framework-map/fm_strings.py +101 -0
- procesio_cli/tools/framework-map/main.py +95 -0
- procesio_cli/tools/framework-map/styles.css +214 -0
- procesio_cli/tools/framework-map/tests/conftest.py +33 -0
- procesio_cli/tools/framework-map/tests/test_fm_build.py +126 -0
- procesio_cli/tools/framework-map/tests/test_fm_manifest_sync.py +63 -0
- procesio_cli/tools/framework-map/tests/test_fm_store_tree.py +75 -0
- procesio_cli/tools/framework-map/tool.yaml +61 -0
- procesio_cli/tools/mysql/MOVED-TO-CENTRAL.md +29 -0
- procesio_cli/tools/mysql/README.md +196 -0
- procesio_cli/tools/mysql/SKILL.md +37 -0
- procesio_cli/tools/mysql/__init__.py +0 -0
- procesio_cli/tools/mysql/connection.py +191 -0
- procesio_cli/tools/mysql/main.py +487 -0
- procesio_cli/tools/mysql/profiles.template.json +1 -0
- procesio_cli/tools/mysql/schema.py +434 -0
- procesio_cli/tools/mysql/tests/__init__.py +0 -0
- procesio_cli/tools/mysql/tests/conftest.py +21 -0
- procesio_cli/tools/mysql/tests/test_manifest_sync.py +68 -0
- procesio_cli/tools/mysql/tests/test_mysql.py +201 -0
- procesio_cli/tools/mysql/tests/test_mysql_schema.py +337 -0
- procesio_cli/tools/mysql/tool.yaml +112 -0
- procesio_cli/tools/procesio/DTO-SUBTOOLS-NOTE.md +360 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/00-INDEX.md +67 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/01-ANATOMY.md +209 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/02-CODE-INJECTION.md +309 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/03-DOM-CONTRACT.md +370 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/04-INTERACTION-RECIPES.md +600 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/05-STEPPER-AND-MOTION.md +426 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/06-PROCESS-INTEGRATION.md +347 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/07-DEPLOY-WORKFLOW.md +294 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/08-PITFALLS.md +569 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/09-NAVIGATION-AND-HOSTING.md +308 -0
- procesio_cli/tools/procesio/PHASE4-E2E-NOTES.md +594 -0
- procesio_cli/tools/procesio/PROCESIO-API-CORRECTIONS.md +295 -0
- procesio_cli/tools/procesio/PROCESIO-API-NOTES.md +6976 -0
- procesio_cli/tools/procesio/PROCESIO-AUTH-NOTES.md +226 -0
- procesio_cli/tools/procesio/PROCESIO-CARD-BUILD-NOTES.md +183 -0
- procesio_cli/tools/procesio/PROCESIO-CONNECTORS-NOTES.md +141 -0
- procesio_cli/tools/procesio/PROCESIO-CUSTOM-ACTION-NOTES.md +179 -0
- procesio_cli/tools/procesio/PROCESIO-DOCS-FIX-REPORT.md +123 -0
- procesio_cli/tools/procesio/PROCESIO-ENVIRONMENTS-NOTES.md +94 -0
- procesio_cli/tools/procesio/PROCESIO-FE-VALIDATION-NOTES.md +107 -0
- procesio_cli/tools/procesio/PROCESIO-FOREACH-NOTES.md +199 -0
- procesio_cli/tools/procesio/PROCESIO-FORM-API-HANG-NOTE.md +101 -0
- procesio_cli/tools/procesio/PROCESIO-FORM-SUBMISSION-NOTES.md +172 -0
- procesio_cli/tools/procesio/PROCESIO-HTML-TO-DOCX-NOTES.md +110 -0
- procesio_cli/tools/procesio/PROCESIO-INSTANCE-HISTORY-NOTES.md +242 -0
- procesio_cli/tools/procesio/PROCESIO-METERING-NOTES.md +201 -0
- procesio_cli/tools/procesio/PROCESIO-NODE-CODE-NOTES.md +279 -0
- procesio_cli/tools/procesio/PROCESIO-NODE-MODULE-WHITELIST.md +113 -0
- procesio_cli/tools/procesio/PROCESIO-PYTHON-ACTION-NOTES.md +165 -0
- procesio_cli/tools/procesio/PROCESIO-QUERY-STORE-NOTES.md +826 -0
- procesio_cli/tools/procesio/PROCESIO-RECONCILIATION-PATTERNS.md +104 -0
- procesio_cli/tools/procesio/PROCESIO-RESOURCE-MODEL-NOTES.md +1100 -0
- procesio_cli/tools/procesio/PROCESIO-SEND-EMAIL-CRED-OPTIONALITY.md +45 -0
- procesio_cli/tools/procesio/PROCESIO-SEND-EMAIL-NOTES.md +252 -0
- procesio_cli/tools/procesio/PROCESIO-SQL-ACTIONS-NOTES.md +284 -0
- procesio_cli/tools/procesio/PROCESIO-USAGE-GUIDE.md +219 -0
- procesio_cli/tools/procesio/README.md +341 -0
- procesio_cli/tools/procesio/SCHEDULE-INPUT-SECURITY-NOTES.md +63 -0
- procesio_cli/tools/procesio/SKILL.md +694 -0
- procesio_cli/tools/procesio/__init__.py +1 -0
- procesio_cli/tools/procesio/actiondef.py +27 -0
- procesio_cli/tools/procesio/assets/html2docx/html2docx.js +2155 -0
- procesio_cli/tools/procesio/auth.py +354 -0
- procesio_cli/tools/procesio/autogen.py +121 -0
- procesio_cli/tools/procesio/client.py +355 -0
- procesio_cli/tools/procesio/config.py +96 -0
- procesio_cli/tools/procesio/data/endpoints.json +2901 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/01-authentication.md +180 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/02-conventions.md +116 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/ANONYMOUS-SURFACE.md +51 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/README.md +104 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/SYMBOL-INDEX.md +444 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/03-auth-users-workspaces.md +731 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/04-processes.md +913 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/05-actions.md +605 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/06-files.md +237 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/07-forms-documents.md +985 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/08-credentials.md +532 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/09-datastore-datatypes.md +830 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/10-custom-urls.md +319 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/11-subscriptions-resources-analytics.md +455 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/12-webhooks-notifications-misc.md +519 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/13-realtime-signalr.md +153 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/99-internal-and-other-services.md +52 -0
- procesio_cli/tools/procesio/docs_info/FormBuilder mock.ts +5725 -0
- procesio_cli/tools/procesio/docs_info/Procesio Platform Actions.json +30219 -0
- procesio_cli/tools/procesio/docs_info/form-config-enums.ts +92 -0
- procesio_cli/tools/procesio/docs_info/form-theme.ts +1603 -0
- procesio_cli/tools/procesio/docs_info/process-validation-reference-1.md +2739 -0
- procesio_cli/tools/procesio/dto/__init__.py +13 -0
- procesio_cli/tools/procesio/dto/credential/builder.py +179 -0
- procesio_cli/tools/procesio/dto/credential/config.schema.json +19 -0
- procesio_cli/tools/procesio/dto/credential/description.md +193 -0
- procesio_cli/tools/procesio/dto/credential/fixtures/rest.config.json +11 -0
- procesio_cli/tools/procesio/dto/credential/fixtures/rest.dto.json +28 -0
- procesio_cli/tools/procesio/dto/credential/fixtures/rest.template.json +44 -0
- procesio_cli/tools/procesio/dto/credential/template.dto.json +16 -0
- procesio_cli/tools/procesio/dto/data/_refresh.py +147 -0
- procesio_cli/tools/procesio/dto/data/action_catalog.json +30825 -0
- procesio_cli/tools/procesio/dto/data/action_families.json +55 -0
- procesio_cli/tools/procesio/dto/data/platform_types.json +182 -0
- procesio_cli/tools/procesio/dto/datatype/builder.py +223 -0
- procesio_cli/tools/procesio/dto/datatype/config.schema.json +47 -0
- procesio_cli/tools/procesio/dto/datatype/description.md +85 -0
- procesio_cli/tools/procesio/dto/datatype/fixtures/customer.config.json +41 -0
- procesio_cli/tools/procesio/dto/datatype/fixtures/customer.dto.json +164 -0
- procesio_cli/tools/procesio/dto/datatype/template.dto.json +37 -0
- procesio_cli/tools/procesio/dto/document/builder.py +193 -0
- procesio_cli/tools/procesio/dto/document/config.schema.json +33 -0
- procesio_cli/tools/procesio/dto/document/description.md +124 -0
- procesio_cli/tools/procesio/dto/document/fixtures/invoice.config.json +16 -0
- procesio_cli/tools/procesio/dto/document/fixtures/invoice.dto.json +32 -0
- procesio_cli/tools/procesio/dto/document/template.dto.json +14 -0
- procesio_cli/tools/procesio/dto/form/FORM-STYLING-NOTES.md +142 -0
- procesio_cli/tools/procesio/dto/form/GOLDEN-DRIFT-NOTES.md +72 -0
- procesio_cli/tools/procesio/dto/form/RUN-PROCESS-RESULT-NOTES.md +80 -0
- procesio_cli/tools/procesio/dto/form/addelement.py +277 -0
- procesio_cli/tools/procesio/dto/form/builder.py +1009 -0
- procesio_cli/tools/procesio/dto/form/capture_goldens.py +106 -0
- procesio_cli/tools/procesio/dto/form/code_cipher.py +67 -0
- procesio_cli/tools/procesio/dto/form/config.schema.json +76 -0
- procesio_cli/tools/procesio/dto/form/data_shell.json +1 -0
- procesio_cli/tools/procesio/dto/form/description.md +346 -0
- procesio_cli/tools/procesio/dto/form/elements/approval.json +259 -0
- procesio_cli/tools/procesio/dto/form/elements/assignee.json +137 -0
- procesio_cli/tools/procesio/dto/form/elements/button.json +125 -0
- procesio_cli/tools/procesio/dto/form/elements/chart.json +341 -0
- procesio_cli/tools/procesio/dto/form/elements/chat.json +199 -0
- procesio_cli/tools/procesio/dto/form/elements/checkbox.json +153 -0
- procesio_cli/tools/procesio/dto/form/elements/column.json +77 -0
- procesio_cli/tools/procesio/dto/form/elements/columns.json +78 -0
- procesio_cli/tools/procesio/dto/form/elements/datetime-input.json +304 -0
- procesio_cli/tools/procesio/dto/form/elements/divider.json +54 -0
- procesio_cli/tools/procesio/dto/form/elements/dropdown.json +130 -0
- procesio_cli/tools/procesio/dto/form/elements/dynamic-table-row.json +253 -0
- procesio_cli/tools/procesio/dto/form/elements/file-upload.json +196 -0
- procesio_cli/tools/procesio/dto/form/elements/file-viewer.json +169 -0
- procesio_cli/tools/procesio/dto/form/elements/heading.json +79 -0
- procesio_cli/tools/procesio/dto/form/elements/icon.json +107 -0
- procesio_cli/tools/procesio/dto/form/elements/image.json +174 -0
- procesio_cli/tools/procesio/dto/form/elements/input.json +206 -0
- procesio_cli/tools/procesio/dto/form/elements/list.json +202 -0
- procesio_cli/tools/procesio/dto/form/elements/number-input.json +202 -0
- procesio_cli/tools/procesio/dto/form/elements/paragraph.json +79 -0
- procesio_cli/tools/procesio/dto/form/elements/radiobox.json +174 -0
- procesio_cli/tools/procesio/dto/form/elements/section.json +114 -0
- procesio_cli/tools/procesio/dto/form/elements/select.json +217 -0
- procesio_cli/tools/procesio/dto/form/elements/side-panel.json +146 -0
- procesio_cli/tools/procesio/dto/form/elements/signature-pad.json +141 -0
- procesio_cli/tools/procesio/dto/form/elements/static-table-row.json +84 -0
- procesio_cli/tools/procesio/dto/form/elements/step.json +105 -0
- procesio_cli/tools/procesio/dto/form/elements/stepper.json +126 -0
- procesio_cli/tools/procesio/dto/form/elements/tab.json +77 -0
- procesio_cli/tools/procesio/dto/form/elements/table.json +279 -0
- procesio_cli/tools/procesio/dto/form/elements/tabs.json +114 -0
- procesio_cli/tools/procesio/dto/form/elements/textarea.json +213 -0
- procesio_cli/tools/procesio/dto/form/enum_map.json +68 -0
- procesio_cli/tools/procesio/dto/form/fieldpath.py +284 -0
- procesio_cli/tools/procesio/dto/form/fixtures/reg.config.json +32 -0
- procesio_cli/tools/procesio/dto/form/fixtures/reg.elements.json +638 -0
- procesio_cli/tools/procesio/dto/form/sync_from_mock.py +386 -0
- procesio_cli/tools/procesio/dto/framework.py +125 -0
- procesio_cli/tools/procesio/dto/process/builder.py +1991 -0
- procesio_cli/tools/procesio/dto/process/config.schema.json +159 -0
- procesio_cli/tools/procesio/dto/process/description.md +218 -0
- procesio_cli/tools/procesio/dto/process/fixtures/greet.config.json +32 -0
- procesio_cli/tools/procesio/dto/process/fixtures/greet.dto.json +317 -0
- procesio_cli/tools/procesio/dto/process/naming.py +305 -0
- procesio_cli/tools/procesio/dto/process/normalize.py +74 -0
- procesio_cli/tools/procesio/dto/process/template.dto.json +32 -0
- procesio_cli/tools/procesio/dto/refdata.py +87 -0
- procesio_cli/tools/procesio/dto/registry.py +27 -0
- procesio_cli/tools/procesio/dto/webhook/builder.py +142 -0
- procesio_cli/tools/procesio/dto/webhook/config.schema.json +25 -0
- procesio_cli/tools/procesio/dto/webhook/description.md +92 -0
- procesio_cli/tools/procesio/dto/webhook/fixtures/order.config.json +10 -0
- procesio_cli/tools/procesio/dto/webhook/fixtures/order.dto.json +25 -0
- procesio_cli/tools/procesio/dto/webhook/template.dto.json +14 -0
- procesio_cli/tools/procesio/environments.py +264 -0
- procesio_cli/tools/procesio/errors.py +166 -0
- procesio_cli/tools/procesio/flowmodel/README.md +37 -0
- procesio_cli/tools/procesio/flowmodel/__init__.py +14 -0
- procesio_cli/tools/procesio/flowmodel/digest.py +223 -0
- procesio_cli/tools/procesio/flowmodel/families.py +34 -0
- procesio_cli/tools/procesio/flowmodel/fevalidation.py +1098 -0
- procesio_cli/tools/procesio/flowmodel/formdigest.py +232 -0
- procesio_cli/tools/procesio/flowmodel/inspect.py +78 -0
- procesio_cli/tools/procesio/flowmodel/model.py +82 -0
- procesio_cli/tools/procesio/flowmodel/nodeparam.py +871 -0
- procesio_cli/tools/procesio/flowmodel/reader.py +191 -0
- procesio_cli/tools/procesio/flowmodel/sqlparam.py +410 -0
- procesio_cli/tools/procesio/form_code_keys.py +50 -0
- procesio_cli/tools/procesio/formlint.py +292 -0
- procesio_cli/tools/procesio/gen_manifest.py +118 -0
- procesio_cli/tools/procesio/handlers/__init__.py +1 -0
- procesio_cli/tools/procesio/handlers/auth_actions.py +103 -0
- procesio_cli/tools/procesio/handlers/catalog.py +147 -0
- procesio_cli/tools/procesio/handlers/common.py +90 -0
- procesio_cli/tools/procesio/handlers/customaction_ops.py +146 -0
- procesio_cli/tools/procesio/handlers/datastore_ops.py +482 -0
- procesio_cli/tools/procesio/handlers/datatype_ops.py +275 -0
- procesio_cli/tools/procesio/handlers/dto_actions.py +258 -0
- procesio_cli/tools/procesio/handlers/environment_admin.py +146 -0
- procesio_cli/tools/procesio/handlers/fevalidate.py +236 -0
- procesio_cli/tools/procesio/handlers/files.py +141 -0
- procesio_cli/tools/procesio/handlers/flowgraph.py +229 -0
- procesio_cli/tools/procesio/handlers/flowlint.py +269 -0
- procesio_cli/tools/procesio/handlers/form_chains.py +336 -0
- procesio_cli/tools/procesio/handlers/form_code.py +277 -0
- procesio_cli/tools/procesio/handlers/form_element.py +199 -0
- procesio_cli/tools/procesio/handlers/form_events.py +441 -0
- procesio_cli/tools/procesio/handlers/form_update.py +270 -0
- procesio_cli/tools/procesio/handlers/formprocess.py +211 -0
- procesio_cli/tools/procesio/handlers/generic.py +135 -0
- procesio_cli/tools/procesio/handlers/layout.py +137 -0
- procesio_cli/tools/procesio/handlers/nodeparams.py +1018 -0
- procesio_cli/tools/procesio/handlers/process_layout.py +189 -0
- procesio_cli/tools/procesio/handlers/process_naming.py +213 -0
- procesio_cli/tools/procesio/handlers/processes.py +416 -0
- procesio_cli/tools/procesio/handlers/profile_admin.py +184 -0
- procesio_cli/tools/procesio/handlers/resource_ops.py +447 -0
- procesio_cli/tools/procesio/handlers/schedules.py +320 -0
- procesio_cli/tools/procesio/handlers/sqlactions.py +232 -0
- procesio_cli/tools/procesio/handlers/transport.py +463 -0
- procesio_cli/tools/procesio/handlers/usageguide.py +222 -0
- procesio_cli/tools/procesio/layout/README.md +196 -0
- procesio_cli/tools/procesio/layout/__init__.py +11 -0
- procesio_cli/tools/procesio/layout/adapter.py +736 -0
- procesio_cli/tools/procesio/layout/cycles.py +186 -0
- procesio_cli/tools/procesio/layout/dispatch.py +39 -0
- procesio_cli/tools/procesio/layout/elk/elk_runner.mjs +50 -0
- procesio_cli/tools/procesio/layout/elk/package-lock.json +21 -0
- procesio_cli/tools/procesio/layout/elk/package.json +11 -0
- procesio_cli/tools/procesio/layout/elk_engine.py +568 -0
- procesio_cli/tools/procesio/layout/engine.py +1311 -0
- procesio_cli/tools/procesio/layout/report.py +187 -0
- procesio_cli/tools/procesio/main.py +179 -0
- procesio_cli/tools/procesio/profiles.py +193 -0
- procesio_cli/tools/procesio/reliability.py +193 -0
- procesio_cli/tools/procesio/sqlformat.py +167 -0
- procesio_cli/tools/procesio/swagger.py +51 -0
- procesio_cli/tools/procesio/tests/__init__.py +0 -0
- procesio_cli/tools/procesio/tests/conftest.py +129 -0
- procesio_cli/tools/procesio/tests/test_auth.py +200 -0
- procesio_cli/tools/procesio/tests/test_autogen.py +78 -0
- procesio_cli/tools/procesio/tests/test_builder_attrpath_sqlbind.py +180 -0
- procesio_cli/tools/procesio/tests/test_builder_custom_action_catalog.py +72 -0
- procesio_cli/tools/procesio/tests/test_client.py +114 -0
- procesio_cli/tools/procesio/tests/test_client_reliability.py +139 -0
- procesio_cli/tools/procesio/tests/test_customaction.py +103 -0
- procesio_cli/tools/procesio/tests/test_customaction_test.py +80 -0
- procesio_cli/tools/procesio/tests/test_cycles.py +69 -0
- procesio_cli/tools/procesio/tests/test_datastore.py +378 -0
- procesio_cli/tools/procesio/tests/test_datastore_node.py +94 -0
- procesio_cli/tools/procesio/tests/test_dispatch.py +170 -0
- procesio_cli/tools/procesio/tests/test_document_page_size.py +19 -0
- procesio_cli/tools/procesio/tests/test_dto.py +734 -0
- procesio_cli/tools/procesio/tests/test_edit_dryrun_preview.py +96 -0
- procesio_cli/tools/procesio/tests/test_elk_layout.py +221 -0
- procesio_cli/tools/procesio/tests/test_environments.py +214 -0
- procesio_cli/tools/procesio/tests/test_fevalidate_gate.py +104 -0
- procesio_cli/tools/procesio/tests/test_fevalidation.py +317 -0
- procesio_cli/tools/procesio/tests/test_fieldpath_variables.py +87 -0
- procesio_cli/tools/procesio/tests/test_files.py +72 -0
- procesio_cli/tools/procesio/tests/test_flow_digest.py +202 -0
- procesio_cli/tools/procesio/tests/test_flowlint.py +114 -0
- procesio_cli/tools/procesio/tests/test_flowmodel.py +158 -0
- procesio_cli/tools/procesio/tests/test_form_add_element.py +256 -0
- procesio_cli/tools/procesio/tests/test_form_approval_gaps.py +319 -0
- procesio_cli/tools/procesio/tests/test_form_auto_names.py +60 -0
- procesio_cli/tools/procesio/tests/test_form_chains.py +217 -0
- procesio_cli/tools/procesio/tests/test_form_code_actions.py +188 -0
- procesio_cli/tools/procesio/tests/test_form_code_keys.py +92 -0
- procesio_cli/tools/procesio/tests/test_form_code_style.py +178 -0
- procesio_cli/tools/procesio/tests/test_form_delete_element.py +99 -0
- procesio_cli/tools/procesio/tests/test_form_element_config.py +141 -0
- procesio_cli/tools/procesio/tests/test_form_event_maps.py +135 -0
- procesio_cli/tools/procesio/tests/test_form_event_ops.py +376 -0
- procesio_cli/tools/procesio/tests/test_form_event_replace.py +86 -0
- procesio_cli/tools/procesio/tests/test_form_events.py +92 -0
- procesio_cli/tools/procesio/tests/test_form_parity.py +171 -0
- procesio_cli/tools/procesio/tests/test_form_select_source.py +74 -0
- procesio_cli/tools/procesio/tests/test_form_sync.py +35 -0
- procesio_cli/tools/procesio/tests/test_form_update.py +133 -0
- procesio_cli/tools/procesio/tests/test_formlint.py +155 -0
- procesio_cli/tools/procesio/tests/test_formlint_css_scope.py +38 -0
- procesio_cli/tools/procesio/tests/test_formlint_field_names.py +83 -0
- procesio_cli/tools/procesio/tests/test_guards.py +110 -0
- procesio_cli/tools/procesio/tests/test_hidden_setting_types.py +39 -0
- procesio_cli/tools/procesio/tests/test_html2docx_asset.py +132 -0
- procesio_cli/tools/procesio/tests/test_key_handle_terminology.py +45 -0
- procesio_cli/tools/procesio/tests/test_layout.py +574 -0
- procesio_cli/tools/procesio/tests/test_layout_report.py +88 -0
- procesio_cli/tools/procesio/tests/test_manifest_sync.py +68 -0
- procesio_cli/tools/procesio/tests/test_nodedelete.py +151 -0
- procesio_cli/tools/procesio/tests/test_nodeparam.py +826 -0
- procesio_cli/tools/procesio/tests/test_normalize.py +70 -0
- procesio_cli/tools/procesio/tests/test_payload_docs.py +86 -0
- procesio_cli/tools/procesio/tests/test_process_action_naming.py +170 -0
- procesio_cli/tools/procesio/tests/test_process_call_api_seed.py +46 -0
- procesio_cli/tools/procesio/tests/test_process_ext.py +373 -0
- procesio_cli/tools/procesio/tests/test_process_invariants.py +183 -0
- procesio_cli/tools/procesio/tests/test_process_layout.py +117 -0
- procesio_cli/tools/procesio/tests/test_process_naming.py +188 -0
- procesio_cli/tools/procesio/tests/test_process_query_store.py +172 -0
- procesio_cli/tools/procesio/tests/test_processinfo_variable.py +56 -0
- procesio_cli/tools/procesio/tests/test_profiles.py +127 -0
- procesio_cli/tools/procesio/tests/test_put_projects.py +41 -0
- procesio_cli/tools/procesio/tests/test_reliability.py +107 -0
- procesio_cli/tools/procesio/tests/test_removal_gate.py +95 -0
- procesio_cli/tools/procesio/tests/test_resource_ops.py +173 -0
- procesio_cli/tools/procesio/tests/test_save_validity.py +207 -0
- procesio_cli/tools/procesio/tests/test_schedule_cron_shape.py +111 -0
- procesio_cli/tools/procesio/tests/test_schedules.py +309 -0
- procesio_cli/tools/procesio/tests/test_sqlconvert.py +234 -0
- procesio_cli/tools/procesio/tests/test_sqlformat.py +83 -0
- procesio_cli/tools/procesio/tests/test_sqlparam.py +187 -0
- procesio_cli/tools/procesio/tests/test_superseded_actions.py +54 -0
- procesio_cli/tools/procesio/tests/test_surgical_concurrency.py +156 -0
- procesio_cli/tools/procesio/tests/test_tier4.py +123 -0
- procesio_cli/tools/procesio/tests/test_transport.py +147 -0
- procesio_cli/tools/procesio/tests/test_transport_data_stores.py +168 -0
- procesio_cli/tools/procesio/tests/test_transport_mapper_repair.py +150 -0
- procesio_cli/tools/procesio/tests/test_transport_webhook_strip.py +253 -0
- procesio_cli/tools/procesio/tests/test_usage_guide.py +96 -0
- procesio_cli/tools/procesio/tool.yaml +12486 -0
- procesio_cli/tools/sqlserver/MOVED-TO-CENTRAL.md +29 -0
- procesio_cli/tools/sqlserver/README.md +192 -0
- procesio_cli/tools/sqlserver/SKILL.md +37 -0
- procesio_cli/tools/sqlserver/SQLSERVER-SCHEMA-NOTES.md +284 -0
- procesio_cli/tools/sqlserver/__init__.py +0 -0
- procesio_cli/tools/sqlserver/connection.py +242 -0
- procesio_cli/tools/sqlserver/main.py +521 -0
- procesio_cli/tools/sqlserver/profiles.template.json +1 -0
- procesio_cli/tools/sqlserver/schema.py +600 -0
- procesio_cli/tools/sqlserver/tests/__init__.py +0 -0
- procesio_cli/tools/sqlserver/tests/conftest.py +21 -0
- procesio_cli/tools/sqlserver/tests/test_connection.py +75 -0
- procesio_cli/tools/sqlserver/tests/test_dbprofiles.py +92 -0
- procesio_cli/tools/sqlserver/tests/test_dbquery.py +220 -0
- procesio_cli/tools/sqlserver/tests/test_manifest_sync.py +68 -0
- procesio_cli/tools/sqlserver/tests/test_sqlserver.py +326 -0
- procesio_cli/tools/sqlserver/tests/test_sqlserver_schema.py +488 -0
- procesio_cli/tools/sqlserver/tool.yaml +123 -0
- procesio_cli/tools/web/README.md +381 -0
- procesio_cli/tools/web/SKILL.md +37 -0
- procesio_cli/tools/web/WEB-AUTOMATION-NOTES.md +277 -0
- procesio_cli/tools/web/__init__.py +21 -0
- procesio_cli/tools/web/actiondef.py +24 -0
- procesio_cli/tools/web/api.py +444 -0
- procesio_cli/tools/web/brokered.py +107 -0
- procesio_cli/tools/web/driver.py +839 -0
- procesio_cli/tools/web/drivercontract.py +44 -0
- procesio_cli/tools/web/errors.py +54 -0
- procesio_cli/tools/web/handlers/__init__.py +1 -0
- procesio_cli/tools/web/handlers/archive.py +367 -0
- procesio_cli/tools/web/handlers/browse.py +182 -0
- procesio_cli/tools/web/handlers/contacts.py +74 -0
- procesio_cli/tools/web/handlers/sessmgmt.py +120 -0
- procesio_cli/tools/web/main.py +128 -0
- procesio_cli/tools/web/sessions.py +253 -0
- procesio_cli/tools/web/steps.py +162 -0
- procesio_cli/tools/web/tests/__init__.py +0 -0
- procesio_cli/tools/web/tests/conftest.py +197 -0
- procesio_cli/tools/web/tests/test_api.py +330 -0
- procesio_cli/tools/web/tests/test_archive.py +190 -0
- procesio_cli/tools/web/tests/test_brokered.py +138 -0
- procesio_cli/tools/web/tests/test_dispatch.py +132 -0
- procesio_cli/tools/web/tests/test_errors.py +60 -0
- procesio_cli/tools/web/tests/test_manifest_sync.py +76 -0
- procesio_cli/tools/web/tests/test_page_contacts.py +68 -0
- procesio_cli/tools/web/tests/test_sessions.py +145 -0
- procesio_cli/tools/web/tests/test_steps.py +210 -0
- procesio_cli/tools/web/tool.yaml +184 -0
- procesio_cli/tools/xlsx/README.md +34 -0
- procesio_cli/tools/xlsx/SKILL.md +28 -0
- procesio_cli/tools/xlsx/__init__.py +0 -0
- procesio_cli/tools/xlsx/main.py +129 -0
- procesio_cli/tools/xlsx/reader.py +91 -0
- procesio_cli/tools/xlsx/tests/__init__.py +0 -0
- procesio_cli/tools/xlsx/tests/conftest.py +39 -0
- procesio_cli/tools/xlsx/tests/test_xlsx.py +103 -0
- procesio_cli/tools/xlsx/tool.yaml +30 -0
- procesio_cli/webplatform/aat_mcp/AAT-MCP-NOTES.md +244 -0
- procesio_cli/webplatform/aat_mcp/README.md +78 -0
- procesio_cli/webplatform/aat_mcp/bridge.py +705 -0
- procesio_cli/webplatform/aat_mcp/chat_server.py +194 -0
- procesio_cli/webplatform/aat_mcp/chat_surface.snapshot.json +668 -0
- procesio_cli/webplatform/aat_mcp/chat_surface.yaml +372 -0
- procesio_cli/webplatform/aat_mcp/gate.py +68 -0
- procesio_cli/webplatform/aat_mcp/http_server.py +139 -0
- procesio_cli/webplatform/aat_mcp/protocol.py +175 -0
- procesio_cli/webplatform/aat_mcp/server.py +306 -0
- procesio_cli/webplatform/aat_mcp/tests/conftest.py +8 -0
- procesio_cli/webplatform/aat_mcp/tests/test_aat_mcp.py +255 -0
- procesio_cli/webplatform/aat_mcp/tests/test_chat_surface.py +247 -0
- procesio_cli/webplatform/aat_mcp/tests/test_discovery.py +489 -0
- procesio_cli/webplatform/aat_mcp/tests/test_multiuser.py +86 -0
- procesio_cli/webplatform/aat_mcp/tests/test_progressive_discovery.py +89 -0
- procesio_cli/webplatform/aat_mcp/tests/test_protocol.py +180 -0
- procesio_cli/webplatform/aat_mcp/tests/test_skill_discovery.py +23 -0
- procesio_cli-0.1.1.dist-info/METADATA +467 -0
- procesio_cli-0.1.1.dist-info/RECORD +647 -0
- procesio_cli-0.1.1.dist-info/WHEEL +4 -0
- procesio_cli-0.1.1.dist-info/entry_points.txt +7 -0
- procesio_cli-0.1.1.dist-info/licenses/LICENSE +201 -0
- procesio_cli-0.1.1.dist-info/licenses/NOTICE +5 -0
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
# Credentials endpoints
|
|
2
|
+
|
|
3
|
+
> Service: **Web-Api** (public gateway) · Base URL: see [../02-conventions.md](../02-conventions.md) · Auth: see [../01-authentication.md](../01-authentication.md)
|
|
4
|
+
> Source controllers:
|
|
5
|
+
> - `BE/Web-Api/WebApi/Application/Controllers/Credentials/CredentialsController.cs`
|
|
6
|
+
> - `BE/Web-Api/WebApi/Application/Controllers/Credentials/CredentialsAuthController.cs`
|
|
7
|
+
> - `BE/Web-Api/WebApi/Application/Controllers/Credentials/CredentialsTemplateController.cs`
|
|
8
|
+
> - `BE/Web-Api/WebApi/Application/Controllers/Credentials/ProcesioAdmin/CredentialsTemplateController.cs`
|
|
9
|
+
> - `BE/Web-Api/WebApi/Application/Controllers/Credentials/ProcessInstanceCredentialsController.cs`
|
|
10
|
+
> - `BE/Web-Api/WebApi/Application/Controllers/Credentials/ProcessTemplateCredentialsController.cs`
|
|
11
|
+
|
|
12
|
+
The Credentials domain is PROCESIO's **credentials vault**: the store of secrets and connection details (FTP servers, OAuth2 apps, API keys, etc.) that process actions use to reach third-party systems. A **credentials template** (`CredentialsTemplate`) defines the shape of a connection type — its list of input properties (host, username, password, OAuth client id/secret, …). A **credentials instance** (`Credentials`) is a saved set of values for one template, owned by a workspace. Actions in a process reference a credentials instance by its `gid`.
|
|
13
|
+
|
|
14
|
+
This domain covers:
|
|
15
|
+
- CRUD over credentials instances (`CredentialsController`).
|
|
16
|
+
- A "test connection" probe that validates values before saving.
|
|
17
|
+
- File upload for private-key / certificate auth, and the **OAuth2 authorization flow** (build authorize URL → external consent → callback → access/refresh tokens stored server-side) in `CredentialsAuthController`.
|
|
18
|
+
- Read access to credentials templates and their "verbs" (`CredentialsTemplateController`).
|
|
19
|
+
- ProcesioAdmin-only template authoring and predefined secure-data seeding (`ProcesioAdmin/CredentialsTemplateController`) — hidden from Swagger.
|
|
20
|
+
- Restricted/base read variants used internally by the Designer and running process instances (`ProcessTemplateCredentialsController`, `ProcessInstanceCredentialsController`).
|
|
21
|
+
|
|
22
|
+
**Routing note:** all six controllers share `[Route("api/Credentials")]`. They are separate C# classes purely to attach different `[AuthorizationEntity(...)]` values (and therefore different permission checks) to different subroutes. The `OAuthCallback` action overrides the base route with an absolute path (`/api/CredentialsAuth/...`).
|
|
23
|
+
|
|
24
|
+
**Secret handling:** secret values are submitted as ordinary fields inside the `properties` array of a `CredentialsDto` (`POST`/`PUT api/Credentials`) — each property is `{ id, value }` where `value` is free-form (`object`). The server encrypts/stores them; reads of an instance return property metadata but the vault does not echo plaintext secrets back in the restricted/base read variants. OAuth2 tokens are never sent by the client: the client only forwards the `code`/`state` from the provider redirect, and the server exchanges them for tokens and persists them. Certificates/private keys are uploaded as `multipart/form-data` files.
|
|
25
|
+
|
|
26
|
+
All routes are served under the Web-Api gateway base URL. Versioning is via the optional `x-version` header (default `1.19`); do not add a version path segment.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Endpoints
|
|
31
|
+
|
|
32
|
+
### CredentialsController — `[AuthorizationEntity(Credentials)]`
|
|
33
|
+
|
|
34
|
+
Permission strings below are `Credentials:{Action}`. (The Swagger summaries say "Credentials.Write" for the create action; this maps to the `Create` action type.)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
### `POST api/Credentials/test`
|
|
39
|
+
|
|
40
|
+
- **Operation:** `TestConfiguration` — validate a credentials configuration by attempting a live connection, without saving.
|
|
41
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Update`
|
|
42
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Update"
|
|
43
|
+
- **Request body** (`application/json`): `CredentialsDto`
|
|
44
|
+
- **Responses:**
|
|
45
|
+
- `200 OK` → test result object (server-defined; the raw result of the connection probe, shape not strongly typed)
|
|
46
|
+
- **Notes:** Performs an outbound connection attempt to the third-party system using the supplied property values. Use before `POST api/Credentials` to confirm secrets are correct. For connection types needing a certificate file, first call `POST api/Credentials/upload/test` and reference the returned path.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
### `GET api/Credentials`
|
|
51
|
+
|
|
52
|
+
- **Operation:** `GetConfigurations` — list credentials instances for the current workspace, paginated, with optional name search.
|
|
53
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
54
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
55
|
+
- **Query params:**
|
|
56
|
+
- `pageNumber` — `number`, optional (defaults to page 1 server-side; values ≤ 1 are coerced to 1) — 1-based page index.
|
|
57
|
+
- `pageItemCount` — `number`, optional (defaults to 0 = unbounded server-side) — page size.
|
|
58
|
+
- `searchName` — `string`, optional, default `null` — case-insensitive name filter; **ignored if trimmed length < 3 characters** (treated as no filter).
|
|
59
|
+
- **Responses:**
|
|
60
|
+
- `200 OK` → array of `BaseCredentialsDto` (instance summaries) — exact element shape is service-defined; see Notes.
|
|
61
|
+
- `400 Bad Request` → error payload when the lookup returns null.
|
|
62
|
+
- **Notes:** Returns instances scoped to the caller's workspace. See `Pagination` in Shared DTOs for how page params are interpreted.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### `GET api/Credentials/count`
|
|
67
|
+
|
|
68
|
+
- **Operation:** `CountConfigurations` — total number of credentials instances for the workspace.
|
|
69
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
70
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
71
|
+
- **Responses:**
|
|
72
|
+
- `200 OK` → `number` (total count)
|
|
73
|
+
- `400 Bad Request` → error payload when count < 0 (not-found path).
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
### `GET api/Credentials/list/{typeId}`
|
|
78
|
+
|
|
79
|
+
- **Operation:** `GetConfigurationsByType` — list credentials instances created from a given template, paginated, with base properties.
|
|
80
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
81
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
82
|
+
- **Path params:** `{typeId}` — `string (uuid)`, required — the credentials template id (`gtid`).
|
|
83
|
+
- **Query params:**
|
|
84
|
+
- `pageNumber` — `number`, optional — 1-based page index.
|
|
85
|
+
- `pageItemCount` — `number`, optional — page size.
|
|
86
|
+
- **Responses:**
|
|
87
|
+
- `200 OK` → array of `BaseCredentialsDto` (base view of matching instances)
|
|
88
|
+
- `400 Bad Request` → error payload when null.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
### `GET api/Credentials/list/{typeId}/count`
|
|
93
|
+
|
|
94
|
+
- **Operation:** `CountConfigurationsByType` — number of credentials instances for a given template.
|
|
95
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
96
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
97
|
+
- **Path params:** `{typeId}` — `string (uuid)`, required — the credentials template id.
|
|
98
|
+
- **Responses:**
|
|
99
|
+
- `200 OK` → `number` (count)
|
|
100
|
+
- `400 Bad Request` → error payload when count < 0.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### `GET api/Credentials/{id}`
|
|
105
|
+
|
|
106
|
+
- **Operation:** `GetConfiguration` — get a single credentials instance by id (full view).
|
|
107
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
108
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
109
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials instance id (`gid`).
|
|
110
|
+
- **Responses:**
|
|
111
|
+
- `200 OK` → `CredentialsDto` (instance with its `properties`)
|
|
112
|
+
- `400 Bad Request` → error payload when not found.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
### `POST api/Credentials`
|
|
117
|
+
|
|
118
|
+
- **Operation:** `StoreConfiguration` — create/store a new credentials instance (with secret values).
|
|
119
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Create`
|
|
120
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Write"
|
|
121
|
+
- **Request body** (`application/json`): `CredentialsDto`
|
|
122
|
+
- **Responses:**
|
|
123
|
+
- `200 OK` → `{ "id": "<uuid>" }` — `id` is the new instance's `Gid` (the server populates `Gid` during save).
|
|
124
|
+
- `400 Bad Request` → composed error payload (array of credentials errors) when validation/storage fails.
|
|
125
|
+
- **Notes:** Secret values are carried in `properties[].value`. The server assigns the `gid`.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
### `PUT api/Credentials`
|
|
130
|
+
|
|
131
|
+
- **Operation:** `UpdateConfiguration` — update an existing credentials instance.
|
|
132
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Update`
|
|
133
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Update"
|
|
134
|
+
- **Request body** (`application/json`): `CredentialsDto` (include `gid` of the instance to update).
|
|
135
|
+
- **Responses:**
|
|
136
|
+
- `200 OK` → empty body
|
|
137
|
+
- `400 Bad Request` → composed credentials error payload when update fails.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
### `DELETE api/Credentials/{id}`
|
|
142
|
+
|
|
143
|
+
- **Operation:** `RemoveConfiguration` — delete a credentials instance by id.
|
|
144
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Delete`
|
|
145
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Delete"
|
|
146
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials instance id.
|
|
147
|
+
- **Responses:**
|
|
148
|
+
- `200 OK` → empty body
|
|
149
|
+
- `400 Bad Request` → composed credentials error payload when deletion fails (e.g. still referenced).
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
### CredentialsAuthController — `[AuthorizationEntity(Credentials)]`
|
|
154
|
+
|
|
155
|
+
Certificate/private-key file upload and the OAuth2 authorization flow. Also routed under `api/Credentials` (except the callback, which is absolute).
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### `POST api/Credentials/upload/{credentialsId}`
|
|
160
|
+
|
|
161
|
+
- **Operation:** `Upload` — upload a certificate / private key file for an existing credentials instance (e.g. FTP private-key auth).
|
|
162
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Update`
|
|
163
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Update"
|
|
164
|
+
- **Path params:** `{credentialsId}` — `string (uuid)`, required — credentials instance the file belongs to.
|
|
165
|
+
- **Request body** (`multipart/form-data`):
|
|
166
|
+
- `package` — file (`IFormFile`), required — the certificate/private-key file. Must be non-empty.
|
|
167
|
+
- **Responses:**
|
|
168
|
+
- `200 OK` → `string` — the stored file path (`StorageObject.FilePath`).
|
|
169
|
+
- `400 Bad Request` → error payload `FILE_NOT_FOUND` if the file is empty, or composed credentials errors on upload failure.
|
|
170
|
+
- **Notes:** Stores the file in object storage and associates it with the credentials instance. The returned path is the value other endpoints reference for the certificate.
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
### `POST api/Credentials/upload/test`
|
|
175
|
+
|
|
176
|
+
- **Operation:** `UploadTestConnection` — upload a certificate / private key file for a **test connection** (not yet tied to a saved instance).
|
|
177
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Update`
|
|
178
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Update"
|
|
179
|
+
- **Request body** (`multipart/form-data`):
|
|
180
|
+
- `package` — file (`IFormFile`), required — the certificate/private-key file. Must be non-empty.
|
|
181
|
+
- **Responses:**
|
|
182
|
+
- `200 OK` → upload response (server-defined; typically a temporary file reference to pass into `POST api/Credentials/test`).
|
|
183
|
+
- `400 Bad Request` → error payload `FILE_NOT_FOUND` if empty, or composed credentials errors.
|
|
184
|
+
- **Notes:** Pair with `POST api/Credentials/test` to validate a private-key connection before saving the instance.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
### `GET api/Credentials/authorize/{id}`
|
|
189
|
+
|
|
190
|
+
- **Operation:** `GetAuthorization` — build the OAuth2 authorization URL for a credentials instance.
|
|
191
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Update`
|
|
192
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Update"
|
|
193
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials instance id (an OAuth2-type credential that already has client id/secret/scopes stored).
|
|
194
|
+
- **Responses:**
|
|
195
|
+
- `200 OK` → `AuthorizationConnection` — `{ url, headers }`; redirect the user's browser to `url` to start consent.
|
|
196
|
+
- `400 Bad Request` → error body when the authorization URL could not be built.
|
|
197
|
+
- **Notes:** **OAuth2 step 1.** The client opens the returned `url`; the provider redirects the user back to the configured PROCESIO callback (`GET /api/CredentialsAuth/oauth2/callback`) with `code`/`state`.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
### `POST api/Credentials/accessToken/{id}`
|
|
202
|
+
|
|
203
|
+
- **Operation:** `SaveAccessToken` — exchange an OAuth2 authorization code for tokens and persist them on the credentials instance.
|
|
204
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Update`
|
|
205
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Update"
|
|
206
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials instance id.
|
|
207
|
+
- **Request body** (`application/json`): `AccessTokenRequestDto`
|
|
208
|
+
- **Responses:**
|
|
209
|
+
- `200 OK` → server response of the token-save operation (service-defined).
|
|
210
|
+
- **Notes:** **OAuth2 step 3 (explicit variant).** Use when the front end captures `code`/`state` itself and submits them. The server performs the token exchange with the provider and stores the access/refresh tokens server-side — the client never receives the raw tokens. Compare with the anonymous callback below, which does the same exchange and then redirects.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
### `GET /api/CredentialsAuth/oauth2/callback`
|
|
215
|
+
|
|
216
|
+
- **Operation:** `OAuthCallback` — OAuth2 provider redirect target; exchanges the code for tokens, stores them, and redirects back to the front end.
|
|
217
|
+
- **Auth:** Anonymous (`[AllowAnonymous]`) — **Permission:** None (`AuthorizationActionType.None`)
|
|
218
|
+
- **Hidden from Swagger:** yes (`[ApiExplorerSettings(IgnoreApi = true)]`)
|
|
219
|
+
- **Absolute route:** this method overrides the controller route and is served at `/api/CredentialsAuth/oauth2/callback` (NOT under `api/Credentials`).
|
|
220
|
+
- **Query params** (set by the OAuth2 provider on redirect):
|
|
221
|
+
- `code` — `string`, required — the authorization code.
|
|
222
|
+
- `state` — `string`, required — the opaque state value originally issued in the authorize URL (used to correlate to the credentials instance).
|
|
223
|
+
- `scope` — `string`, optional — granted scopes returned by the provider (accepted but not used by the handler).
|
|
224
|
+
- **Responses:**
|
|
225
|
+
- `302 Redirect` → redirects the browser to a front-end URL returned by the token-save service (success/failure landing page).
|
|
226
|
+
- **Notes:** **OAuth2 step 2→3.** This is the public callback the external provider hits directly; it requires no JWT. It builds an `AccessTokenRequestDto` from `code`+`state`, performs the token exchange, saves tokens, then `Redirect`s. The credentials instance is resolved from `state` (no `id` in the URL).
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
### CredentialsTemplateController — `[AuthorizationEntity(Credentials)]`
|
|
231
|
+
|
|
232
|
+
Read-only access to credentials templates (the connection-type definitions) and their verbs.
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
### `GET api/Credentials/types`
|
|
237
|
+
|
|
238
|
+
- **Operation:** `GetConfigurationTypes` — list all credentials template types available to the caller.
|
|
239
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
240
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
241
|
+
- **Responses:**
|
|
242
|
+
- `200 OK` → array of `CredentialsTemplateDto` (templates with their `properties`)
|
|
243
|
+
- `400 Bad Request` → error payload when null.
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
### `GET api/Credentials/types/{id}`
|
|
248
|
+
|
|
249
|
+
- **Operation:** `GetConfigurationType` — get one credentials template by id. Admin callers may receive an extended version of the template.
|
|
250
|
+
- **Auth:** Bearer JWT — **Permission:** `Credentials:Read`
|
|
251
|
+
- **SwaggerOperation Summary:** "Permission required: Credentials.Read"
|
|
252
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials template id.
|
|
253
|
+
- **Responses:**
|
|
254
|
+
- `200 OK` → `CredentialsTemplateDto` for normal users; `ExtendedCredentialsTemplateDto` (adds `be_id` / `be_value` backend mapping fields) for admins.
|
|
255
|
+
- **Notes:** The response variant depends on the caller's admin status (decided server-side); both shapes are documented in Shared DTOs.
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
### `GET api/Credentials/verbs/{templateId}`
|
|
260
|
+
|
|
261
|
+
- **Operation:** `GetCredentialsVerbs` — list the "verbs" (e.g. HTTP methods / supported operations) associated with a credentials template.
|
|
262
|
+
- **Auth:** Bearer JWT — **Permission:** None (`AuthorizationActionType.None` — authenticated but no specific Credentials permission)
|
|
263
|
+
- **SwaggerOperation Summary:** "Permission required: None"
|
|
264
|
+
- **Path params:** `{templateId}` — `string (uuid)`, required — credentials template id.
|
|
265
|
+
- **Responses:**
|
|
266
|
+
- `200 OK` → array of `CredentialsVerbDto`
|
|
267
|
+
- `400 Bad Request` → error payload when not found.
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
### ProcesioAdmin/CredentialsTemplateController — `[AuthorizationEntity(ProcesioAdmin)]`
|
|
272
|
+
|
|
273
|
+
Template authoring + predefined secure-data seeding. **Entire controller is `[ApiExplorerSettings(IgnoreApi = true)]` (hidden from Swagger)** and requires ProcesioAdmin-level authorization. Still reachable at runtime.
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
### `POST api/Credentials/template`
|
|
278
|
+
|
|
279
|
+
- **Operation:** `StoreCredentialTemplate` — create a new credentials template. Only a ProcesioAdmin can add a template.
|
|
280
|
+
- **Auth:** Bearer JWT — **Permission:** `ProcesioAdmin:Create`
|
|
281
|
+
- **Hidden from Swagger:** yes (controller-level `IgnoreApi = true`)
|
|
282
|
+
- **Request body** (`application/json`): `StoreCredentialsTemplateDto`
|
|
283
|
+
- **Responses:**
|
|
284
|
+
- `200 OK` → empty body
|
|
285
|
+
- `400 Bad Request` → composed context error payload on validation/storage failure.
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
### `POST api/Credentials/template/{id}/predefined`
|
|
290
|
+
|
|
291
|
+
- **Operation:** `StorePredefinedCredentialTemplateData` — store secure data for a predefined credentials template. Only a ProcesioAdmin can add SecureData.
|
|
292
|
+
- **Auth:** Bearer JWT — **Permission:** `ProcesioAdmin:Create`
|
|
293
|
+
- **Hidden from Swagger:** yes (controller-level `IgnoreApi = true`)
|
|
294
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials template id.
|
|
295
|
+
- **Special headers:** `type` `[FromHeader]` — `string`, required — the type/kind of secure data being stored.
|
|
296
|
+
- **Request body** (`application/json`): free-form `object` (`values`) — the secure-data values for this template; shape depends on `type`.
|
|
297
|
+
- **Responses:**
|
|
298
|
+
- `200 OK` → empty body
|
|
299
|
+
- `400 Bad Request` → composed context error payload on failure.
|
|
300
|
+
- **Notes:** Used to seed sensitive defaults (e.g. shared client secrets) onto a predefined/system template. Body is untyped JSON.
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
### ProcessInstanceCredentialsController — `[AuthorizationEntity(ProcessInstance)]`
|
|
305
|
+
|
|
306
|
+
A single restricted read used by running process instances (actions) to fetch the credential they need.
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
### `GET api/Credentials/{id}/restricted`
|
|
311
|
+
|
|
312
|
+
- **Operation:** `GetConfiguration` — get a credentials instance by id, base (restricted) view, for use by a process instance's actions.
|
|
313
|
+
- **Auth:** Bearer JWT — **Permission:** `ProcessInstance:Read`
|
|
314
|
+
- **SwaggerOperation Summary:** "Permission required: ProcessInstance.Read"
|
|
315
|
+
- **Path params:** `{id}` — `string (uuid)`, required — credentials instance id.
|
|
316
|
+
- **Responses:**
|
|
317
|
+
- `200 OK` → `BaseCredentialsDto` (base/restricted instance view — no full property list)
|
|
318
|
+
- `400 Bad Request` → error payload when not found.
|
|
319
|
+
- **Notes:** Permission is checked against the **ProcessInstance** entity, not Credentials — this route is intended for execution-time use where the caller holds process-instance read rights.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
### ProcessTemplateCredentialsController — `[AuthorizationEntity(ProcessDesigner)]`
|
|
324
|
+
|
|
325
|
+
A single restricted listing used by the Process Designer when the user picks a credential for an action.
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
### `GET api/Credentials/list/{typeId}/restricted`
|
|
330
|
+
|
|
331
|
+
- **Operation:** `GetConfigurationsByType` — list credentials instances of a given template with base properties, for the Designer's credential picker.
|
|
332
|
+
- **Auth:** Bearer JWT — **Permission:** `ProcessDesigner:Read`
|
|
333
|
+
- **SwaggerOperation Summary:** "Permission required: ProcessDesigner.Read"
|
|
334
|
+
- **Path params:** `{typeId}` — `string (uuid)`, required — credentials template id.
|
|
335
|
+
- **Query params:**
|
|
336
|
+
- `pageNumber` — `number`, optional — 1-based page index.
|
|
337
|
+
- `pageItemCount` — `number`, optional — page size.
|
|
338
|
+
- **Responses:**
|
|
339
|
+
- `200 OK` → array of `BaseCredentialsDto`
|
|
340
|
+
- `400 Bad Request` → error payload when null.
|
|
341
|
+
- **Notes:** Permission is checked against the **ProcessDesigner** entity. Same underlying service call as `GET api/Credentials/list/{typeId}` but gated for Designer-read users.
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
## Shared DTOs
|
|
346
|
+
|
|
347
|
+
> Wire names are the `[JsonProperty(PropertyName=...)]` values. `Guid`→`string (uuid)`, `DateTime?`→`string (date-time, ISO-8601)`, `bool`→`boolean`, numeric→`number`, enum→`number (enum)`.
|
|
348
|
+
|
|
349
|
+
### `OwnershipAuditDto` (base audit fields, inherited by instance & template DTOs)
|
|
350
|
+
|
|
351
|
+
- `firstName` — `string`, optional — (deprecated) creator first name.
|
|
352
|
+
- `lastName` — `string`, optional — (deprecated) creator last name.
|
|
353
|
+
- `workspaceId` — `string (uuid)`, optional — owning workspace id.
|
|
354
|
+
- `createdBy` — `string`, optional — "FirstName LastName" of creator.
|
|
355
|
+
- `updatedBy` — `string`, optional — "FirstName LastName" of last updater.
|
|
356
|
+
- `createdById` — `string (uuid)`, optional — creator user id.
|
|
357
|
+
- `updatedById` — `string (uuid)`, optional — last-updater user id.
|
|
358
|
+
- `createdOn` — `string (date-time, ISO-8601)`, optional — creation timestamp.
|
|
359
|
+
- `updatedOn` — `string (date-time, ISO-8601)`, optional — last-update timestamp.
|
|
360
|
+
|
|
361
|
+
### `BaseCredentialsDto` (extends `OwnershipAuditDto`) — credentials instance summary
|
|
362
|
+
|
|
363
|
+
- `gid` — `string (uuid)`, optional (nullable) — instance id. On `POST` the server fills it in.
|
|
364
|
+
- `gtid` — `string (uuid)`, required — credentials template id this instance is built from.
|
|
365
|
+
- `gtpid` — `string (uuid)`, required — template's parent id.
|
|
366
|
+
- `name` — `string`, optional — instance name.
|
|
367
|
+
- `tname` — `string`, optional — template name.
|
|
368
|
+
- `type` — `string`, optional — template type.
|
|
369
|
+
- `status` — `boolean`, optional, default `false` — instance status flag.
|
|
370
|
+
- `description` — `string`, optional — free-text description.
|
|
371
|
+
- *(plus all `OwnershipAuditDto` fields)*
|
|
372
|
+
|
|
373
|
+
### `CredentialsDto` (extends `BaseCredentialsDto`) — full credentials instance (request body for create/update/test; response for GET by id)
|
|
374
|
+
|
|
375
|
+
- *(all `BaseCredentialsDto` + `OwnershipAuditDto` fields)*
|
|
376
|
+
- `properties` — array of `BaseCredentialsPropertyDto`, optional — the credential's input values (where secrets live).
|
|
377
|
+
|
|
378
|
+
### `ExtendedCredentialsDto` (extends `BaseCredentialsDto`) — admin/internal full instance view
|
|
379
|
+
|
|
380
|
+
- *(all `BaseCredentialsDto` + `OwnershipAuditDto` fields)*
|
|
381
|
+
- `properties` — array of `CredentialsPropertyDto`, optional — properties with full display metadata + options.
|
|
382
|
+
|
|
383
|
+
> Note: `ExtendedCredentialsDto` is defined in the DTO set but is not the declared return type of any public endpoint above; included for completeness.
|
|
384
|
+
|
|
385
|
+
### `BaseCredentialsPropertyDto` — minimal property (id + value)
|
|
386
|
+
|
|
387
|
+
- `id` — `string (uuid)`, required — property id (matches a template property).
|
|
388
|
+
- `value` — `object` (any JSON), optional — the value entered for this property; for secret properties this is the secret. Free-form (string/number/object).
|
|
389
|
+
|
|
390
|
+
### `BaseCredentialsPropertyDetailsDto` (extends `BaseCredentialsPropertyDto`) — property with display metadata
|
|
391
|
+
|
|
392
|
+
- `id` — `string (uuid)`, required.
|
|
393
|
+
- `value` — `object`, optional.
|
|
394
|
+
- `label` — `string`, optional — display label.
|
|
395
|
+
- `placeholder` — `string`, optional.
|
|
396
|
+
- `type` — `string`, optional — UI field type.
|
|
397
|
+
- `tooltip` — `string`, optional.
|
|
398
|
+
- `message` — `string`, optional.
|
|
399
|
+
- `isTest` — `boolean`, optional — whether the field participates in test-connection.
|
|
400
|
+
- `order` — `number`, optional — display order.
|
|
401
|
+
- `validations` — `object (ValidationDto)`, optional.
|
|
402
|
+
- `layout` — `object (LayoutDto)`, optional.
|
|
403
|
+
- `condition` — `object (CredentialsPropertyConditionDto)`, optional — show/hide dependency rule.
|
|
404
|
+
- `disabled` — `boolean`, optional.
|
|
405
|
+
- `pill` — `string`, optional.
|
|
406
|
+
- `configurations` — `object` (any JSON), optional — extra FE configuration.
|
|
407
|
+
|
|
408
|
+
### `CredentialsPropertyDto` (extends `BaseCredentialsPropertyDetailsDto`)
|
|
409
|
+
|
|
410
|
+
- *(all `BaseCredentialsPropertyDetailsDto` fields)*
|
|
411
|
+
- `options` — array of `CredentialsPropertyOptionDto`, optional — selectable options for dropdown-type properties.
|
|
412
|
+
|
|
413
|
+
### `ExtendedCredentialsPropertyDto` (extends `BaseCredentialsPropertyDetailsDto`) — admin/template-authoring property
|
|
414
|
+
|
|
415
|
+
- *(all `BaseCredentialsPropertyDetailsDto` fields)*
|
|
416
|
+
- `be_id` — `string`, optional — backend identifier mapping.
|
|
417
|
+
- `options` — array of `ExtendedCredentialsPropertyOptionDto`, optional.
|
|
418
|
+
|
|
419
|
+
### `CredentialsPropertyOptionDto`
|
|
420
|
+
|
|
421
|
+
- `name` — `string`, optional — option display name.
|
|
422
|
+
- `value` — `string (uuid)`, required — option value.
|
|
423
|
+
|
|
424
|
+
### `ExtendedCredentialsPropertyOptionDto` (extends `CredentialsPropertyOptionDto`)
|
|
425
|
+
|
|
426
|
+
- `name` — `string`, optional.
|
|
427
|
+
- `value` — `string (uuid)`, required.
|
|
428
|
+
- `be_value` — `string`, optional — backend value mapping.
|
|
429
|
+
|
|
430
|
+
### `ValidationDto`
|
|
431
|
+
|
|
432
|
+
- `isRequired` — `boolean`, optional — whether the property is required.
|
|
433
|
+
- `expects` — `number (enum ValidationType)`, optional — expected value format. Values: `NONE = 0`, `URI = 1`, `HOSTNAME = 2`.
|
|
434
|
+
|
|
435
|
+
### `LayoutDto`
|
|
436
|
+
|
|
437
|
+
- `columns` — `string`, optional — FE layout column spec.
|
|
438
|
+
|
|
439
|
+
### `CredentialsPropertyConditionDto`
|
|
440
|
+
|
|
441
|
+
- `dependencyId` — `string (uuid)`, required — id of the property this one depends on.
|
|
442
|
+
- `operator` — `string`, optional — comparison operator.
|
|
443
|
+
- `value` — `string (uuid)`, required — value to compare against.
|
|
444
|
+
|
|
445
|
+
### `BaseCredentialsTemplateDto` (extends `OwnershipAuditDto`) — credentials template summary
|
|
446
|
+
|
|
447
|
+
- `gid` — `string (uuid)`, required — template id.
|
|
448
|
+
- `pid` — `string (uuid)`, required — template parent id.
|
|
449
|
+
- `name` — `string`, optional — template name.
|
|
450
|
+
- `type` — `string`, optional — template type.
|
|
451
|
+
- `icon` — `string`, optional — template icon reference.
|
|
452
|
+
- *(plus all `OwnershipAuditDto` fields)*
|
|
453
|
+
|
|
454
|
+
### `CredentialsTemplateDto` (extends `BaseCredentialsTemplateDto`) — template with properties (standard read)
|
|
455
|
+
|
|
456
|
+
- *(all `BaseCredentialsTemplateDto` + `OwnershipAuditDto` fields)*
|
|
457
|
+
- `properties` — array of `CredentialsPropertyDto`, optional — the template's input field definitions.
|
|
458
|
+
|
|
459
|
+
### `ExtendedCredentialsTemplateDto` (extends `BaseCredentialsTemplateDto`) — template with backend-mapped properties (admin read)
|
|
460
|
+
|
|
461
|
+
- *(all `BaseCredentialsTemplateDto` + `OwnershipAuditDto` fields)*
|
|
462
|
+
- `properties` — array of `ExtendedCredentialsPropertyDto`, optional — properties including `be_id`/`be_value` backend mappings.
|
|
463
|
+
|
|
464
|
+
### `StoreCredentialsTemplateDto` — create-template request (ProcesioAdmin)
|
|
465
|
+
|
|
466
|
+
- `gid` — `string (uuid)`, optional (nullable) — template id (server-assigned if omitted).
|
|
467
|
+
- `pid` — `string (uuid)`, optional (nullable) — parent template id.
|
|
468
|
+
- `name` — `string`, optional — template name.
|
|
469
|
+
- `type` — `string`, optional — template type.
|
|
470
|
+
- `icon` — `string`, optional — icon reference.
|
|
471
|
+
- `properties` — array of `ExtendedCredentialsPropertyDto`, optional — the property definitions for the new template.
|
|
472
|
+
|
|
473
|
+
### `CredentialsVerbDto`
|
|
474
|
+
|
|
475
|
+
- `gid` — `string (uuid)`, required — verb/method id.
|
|
476
|
+
- `gtid` — `string (uuid)`, required — credentials template id the verb belongs to.
|
|
477
|
+
- `value` — `string`, optional — the verb value (e.g. method name).
|
|
478
|
+
|
|
479
|
+
### `AccessTokenRequestDto` (OAuth2)
|
|
480
|
+
|
|
481
|
+
- `code` — `string`, optional — OAuth2 authorization code from the provider redirect.
|
|
482
|
+
- `state` — `string`, optional — opaque state value correlating to the credentials instance.
|
|
483
|
+
|
|
484
|
+
### `AuthorizationConnection` (OAuth2 authorize-URL response)
|
|
485
|
+
|
|
486
|
+
- `url` — `string`, optional — the OAuth2 authorization URL the client should redirect the user to.
|
|
487
|
+
- `headers` — `object` (any JSON), optional — extra header parameters for the authorization request.
|
|
488
|
+
|
|
489
|
+
### `AccessTokenResponse` (OAuth2 token shape — used server-side; not a direct public response body)
|
|
490
|
+
|
|
491
|
+
- `access_token` — `string`, optional.
|
|
492
|
+
- `token_type` — `string`, optional.
|
|
493
|
+
- `expires_in` — `number`, optional (nullable) — access-token lifetime in seconds.
|
|
494
|
+
- `scope` — `string`, optional — granted scopes.
|
|
495
|
+
- `refresh_token` — `string`, optional.
|
|
496
|
+
- `refresh_token_expires_in` — `number`, optional (nullable) — refresh-token lifetime in seconds.
|
|
497
|
+
|
|
498
|
+
### `AccessTokenErrorResponse` (OAuth2 error shape — server-side)
|
|
499
|
+
|
|
500
|
+
- `error` — `string`, optional — error code.
|
|
501
|
+
- `error_description` — `string`, optional — human-readable description.
|
|
502
|
+
- `error_uri` — `string`, optional — link to provider docs.
|
|
503
|
+
|
|
504
|
+
### `CredentialsTableDto` (defined in domain; not a direct public response body)
|
|
505
|
+
|
|
506
|
+
- `Header` — array of `TableHeaderDto`, optional. (No `[JsonProperty]` — Newtonsoft default name `Header`.)
|
|
507
|
+
- `Rows` — array of `object`, optional. (default name `Rows`.)
|
|
508
|
+
|
|
509
|
+
### `TableHeaderDto` (no `[JsonProperty]` attributes → default property names)
|
|
510
|
+
|
|
511
|
+
- `Order` — `number`, required.
|
|
512
|
+
- `Key` — `string`, optional.
|
|
513
|
+
- `Type` — `string`, optional.
|
|
514
|
+
- `Label` — `string`, optional.
|
|
515
|
+
- `Placeholder` — `string`, optional.
|
|
516
|
+
- `Tooltip` — `string`, optional.
|
|
517
|
+
- `Width` — `number`, required.
|
|
518
|
+
- `Options` — array of `ExtendedCredentialsPropertyOptionDto`, optional.
|
|
519
|
+
|
|
520
|
+
### `Pagination` (query-param binding for list endpoints — not a body DTO)
|
|
521
|
+
|
|
522
|
+
Built from `pageNumber` + `pageItemCount` query params.
|
|
523
|
+
- `PageNumber` — only applied if `> 1`; otherwise stays at default `1`. (So `pageNumber=0` or `1` → page 1.)
|
|
524
|
+
- `PageItemCount` — only applied if `> 0`; otherwise stays at default `0` (interpreted as "all items" downstream).
|
|
525
|
+
- `StartIndex` (derived) = `PageItemCount * (PageNumber - 1)`.
|
|
526
|
+
|
|
527
|
+
### `ErrorPayload` (element of `400 Bad Request` error responses)
|
|
528
|
+
|
|
529
|
+
- `Code` — `number (enum ErrorCodes)` — error code (enum defined in `Domain/Enums/ErrorCodes`; e.g. `FILE_NOT_FOUND`).
|
|
530
|
+
- `Target` — `string`, optional (nullable) — the property/field the error refers to.
|
|
531
|
+
|
|
532
|
+
> `400` responses from create/update/delete/store endpoints are produced via `CustomErrorHelper.ComposeResponse(...)`, which wraps a list of `ErrorPayload` into a composed error object (codes resolved to messages). Exact composed envelope shape is shared across the service — see `../02-conventions.md` for the standard error response format.
|